Web Technologies and Development MCQs (Part-4)

What is the primary purpose of JavaScript in web development?

A Manage data
B Add interactivity
C Style web pages
D Structure content

Which CSS property is used to change the text color?

A color
B text-color
C background-color
D font-color

What is the role of a web framework like React?

A Add server-side logic
B Style web pages
C Manage database
D Build user interfaces

Which of these technologies is used to create a responsive web design?

A SQL
B CSS
C HTML
D JavaScript

Which JavaScript feature is used to handle asynchronous operations?

A Objects
B Arrays
C Promises
D Functions

Which of the following is a component of a web application’s backend?

A Node.js
B Vue.js
C Angular
D React

What is the primary function of WebSockets in web development?

A Data storage
B Real-time communication
C Client-side scripting
D Styling web pages

Which of the following is used for building modern single-page applications (SPA)?

A React
B MySQL
C PHP
D Flask

Which method is used in JavaScript to handle HTTP requests?

A select()
B listen()
C query()
D fetch()

What does PWA stand for in web development?

A Public Web Application
B Progressive Web Application
C Private Web App
D Primary Web Application

What is the role of JavaScript frameworks like Angular?

A Manage user input
B Create databases
C Build dynamic UIs
D Handle server requests

Which web technology is used for content management in websites?

A WordPress
B JavaScript
C Node.js
D React

Which of the following is an advantage of using server-side rendering (SSR)?

A Faster server requests
B Improved SEO
C Better user interactivity
D Reduced page load time

Which JavaScript feature allows developers to store data in the browser?

A Arrays
B Objects
C LocalStorage
D Functions

What does CSS Flexbox primarily help with?

A Page layout
B HTTP requests
C Data storage
D Event handling