What is the main purpose of HTML in web development?
A Manage data
B Structure content
C Design web pages
D Add interactivity
HTML (HyperText Markup Language) is used to structure the content of web pages. It defines elements like headings, paragraphs, images, and links, providing a foundation for the layout and organization of the web page.
Which of the following languages is used to style web pages?
A CSS
B PHP
C JavaScript
D HTML
CSS (Cascading Style Sheets) is used to style HTML elements, defining the look and feel of a web page. It controls colors, fonts, spacing, and layout, making the page visually appealing and responsive.
Which JavaScript feature allows interaction with HTML elements dynamically?
A Arrays
B Functions
C DOM
D Loops
The DOM (Document Object Model) represents the structure of an HTML document as a tree. JavaScript interacts with the DOM to dynamically modify the content, structure, and styling of web pages in real-time.
Which of the following frameworks is used to build mobile-first web applications?
A React
B Bootstrap
C Angular
D Bootstrap
Bootstrap is a front-end framework designed to create responsive and mobile-first web applications. It provides pre-built components like navigation bars and buttons, allowing developers to quickly build adaptable layouts for different screen sizes.
Which of these is a backend technology?
A Node.js
B React
C CSS
D HTML
Node.js is a server‐side runtime built on Chrome’s V8 JavaScript engine. It allows developers to use JavaScript for backend development, enabling scalable and fast server‐side applications, such as APIs and real‐time applications.
Which of the following is a protocol used for transferring data between a client and a server?
A Python
B CSS
C SQL
D HTTP
HTTP (Hypertext Transfer Protocol) is the protocol used to transfer data between a client (web browser) and a server. It defines how requests and responses are formatted and transmitted over the web.
Which web technology enables websites to update without reloading the entire page?
A CSS
B AJAX
C PHP
D HTML
AJAX (Asynchronous JavaScript and XML) enables web pages to fetch data from the server without refreshing the page. This creates smoother user experiences by updating only the necessary parts of the page.
Which of the following is used to manage user sessions in web applications?
A Cookies
B HTML
C JavaScript
D Cookies
Cookies are small pieces of data stored in the user’s browser. They are used to manage user sessions, storing information like login status, preferences, and tracking details, ensuring a personalized experience.
Which of the following allows a web page to load faster by reducing its size?
A Compression
B Caching
C Minification
D Authentication
Minification refers to the process of removing unnecessary characters from code (like spaces and comments) to reduce its size. This makes the code load faster, improving website performance, especially for JavaScript and CSS files.
Which of these technologies is used to create a dynamic, single-page application?
A WordPress
B Angular
C Flask
D Angular
Angular is a front‐end framework used to build dynamic, single‐page applications (SPAs). It allows for seamless transitions between different views, improving user experience by only updating parts of the page instead of reloading it entirely.
Which web technology allows a server to push real-time updates to a client?
A WebSockets
B GraphQL
C WebSockets
D HTTP
WebSockets provide full‐duplex communication, enabling the server to send real-time updates to clients. It’s commonly used in applications like live chat, stock tickers, and online gaming, ensuring immediate data delivery without constant polling.
Which of the following describes server-side rendering (SSR)?
A Rendering CSS dynamically
B Rendering pages on the server
C Rendering pages in the browser
D Rendering static content
Server‐side rendering (SSR) involves rendering web pages on the server and sending the fully rendered page to the client. This improves page load time and SEO, as the content is already visible to search engines when they crawl the page.
Which of the following is used to integrate databases with web applications?
A SQL
B Python
C HTML
D CSS
SQL (Structured Query Language) is used to interact with relational databases. It allows web applications to perform tasks such as inserting, updating, retrieving, and deleting data, providing dynamic content based on user interaction.
Which of these tools is used to host web applications on the cloud?
A React
B AWS
C Python
D Bootstrap
AWS (Amazon Web Services) is a cloud platform that offers various services, including computing power, storage, and networking, to host and manage web applications. It allows developers to scale applications and ensure high availability.
Which of the following techniques improves web performance by reducing the load on the server?
A Caching
B Authentication
C Minification
D Compression
Caching stores copies of resources, such as images, scripts, and pages, so that repeated requests don’t require fetching data from the server. This reduces server load, speeds up page loading, and improves overall performance.