Computer Networks MCQs with Answers
Practice important Computer Networks MCQs with answers and explanations.
Chapter: 25
Q821:
Classful IP addresses are ______ because the class can be computed from the address itself.
A. Self-identifying
B. Encrypted
C. Random
D. Fixed
Correct Answer:
A
Chapter: 25
Q822:
Fill in the blank: Dotted decimal notation expresses 32-bit binary IP addresses in ______ separated by dots.
A. Decimal
B. Hexadecimal
C. Binary
D. Octal
Correct Answer:
A
Chapter: 25
Q823:
Fill in the blank: In class B addresses, the last ______ octets are used for the host.
A. One
B. Two
C. Three
D. Four
Correct Answer:
B
Chapter: 25
Q824:
The network prefix is obtained from the ______.
A. ISP
B. Network administrator
C. Subnet mask
D. Address class
Correct Answer:
D
Chapter: 26
Q825:
What problem did subnet addressing and classless addressing solve?
A. Exhaustion of IP addresses
B. Too many ISPs
C. Slow network speeds
D. Incorrect IP routing
Correct Answer:
A
Chapter: 26
Q826:
Which two mechanisms were invented to overcome the limitations of classful addressing?
A. Subnet addressing and routing
B. Classless addressing and DNS
C. Subnet addressing and classless addressing
D. NAT and DHCP
Correct Answer:
C
Chapter: 26
Q827:
What does a subnet mask specify in IP addressing?
A. The boundary between prefix and suffix
B. The IP version
C. The subnet size
D. The host ID
Correct Answer:
A
Chapter: 26
Q828:
What is another name for the subnet mask?
A. Address mask
B. Network mask
C. Default gateway
D. Host mask
Correct Answer:
A
Chapter: 26
Q829:
Given a destination address D and address mask M, the network prefix A is calculated as:
A. A = D + M
B. A = D - M
C. A = D & M
D. A = D / M
Correct Answer:
C
Chapter: 26
Q830:
What is the dotted decimal notation for the binary mask 11111111 11111111 00000000 00000000?
A. 255.255.255.0
B. 255.255.0.0
C. 255.0.0.0
D. 255.0.255.0
Correct Answer:
B
Chapter: 26
Q831:
If the network prefix is 128.10.0.0 and the destination address is 128.10.2.3, what is the result of logical AND between the destination address and subnet mask 255.255.0.0?
A. 128.10.2.3
B. 128.10.0.0
C. 128.0.0.0
D. 128.10.255.255
Correct Answer:
B
Chapter: 26
Q832:
What does CIDR stand for?
A. Classless Inter-Domain Routing
B. Classful Internet Domain Routing
C. Classless Internet Data Routing
D. Classful Inter-Domain Routing
Correct Answer:
A
Chapter: 26
Q833:
CIDR notation 128.211.0.0/16 represents what?
A. A class B address with a 16-bit prefix
B. A class A address with a 16-bit suffix
C. A class C address with a 16-bit prefix
D. A class D address with a 16-bit suffix
Correct Answer:
A
Chapter: 26
Q834:
How many hosts can be supported with a /28 subnet mask?
A. 14
B. 16
C. 28
D. 256
Correct Answer:
A
Chapter: 26
Q835:
Which prefix length would allow a subnet that can support exactly 12 hosts?
A. /24
B. /28
C. /30
D. /16
Correct Answer:
B
Chapter: 26
Q836:
If a customer is assigned 128.211.0.16/28, what does the /28 represent?
A. The number of bits used for the network prefix
B. The number of hosts
C. The subnet mask in decimal
D. The number of available networks
Correct Answer:
A
Chapter: 26
Q837:
The logical operation used to calculate the network prefix from a destination address and subnet mask is ______.
A. AND
B. OR
C. XOR
D. NOT
Correct Answer:
A
Chapter: 26
Q838:
The subnet mask 255.255.0.0 in binary is ______.
A. 11111111 11111111 00000000 00000000
B. 11111111 00000000 00000000 00000000
C. 11111111 11111111 11111111 00000000
D. 00000000 11111111 11111111 00000000
Correct Answer:
A
Chapter: 26
Q839:
CIDR notation 128.211.0.32/28 assigns a ______ to a customer.
A. Unique prefix
B. Network mask
C. Host ID
D. Network suffix
Correct Answer:
A
Chapter: 26
Q840:
Who coordinates the assignment of IP address prefixes to ISPs?
A. Internet Assigned Numbers Authority
B. Network Administrators
C. IP Routing Protocols
D. Domain Name System
Correct Answer:
A