What is the purpose of a URL encoding? MCQ with Answer and Explanation

What is the purpose of a URL encoding?
A. To compress the URL
B. To convert unsafe characters into a safe format
C. To hide the URL from search engines
D. To make the URL shorter
Answer: Option B
Solution (By JKSSB Mock Tests)
URL encoding (percent-encoding) replaces unsafe ASCII characters with a '%' followed by two hexadecimal digits to ensure the URL is valid and transmitted correctly.

Discuss this Question (0)

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

Practice More Internet and Web Technologies Questions

Question #1
Which protocol is used to send email from a client to a mail server?
A. POP3
B. HTTP
C. SMTP
D. IMAP

Correct Answer: Option C


Explanation:
SMTP (Simple Mail Transfer Protocol) is used for sending emails from a client to a mail server and between mail servers. POP3 and IMAP are used for retrieving emails.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which of the following is a popular JavaScript library for building user interfaces?
A. Angular
B. Vue.js
C. React
D. All of the above

Correct Answer: Option D


Explanation:
React, Angular, and Vue.js are all popular JavaScript frameworks/libraries for building front-end user interfaces.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which of the following is a top-level domain used for network infrastructure?
A. .edu
B. .gov
C. .net
D. .org

Correct Answer: Option C


Explanation:
.net is a generic TLD originally intended for network-related entities but now used broadly. .org is for organizations, .gov for government, .edu for education.

This question belongs to: Computer Internet and Web Technologies