What is the primary purpose of HTML in web development?
A Adding interactivity
B Data storage
C Layout structure
D Styling elements
HTML (HyperText Markup Language) is used to define the structure and layout of web pages. It is responsible for organizing content like text, images, and links, forming the skeleton of web content.
Which of the following languages is used for creating the behavior of web pages?
A HTML
B JavaScript
C SQL
D CSS
JavaScript is a programming language used to add dynamic behavior to web pages. It enables actions like form validation, animation, interactivity, and live content updates, running in the browser without needing to reload the page.
Which CSS property is used to change the background color of an element?
A background-color
B element-color
C background-color
D font-color
The background-color property in CSS is used to set the background color of an element. It helps enhance the visual design of a webpage by adding color behind content, such as text and images.
Which web technology allows two-way communication between the client and server without reloading the page?
A HTTP
B REST API
C GraphQL
D WebSockets
WebSockets provide full‐duplex communication channels between the client and server over a single, long‐lived connection. This enables real‐time data exchange, such as for live chat applications or notifications.
What does the term “Responsive Web Design” refer to?
A Device adaptability
B Quick website loading
C Multiple page designs
D Content optimization
Responsive Web Design ensures that a website’s layout and content automatically adjust to fit various screen sizes and resolutions. This provides a seamless browsing experience across devices like desktops, tablets, and smartphones.
Which of the following is a backend web framework?
A Angular
B Django
C Vue.js
D React
Django is a high‐level Python‐based web framework used for backend development. It simplifies complex web development tasks, including database management, user authentication, and URL routing.
What does “SEO” focus on in web development?
A Search engine ranking
B Database management
C Web security
D User experience
SEO (Search Engine Optimization) involves optimizing a website’s content, structure, and performance to improve its visibility on search engines, increasing the likelihood of higher search engine rankings and traffic.
Which of the following technologies is often used for server-side scripting?
A JavaScript
B Node.js
C CSS
D HTML
Node.js is a JavaScript runtime that allows developers to use JavaScript for server-side scripting. It helps build scalable and efficient server applications, such as APIs and real-time apps.
What is the main purpose of Progressive Web Apps (PWAs)?
A Increase speed
B Enhance backend
C Allow offline usage
D Improve security
PWAs are web applications that offer an app‐like experience, even when the device is offline. They utilize service workers and caching to continue functioning without internet access, providing better user experiences.
Which of the following is an example of a database used in web development?
A MySQL
B React
C Flask
D Angular
MySQL is a relational database management system (RDBMS) commonly used in web development for storing structured data. It is often integrated with server‐side scripting languages like PHP to handle dynamic content.
What is the function of OAuth in web applications?
A Style web pages
B Provide user authentication
C Encrypt data
D Load web content
OAuth is a protocol used for authorization in web applications. It allows users to grant third‐party applications limited access to their resources, such as login credentials, without sharing sensitive information.
Which of the following is NOT a feature of Single Page Applications (SPAs)?
A Dynamic content loading
B Fast page loading
C Smooth user experience
D Requires reloading to update data
SPAs load content dynamically within a single page, enabling smooth transitions and eliminating the need for page reloads. Data is fetched in the background, creating a fast and seamless experience for users.
Which of these frameworks is used for building UI components in frontend development?
A PHP
B React
C React
D Django
React is a popular JavaScript library used for building user interfaces, particularly single‐page applications. It allows developers to create reusable UI components that update efficiently based on user interaction.
What is the role of JWT in web security?
A Data encryption
B Token-based authentication
C URL routing
D Data storage
JWT (JSON Web Token) is used for secure token‐based authentication in web applications. It allows users to authenticate and authorize access to resources without needing to send credentials repeatedly.
Which technology allows web applications to interact with hardware devices over the internet?
A IoT
B WebSockets
C PHP
D HTTP
IoT (Internet of Things) refers to a network of devices that communicate and share data over the internet. Web applications can leverage IoT technologies to interact with physical devices like sensors, cameras, and smart devices.