10 objective questions on web development
10 objective questions on web development
1. Which language is primarily used for structuring the content of a web page?
○ a) JavaScript
○ b) CSS
○ c) HTML
○ d) Python
2. CSS is used for:
○ a) Adding interactivity to a web page.
○ b) Defining the style and layout of a web page.
○ c) Handling server-side logic.
○ d) Storing data in a database.
3. JavaScript is primarily used for:
○ a) Styling web pages.
○ b) Adding interactive elements to web pages.
○ c) Defining the structure of web pages.
○ d) Managing databases.
4. What is the purpose of the DOM (Document Object Model)?
○ a) To style web pages.
○ b) To provide a programming interface for web documents.
○ c) To store data on a server.
○ d) To define network protocols.
5. Which of the following is a client-side scripting language?
○ a) PHP
○ b) Python
○ c) JavaScript
○ d) SQL
6. What does "responsive design" aim to achieve?
○ a) Faster server response times.
○ b) Web pages that adapt to different screen sizes.
○ c) Increased database security.
○ d) Improved search engine rankings.
7. Which protocol is used for transferring web pages over the internet?
○ a) FTP
○ b) SMTP
○ c) HTTP/HTTPS
○ d) TCP/IP
8. What is the purpose of a web server?
○ a) To display web pages on a client's computer.
○ b) To store and deliver web pages to clients.
○ c) To design web page layouts.
○ d) To write JavaScript code.
9. What is a "web API"?
○ a) A type of web browser.
○ b) A set of rules that allow applications to communicate with each other over the
web.
○ c) A database management system.
○ d) A network security protocol.
10.What is the function of HTML "tags"?
○ a) To style the webpage.
○ b) To define elements within a webpage.
○ c) To add javascript functions.
○ d) To connect to databases.