Chapter 1 – Introduction to Web Development
Section A: Multiple Choice Questions (MCQ)
1. Which of the following best describes web development?
A. Creating graphics for websites
B. Writing code to build websites and web applications
C. Installing software on a computer
D. Designing posters and banners
2. What is the primary function of a web browser?
A. To edit HTML files
B. To compile Java programs
C. To request and display web content from a server
D. To store database files
3. Which of the following is not a client-side technology?
A. HTML
B. CSS
C. JavaScript
D. PHP
4. What is the purpose of a domain name system (DNS)?
A. To store website files
B. To secure a website
C. To translate domain names into IP addresses
D. To manage server storage
5. Which of the following accurately represents the client-server model?
A. Server requests and client responds
B. Client stores data and server displays it
C. Client requests services and server provides them
D. Both client and server send data at the same time
Section B: Short Answer Questions
6. Explain the difference between front-end and back-end development.
Provide one example of a technology used in each.
Front-end development focuses on the parts of a website the user sees and interacts with
(UI/UX). Example: HTML.
Back-end development handles server-side logic, database operations, and application
functionality. Example: PHP.
7. Describe the role of HTTP in web development.
HTTP (Hypertext Transfer Protocol) is the communication protocol that defines how
data is requested and transmitted between a web browser (client) and a web server.
8. List and briefly describe any three types of websites based on their purpose
or content.
i) E-commerce websites – Sell products or services online (e.g., Amazon).
ii) Portfolio websites – Showcase work and skills (e.g., Canva).
iii) News websites – Provide current events and articles (e.g., BBC News).
9. Why is it important to understand the structure of a URL in web
development?
To understand how URL helps in navigation and troubleshooting links. It ensures
proper linking to resources and helps organize site structure.
10. What is the function of a web server in the context of hosting a website?
A web server stores website files and delivers them to users’ browsers upon request,
processing server-side scripts when needed.