Home »
Aptitude Questions and Answers »
Networking Aptitude Questions
Networking | URL Aptitude Questions and Answers
Networking | URL Aptitude Questions and Answers: This section contains aptitude questions and answers on Networking | Uniform Resource Locator (URL).
Submitted by Nidhi, on May 31, 2021
Networking URL Aptitude Questions and Answers
1) There are the following statements that are given below, which of them are correct about URL?
- URL stands for Universal Resource Locator.
- URL is a global address to access resources over the Web.
- The resources accessed by the URL can be an HTML file, CSS file, etc
- URL cannot use any protocol to access web resources.
Options:
- A and B
- B and C
- A, B, and C
- A, B, C, and D
Correct answer: 2
B and C
Explanation:
Statements B and C are correct about URL.
2) Which of the following RFC number is related to URL?
- RFC 1735
- RFC 1738
- RFC 2020
- RFC 2021
Correct answer: 1
RFC 1735
Explanation:
The RFC 1735 is used for URL.
3) URL is a type of URI?
- Yes
- No
Correct answer: 1
Yes
Explanation:
Yes, URL is a type of URI.
4) Which of the following are the parts of the URL?
- Scheme
- Host address
- File path
- None of the above
Options:
- A and B
- A and C
- A, B, and C
- D
Correct answer: 3
A, B, and C
Explanation:
Options A, B, and C are parts of the URL.
5) Which part of the URL describes the protocol used in a URL?
- Scheme
- Host Address
- File Path
- None of the above
Correct answer: 1
Scheme
Explanation:
The scheme describes protocols used in the URL.
6) Which of the following schemes can be used in a URL?
- http://
- telnet://
- file://
- ftp://
Options:
- A and B
- A, B, and D
- A and D
- A, B, C, and D
Correct answer: 4
A, B, C, and D
Explanation:
All given schemes can be used in a URL.
7) There are the following statements that are given below, which is correct about file:// scheme?
- It is used to indicate that the file is on the local hard disk.
- It is used to indicate that the file is on the shared folder of the local LAN.
- Both of the above
- None of the above
Correct answer: 3
Both of the above
Explanation:
Statements 1st and 2nd are correct about file:// scheme.
8) A host address in a URL can be?
- An IP address
- A Domain Name
- Both
- None
Correct answer: 3
Both
Explanation:
The host address in a URL can be a host address or domain name.
9) A URL can be?
- Absolute URL
- Relative URL
- Both
- None
Correct answer: 3
Both
Explanation:
Yes, a URL can be absolute or relative.
10) URL uses some encoding mechanism for special characters?
- Yes
- No
Correct answer: 1
Yes
Explanation:
Yes, the URL uses a percentage encoding mechanism for special characters.
11) How can we send some data or information to the particular webpage using URL?
- Using Select Query
- Using Query String
- Using some special ports
- Using the FTP protocol
Correct answer: 2
Using Query String
Explanation:
We can send some data or information to the particular webpage in the URL using the query string.
12) What characters are normally used in the query string to define key and values?
- %
- ?
- &
- @
Options:
- A and B
- B and C
- C and D
- A, B, and C
Correct answer: 2
B and C
Explanation:
The '?' and '&' are used to define keys and values in the query string.
13) A URL cannot contain a specified port number?
- Yes
- No
Correct answer: 2
No
Explanation:
No, A URL can contain a specified port number.
14) Which technique is used to provide a small name for the complete URL?
- URL cutting
- URL minimizing
- URL shortening
- URL smalling
Correct answer: 3
URL shortening
Explanation:
The URL shortening technique is used to private a small name for the complete URL.
15) Which of the following companies have its URL shortening services?
- GoDaddy
- Twitter
- Google
- All of the above
Options:
- A and B
- B and C
- A and C
- D
Correct answer: 4
D
Explanation:
All given companies have their own shortening services for their own use.
16) The URL shortening can be implemented using URL redirection?
- Yes
- No
Correct answer: 1
Yes
Explanation:
Yes, URL redirection plays an important role for URL redirection.
17) The URL shortening can be?
- Temporary for limited time
- Permanent
- Both
- None
Correct answer: 3
Both
Explanation:
The URL shortening can be temporary or permanent.
18) Which of the following HTTP response code is used for temporary redirection?
- 301
- 302
- 303
- 304
Correct answer: 2
302
Explanation:
The 302 response code is used for temporary redirection.
19) Which of the following HTTP response code is used for permanent redirection?
- 301
- 302
- 303
- 304
Correct answer: 1
301
Explanation:
The 301 response code is used for permanent redirection.
20) Which google service is used for URL shortening?
- goo.gl
- goole.gl
- go.gl
- go.short
Correct answer: 1
goo.gl
Explanation:
The goo.gl service is used for URL shortening.