What is the purpose of the 'HTTP/2' protocol? MCQ with Answer and Explanation

What is the purpose of the 'HTTP/2' protocol?
A. To improve performance over HTTP/1.1
B. To add encryption
C. To simplify HTTP
D. To replace HTTPS
Answer: Option A
Solution (By JKSSB Mock Tests)
HTTP/2 is a major revision that improves performance with multiplexing, header compression, etc., while maintaining compatibility.

Discuss this Question (0)

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

Practice More Internet and Web Technologies Questions

Question #1
What is the purpose of the 'data-' prefix in HTML5 custom attributes?
A. To define styles
B. To store private data for use in scripts
C. To specify accessibility information
D. To link to external resources

Correct Answer: Option B


Explanation:
Custom data attributes (data-*) allow developers to store extra information on HTML elements that can be used by JavaScript.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which of the following is a protocol for real-time communication between web browsers and servers?
A. HTTP/1.1
B. FTP
C. HTTP/2
D. WebSocket

Correct Answer: Option D


Explanation:
WebSocket provides full-duplex communication over a single connection, ideal for real-time applications like chat and gaming.

This question belongs to: Computer Internet and Web Technologies
Question #3
What does the 's' stand for in the 'https://' protocol identifier seen in browser address bars?
A. System
B. Socket
C. Secure
D. Server

Correct Answer: Option C


Explanation:
The 's' in HTTPS stands for 'Secure', indicating that traditional HTTP is being tunneled through an encrypted TLS/SSL connection.

This question belongs to: Computer Internet and Web Technologies