Which of the following is a characteristic of a WebSocket? MCQ with Answer and Explanation

Which of the following is a characteristic of a WebSocket?
A. It provides full-duplex communication over a single TCP connection
B. It is a request-response protocol
C. It is based on HTTP/2
D. It uses a new port for each message
Answer: Option A
Solution (By JKSSB Mock Tests)
WebSocket enables two-way interactive communication between a client and server over a single persistent connection, unlike HTTP which is half-duplex.

Discuss this Question (0)

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

Practice More Internet and Web Technologies Questions

Question #1
Which specific email header field identifies the chain of server hosts that routed a message from origin to its final endpoint mailbox destination?
A. Content-Type statement
B. Attachment index tag
C. Subject header
D. Received header fields

Correct Answer: Option D


Explanation:
The 'Received' lines in an email header record each mail server node that processed and passed the message along, aiding in source verification.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which of the following parameters represents an accurate description of the internet term 'E-commerce'?
A. The production of physical microchip units inside factories
B. The deployment of internal email protocols inside closed local networks
C. The buying, selling, and commercial transacting of goods or services electronically over internet networks
D. The system used to clear browser cache stores via scripting tools

Correct Answer: Option C


Explanation:
Electronic commerce (E-commerce) encompasses all business activities, trading, and financial transactions conducted via digital networks and web storefronts.

This question belongs to: Computer Internet and Web Technologies
Question #3
What is the primary function of a web browser's 'Cookie' file storage management system?
A. To compress structural HTML files to accelerate local render logic
B. To hold persistent or temporary text string data blocks used to remember session preferences and tracking profiles
C. To host background email client delivery routines
D. To protect against inbound server crash sequences

Correct Answer: Option B


Explanation:
Cookies allow web servers to save short strings of state or identifying data within a user's browser, enabling features like persistent shopping carts or login sessions.

This question belongs to: Computer Internet and Web Technologies