Primary 3 Exam  >  Primary 3 Tests  >  Test: HTML URL Encode - Primary 3 MCQ

Test: HTML URL Encode - Primary 3 MCQ


Test Description

15 Questions MCQ Test - Test: HTML URL Encode

Test: HTML URL Encode for Primary 3 2024 is part of Primary 3 preparation. The Test: HTML URL Encode questions and answers have been prepared according to the Primary 3 exam syllabus.The Test: HTML URL Encode MCQs are made for Primary 3 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: HTML URL Encode below.
Solutions of Test: HTML URL Encode questions in English are available as part of our course for Primary 3 & Test: HTML URL Encode solutions in Hindi for Primary 3 course. Download more important topics, notes, lectures and mock test series for Primary 3 Exam by signing up for free. Attempt Test: HTML URL Encode | 15 questions in 15 minutes | Mock test for Primary 3 preparation | Free important questions MCQ to study for Primary 3 Exam | Download free PDF with solutions
Test: HTML URL Encode - Question 1

What is the correct syntax of web address?

Detailed Solution for Test: HTML URL Encode - Question 1

The correct syntax for a web address is scheme://prefix.domain:port/path/filename, where scheme is for https or http, prefix is for domain like www, domain denotes domain name, port defines port number, path defines path at server, filename is for name of the document.

Test: HTML URL Encode - Question 2

ASCII is _____________

Detailed Solution for Test: HTML URL Encode - Question 2

ASCII consists 7-bit character set which has 128 characters. There are numbers 0-9, upper and lower case letters from A-Z, and also include special characters. Including modern computers, internet these characters are used in HTML also.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: HTML URL Encode - Question 3

Which function is used in JavaScript for URL encoding?

Detailed Solution for Test: HTML URL Encode - Question 3

There are some built in functions in JavaScript, ASP and PHP for URL encoding. JavaScript use encodeURI() function. ASP uses Server.URLEncode() function, rawurlencode() function is used by PHP. Space is encoded as %20 by JavaScript function.

Test: HTML URL Encode - Question 4

Which of the following is not a reserved character?

Detailed Solution for Test: HTML URL Encode - Question 4

Reserved characters are ‘@’, ‘=’, ‘?’, ‘:’, ‘;’, ‘/’, ‘,’, ‘+’, ‘$’, ‘&’. Unsafe characters are space, ‘”’, ‘>’, ‘<’, ‘#’, ‘%’, ‘{‘, ‘}’, ‘~’, ‘^’, ‘[‘, ‘|’, ‘\’, ‘`’, ‘]’. There is a URL Encode for all of these characters. Apart from URL Encode there is Decimal and Hex value also for the characters.

Test: HTML URL Encode - Question 5

Which of the following is not encode by encodeURI() function?

Detailed Solution for Test: HTML URL Encode - Question 5

encodeURI() function is JavaScript function. It encodes special characters. The characters that can’t be encoded are ‘,’, ‘?’, ‘/’, ‘@’, ‘=’, ‘&’, ‘$’, ‘+’, ‘#’, ‘:’. Its syntax is encodeURI(uri), uri is the URI that to be encoded.

Test: HTML URL Encode - Question 6

What is the URL Encode for the character ‘M’?

Detailed Solution for Test: HTML URL Encode - Question 6

The URL Encode for character ‘M’ is %4D, %47 is URL Encode for ‘G’, %4A is URL Encode for ‘J’, %50 is URL Encode for the character ‘P’. The URL Encode for A to Z characters start from 41 to 5A followed by a ‘%’ sign serially.

Test: HTML URL Encode - Question 7

What is the URL encoding of VT?

Detailed Solution for Test: HTML URL Encode - Question 7

The URL Encode for VT (vertical tab) character is %0B, %09 is for horizontal tab character, %06 is the URL Encode for ACK (acknowledge), %02 is URL Encode for STX (start of text) character. %00 is the URL Encode for NUL (null character).

Test: HTML URL Encode - Question 8

Which is not a reserved character?

Detailed Solution for Test: HTML URL Encode - Question 8

There are two type of characters reserved and unreserved characters. Characters that are allowed in URL but not have any reserved purpose are unreserved characters. These are the characters from A-Z, a-z, 0-9, ‘~’, ‘_’, ‘.’, ‘-‘.

Test: HTML URL Encode - Question 9

URL is ___________

Detailed Solution for Test: HTML URL Encode - Question 9

URL is the second name of a web address. It is composed of IP (Internet Protocol) address or words. Its full form is Uniform Resource Locators. Generally entering name while surfing is easy as numbers are hard to remember.

Test: HTML URL Encode - Question 10

Which scheme is used for secure HyperText Transfer Protocol?

Detailed Solution for Test: HTML URL Encode - Question 10

 https scheme is for secure or encrypted web pages, http is HyperText Transfer Protocol used for common web pages which are not encrypted, ftp is file transfer protocol for downloading and uploading of documents.

Test: HTML URL Encode - Question 11

In URL encoding replaces non-ASCII characters with ________

Detailed Solution for Test: HTML URL Encode - Question 11

In URL encoding non-ASCII characters are replaced with “%” which is followed by hexadecimal digits. URL can only contain ASCII character set. There should be no space in the URL, space is replaced by %20 or “+” in URL encoding.

Test: HTML URL Encode - Question 12

What is URL encode of ‘&’?

Detailed Solution for Test: HTML URL Encode - Question 12

URL encoding of ‘&’ is %26, its Decimal value is 38 and the Hex value is 26. %24 is URL encode of ‘$’ whose Decimal value is 36 and Hex value is 24, %2c is URL encode of ‘,’ its Decimal value is 44 and Hex value is 2c, %3d is URL encode of ‘=’, its Decimal value is 61 and Hex value is 3d.

Test: HTML URL Encode - Question 13

What is the URL Encode for tab character?

Detailed Solution for Test: HTML URL Encode - Question 13

For tab character URL encode is %09, its Decimal value is 9 and Hex value is 09, %08 is URL encode for backspace, its Decimal value is 8 and Hex value is 08, %0d is URL Encode for carriage return, Decimal value is 13 and Hex value is 0d, %0a is URL encode for linefeed, Decimal value is 10 and Hex value is 0a.

Test: HTML URL Encode - Question 14

Which of the following is used to decode the encoded URI?

Detailed Solution for Test: HTML URL Encode - Question 14

encodeURI(), encodeURIComponent, decodeURI() are the Java Script function. encodeURI(), encodeURIComponent() are the functionsthat encode URL. decodeURI() is the function that decode the encoded URL.

Test: HTML URL Encode - Question 15

Which of the following is not control character?

Detailed Solution for Test: HTML URL Encode - Question 15

ASCII control characters are defined from %00-%1F, these characters are to design control hardware devices. These characters are not used inside URL. NUL, ENQ, ETX, BEL, BS, HT, LF, EOT, CR, DLE, DC3 are some of the control characters. BS is for backspace, NUL is for null character, HT is for the horizontal tab character.

Information about Test: HTML URL Encode Page
In this test you can find the Exam questions for Test: HTML URL Encode solved & explained in the simplest way possible. Besides giving Questions and answers for Test: HTML URL Encode, EduRev gives you an ample number of Online tests for practice

Top Courses for Primary 3

Download as PDF

Top Courses for Primary 3