Practice Questions – Module 1
1. What is Web Development? (Frontend, Backend, Full Stack)
-
Explain in your own words:
-
a) What is the difference between frontend and backend?
-
b) Give two real-world examples of frontend tasks and backend tasks.
-
c) Why do companies prefer full stack developers?
-
2. Client-Server Model & How Websites Work
-
Draw or describe the flow of a request when you type
www.google.comin a browser. -
Explain what happens if the server is down.
-
What role does the internet connection play in the client-server model?
3. Tools Setup: Browser, VS Code, Live Server Extension
-
Install VS Code and Live Server Extension. Create a new file
index.html. -
Write a simple HTML code (
<h1>Hello World</h1>) and check if it shows in the browser using Live Server. -
Why do developers prefer code editors like VS Code instead of Notepad?
4. Basics of HTML, CSS, JS & Their Role
-
Write a short note: Why HTML is called the skeleton of a webpage, CSS the style, and JavaScript the brain?
-
Create a simple page with:
-
HTML → Add a heading and paragraph
-
CSS → Change background color to light blue
-
JavaScript → Show an alert message “Welcome to Web Development!”
-
-
What will happen if you write HTML code without CSS and JS?
