0% found this document useful (0 votes)
33 views

20 objective questions on web development

The document consists of 20 objective questions related to web development, covering topics such as HTML, CSS, JavaScript, and web server functionality. Each question includes multiple-choice answers that test knowledge on web page structure, styling, interactivity, and various web technologies. The questions aim to assess understanding of fundamental concepts in web development.

Uploaded by

nimigrin
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views

20 objective questions on web development

The document consists of 20 objective questions related to web development, covering topics such as HTML, CSS, JavaScript, and web server functionality. Each question includes multiple-choice answers that test knowledge on web page structure, styling, interactivity, and various web technologies. The questions aim to assess understanding of fundamental concepts in web development.

Uploaded by

nimigrin
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Great, let's expand that to 20 objective questions on web development, covering a wider range

of topics:
1.​ Which language is used for the structure of a web page?
○​ a) CSS
○​ b) JavaScript
○​ c) HTML
○​ d) Python
2.​ What does CSS primarily control?
○​ a) Web page interactivity
○​ b) Web page styling and layout
○​ c) Server-side logic
○​ d) Database connections
3.​ JavaScript is used for:
○​ a) Structuring web content
○​ b) Adding dynamic behavior to web pages
○​ c) Managing server databases
○​ d) Defining server configurations.
4.​ The DOM represents:
○​ a) The visual design of a webpage.
○​ b) The structure of a web page as a tree of objects.
○​ c) The server's operating system.
○​ d) A database query language.
5.​ Which is a client-side scripting language?
○​ a) PHP
○​ b) Python
○​ c) JavaScript
○​ d) Ruby
6.​ Responsive design ensures:
○​ a) Faster loading times.
○​ b) Web pages adapt to various screen sizes.
○​ c) Improved server security.
○​ d) Enhanced database performance.
7.​ HTTP/HTTPS is used for:
○​ a) File transfer.
○​ b) Email transmission.
○​ c) Web page transfer.
○​ d) Database queries.
8.​ A web server's main function is to:
○​ a) Design web page layouts.
○​ b) Store and deliver web content.
○​ c) Write JavaScript code.
○​ d) Manage client computers.
9.​ A web API allows:
○​ a) Direct database access.
○​ b) Applications to communicate over the web.
○​ c) Web page styling.
○​ d) Local file storage.
10.​HTML tags define:
○​ a) Web page styles.
○​ b) Web page elements.
○​ c) Server configurations.
○​ d) Database relationships.
11.​What is the purpose of the <head> tag in HTML?
○​ a) To display content on the page.
○​ b) To contain metadata about the document.
○​ c) To define the main content area.
○​ d) To add interactive elements.
12.​What is a CSS selector?
○​ a) A JavaScript function.
○​ b) A pattern used to select HTML elements for styling.
○​ c) A database query.
○​ d) A server configuration.
13.​What is the purpose of the <div> tag in HTML?
○​ a) To add a heading.
○​ b) To create a division or section in an HTML document.
○​ c) To insert an image.
○​ d) To create a link.
14.​What is the purpose of a web browser's developer tools?
○​ a) To create web servers.
○​ b) To inspect and debug web pages.
○​ c) To manage databases.
○​ d) To write server-side code.
15.​What is the difference between a GET and POST request?
○​ a) GET is for retrieving data, POST is for submitting data.
○​ b) POST is for retrieving data, GET is for submitting data.
○​ c) GET is for styling pages, POST is for scripting.
○​ d) They are the same.
16.​What is a cookie in web development?
○​ a) A programming language.
○​ b) A small piece of data stored on the user's computer by the web browser.
○​ c) A server-side script.
○​ d) A database record.
17.​What is the purpose of a framework in web development?
○​ a) To replace all programming languages.
○​ b) To provide a structure and tools to simplify web development.
○​ c) To create hardware components.
○​ d) To manage operating systems.
18.​What is the purpose of version control systems like Git?
○​ a) To design web page layouts.
○​ b) To track changes in code and collaborate with others.
○​ c) To manage databases.
○​ d) To configure web servers.
19.​What is the purpose of a media query in CSS?
○​ a) To add JavaScript functionality.
○​ b) To apply different styles based on screen size or other media characteristics.
○​ c) To manage database queries.
○​ d) To configure network protocols.
20.​What is the purpose of a CDN (Content Delivery Network)?
○​ a) To design web page layouts.
○​ b) To speed up content delivery by caching content on multiple servers.
○​ c) To manage databases.
○​ d) To write server-side code.

You might also like