In this section of Data Communication and Networking – Network Layer: Logical Addressing MCQ (Multiple Choice) Based Questions and Answers,it cover the below lists of topics.All the Multiple Choice Questions and Answers (MCQs) have been compiled from the book of Data Communication and Networking by The well known author behrouz forouzan.
This Section covers below lists of topics.
- Packet switching MCQs.
- The datagram approach and the virtual circuit approach MCQs.
- Internet address (or IP address) MCQs.
- classes of IP addresses MCQs.
- Unicast communication MCQs.
- Multicast communication MCQs
- Subetting ,Subnet masking MCQs
- DHCP-dynamic configuration protocol MCQs
- Network address translation (NAT) MCQs
- IP protocol,IPv6 MCQs
- Next-hop routing ,Network-specific routing ,Host-specific routing ,default routing,static routing MCQs
- Classless addressing MCQs
1. In classless addressing, the ______ is another name for the common part of the address range
- suffix
- prefix
- netid
- none of the above
B. prefix
2. In classless addressing, the _______ is the varying part (similar to the hostid).
- suffix
- prefix
- hostid
- none of the above
A. suffix
3. In classless addressing, the prefix length defines the _____________
- netid
- hostid
- mask
- none of the above
C. mask
4. In a block, the prefix length is /24; what is the mask?
- 255.255.255.0
- 255.255.242.0
- 255.255.0.0
- none of the above
A. 255.255.255.0
5. In a block, the prefix length is /15; what is the mask?
- 255.254.0.0
- 255.255.255.0
- 255.255.255.128
- none of the above
A. 255.254.0.0
6. In a block, the mask is 255.255.192.0; what is the prefix length?
- /20
- /28
- /18
- none of the above
C. /18
7. An IPv6 address is _________ bits long
- 32
- 64
- 128
- none of the above
C. 128
8. An IPv6 address consists of ________ bytes (octets);
- 4
- 8
- 16
- none of the above
C. 16
9. To make addresses more readable, IPv6 specifies ____________notation
- dotted decimal
- hexadecimal colon
- both a and b
- none of the above
B. hexadecimal colon
10. In hexadecimal colon notation, a 128-bit address is divided into _______ sections, each _____ hexadecimal digits in length
- 8: 2
- 8: 3
- 8: 4
- none of the above
C. 8: 4
11. An IPv6 address can have up to __________ colons
- 8
- 7
- 4
- none of the above
B. 7
12. An IPv6 address can have up to __________ hexadecimal digits
- 16
- 32
- 8
- none of the above
B. 32
13. In IPv6, _______ address defines a single computer
- a unicast
- a multicast
- an anycast
- none of the above
A. a unicast
14. In IPv6, ____ address defines a group of computers with addresses that have the same prefix
- a unicast
- a multicast
- an anycast
- none of the above
C. an anycast
15. In IPv6, _________ address defines a group of computers
- a unicast
- a multicast
- an anycast
- none of the above
B. a multicast
16. In IPv6, the ________ prefix defines the purpose of the address
- type
- purpose
- both a and b
- none of the above
A. type
17. In IPv6, the___________ address is generally used by a normal host as a unicast address.
- provider-based unicast
- link local
- site local
- none of the above
A. provider-based unicast
18. An IPv4 address consists of _______ bits.
- 4
- 8
- 32
- 64
C. 32
19. In IPv4, class _______ has the greatest number of addresses in each block
- A
- B
- C
- D
A. A
20. Identify the class of the following IPv4 address: 4.5.6.7.
- A
- B
- C
- none of the above
A. A
21. Identify the class of the following IPv4 address: 229.1.2.3.
- A
- B
- D
- None of the above
C. D
22. Identify the class of the following IPv4 address: 191.1.2.3.
- A
- B
- C
- None of the above
B. B
23. What is the result of ANDing 255 and 15?
- 255
- 15
- 0
- none of the above
B. 15
24. What is the result of ANDing 0 and 15?
- 255
- 15
- 0
- None of the above
C. 0
25. What is the result of ANDing 254 and 15?
- 254
- 14
- 0
- none of the above
B. 14
26. What is the result of ANDing 192 and 65?
- 192
- 65
- 64
- none of the above
C. 64
27. Which one is not a contiguous mask?
- 255.255.255.254
- 255.255.224.0
- 255.148.0.0
- all are
C. 255.148.0.0
28. The number of addresses in a class C block is _______
- 65,534
- 16,777,216
- 256
- none of the above
C. 256
29. The number of addresses in a class B block is _______
- 65,536
- 16,777,216
- 256
- none of the above
A. 65,536
30. The number of addresses in a class A block is _______
- 65,534
- 16,777,216
- 256
- none of the above
B. 16,777,216
31. The number of addresses assigned to an organization in classless addressing _______
- can be any number
- must be a multiple of 256
- must be a power of 2
- none of the above
C. must be a power of 2
32. The first address assigned to an organization in classless addressing _______
- must be a power of 4
- must be evenly divisible by the number of addresses
- must belong to one of the A, B, or C classes
- none of the above
B. must be evenly divisible by the number of addresses
33. Which address could be the beginning address of a block of 32 classless addresses
- 2.4.6.5
- 2.4.6.16
- 2.4.6.64
- none of the above
C. 2.4.6.64
34. Which address could be the beginning address of a block of 16 classless addresses?
- 2.4.6.5
- 2.4.6.15
- 2.4.6.62
- none of the above
D. none of the above
35. Which address could be the beginning address of a block of 256 classless addresses
- 2.4.6.5
- 2.4.6.15
- 2.4.6.0
- none of the above
C. 2.4.6.0
36. What is the first address of a block of classless addresses if one of the addresses is 12.2.2.76/27?
- 12.2.2.0
- 12.2.2.32
- 12.2.2.64
- none of the above
C. 12.2.2.64
37. What is the first address of a block of classless addresses if one of the addresses is 12.2.2.76/10?
- 12.0.0.0
- 12.2.0.0
- 12.2.2.2
- none of the above
A. 12.0.0.0
38. What is the first address of a block of classless addresses if one of the addresses is 12.2.2.127/28?
- 12.2.2.0
- 12.2.2.96
- 12.2.2.112
- none of the above
C. 12.2.2.112
39. Find the number of addresses in a block of classless addresses if one of the addresses is 12.2.2.7/24.
- 32
- 64
- 256
- none of the above
C. 256
40. Find the number of addresses in a block of classless addresses if one of the addresses is 12.2.2.7/30.
- 2
- 4
- 8
- none of the above
B. 4
41. What is the last address of a block of classless addresses if one of the addresses is 12.2.2.127/28?
- 12.2.2.16
- 12.2.2.112
- 12.2.2.127
- none of the above
C. 12.2.2.127
42. What is the last address of a block of classless addresses if one of the addresses is 12.2.2.6/30?
- 12.2.2.2
- 12.2.2.6
- 12.2.2.7
- none of the above
C. 12.2.2.7
43. An organization is granted a block; one address is 2.2.2.64/20. The organization needs 10 subnets. What is the subnet prefix length?
- /20
- /24
- /25
- none of the above
B. /24
44. An organization is granted a block; one address is 2.2.2.64/25. If the subnet prefix length is /28, what is the maximum number of subnets?
- 2
- 4
- 8
- none of the above
C. 8
45. An organization is granted a block of classless addresses with the starting address 199.34.76.64/28. How many addresses are granted?
- 8
- 16
- 32
- none of the above
B. 16
46. An organization is granted a block of classless addresses with the starting address 199.34.76.128/29. How many addresses are granted?
- 8
- 16
- 32
- none of the above
A. 8
47. An organization is granted a block of classless addresses with the starting address 199.34.32.0/27. How many addresses are granted?
- 8
- 16
- 32
- none of the above
C. 32
48. What is the default mask for class A in CIDR notation?
- /9
- /8
- /16
- none of the above
B. /8
49. What is the default mask for class B in CIDR notation?
- /9
- /8
- /16
- none of the above
C. /16
50. What is the default mask for class C in CIDR notation?
- /24
- /8
- /16
- none of the above
A. /24