Which of the following is an example of a web protocol for pushing notifications from server to client? MCQ with Answer and Explanation

Which of the following is an example of a web protocol for pushing notifications from server to client?
A. WebSocket
B. Web Push API
C. All of the above
D. Server-Sent Events
Answer: Option C
Solution (By JKSSB Mock Tests)
Web Push API, SSE, and WebSocket all enable server-to-client notifications, though they differ in implementation and use cases.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Internet and Web Technologies Questions

Question #1
What does the acronym AJAX stand for?
A. Asynchronous Java and XML
B. Asynchronous JavaScript and XML
C. Advanced JavaScript and XHTML
D. Automated JavaScript and XML

Correct Answer: Option B


Explanation:
AJAX stands for Asynchronous JavaScript and XML, a technique for creating asynchronous web applications that exchange data with the server without reloading the page.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which of the following is a markup language used to define the structure of data, often used in web syndication (e.g., RSS)?
A. HTML
B. YAML
C. JSON
D. XML

Correct Answer: Option D


Explanation:
XML is a markup language commonly used for RSS feeds and other data formats, though JSON is also used.

This question belongs to: Computer Internet and Web Technologies
Question #3
What mechanism does a web application employ to securely preserve user identity state variables on the server side, linking them via a unique ID stored in a client cookie?
A. DNS Reverse Routing
B. FTP File Buffer
C. Local Storage Matrix
D. Server Session Management

Correct Answer: Option D


Explanation:
Session management saves detailed user states securely on the server and provides the client a temporary session identifier token to reference on subsequent visits.

This question belongs to: Computer Internet and Web Technologies