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.

  1. Packet switching MCQs.
  2. The datagram approach and the virtual circuit approach MCQs.
  3. Internet address (or IP address) MCQs.
  4. classes of IP addresses MCQs.
  5. Unicast communication MCQs.
  6. Multicast communication MCQs
  7. Subetting ,Subnet masking MCQs
  8. DHCP-dynamic configuration protocol  MCQs
  9. Network address translation (NAT) MCQs
  10. IP protocol,IPv6 MCQs
  11. Next-hop routing ,Network-specific routing ,Host-specific routing ,default routing,static routing MCQs
  12. Classless addressing MCQs

PRACTICE IT NOW TO SHARPEN YOUR CONCEPT AND KNOWLEDGE

view hide answers

1. In classless addressing, the ______ is another name for the common part of the address range

  • suffix
  • prefix
  • netid
  • none of the above

2. In classless addressing, the _______ is the varying part (similar to the hostid).

  • suffix
  • prefix
  • hostid
  • none of the above

3. In classless addressing, the prefix length defines the _____________

  • netid
  • hostid
  • mask
  • none of the above

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

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

6. In a block, the mask is 255.255.192.0; what is the prefix length?

  • /20
  • /28
  • /18
  • none of the above

7. An IPv6 address is _________ bits long

  • 32
  • 64
  • 128
  • none of the above

8. An IPv6 address consists of ________ bytes (octets);

  • 4
  • 8
  • 16
  • none of the above

9. To make addresses more readable, IPv6 specifies ____________notation

  • dotted decimal
  • hexadecimal colon
  • both a and b
  • none of the above

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

11. An IPv6 address can have up to __________ colons

  • 8
  • 7
  • 4
  • none of the above

12. An IPv6 address can have up to __________ hexadecimal digits

  • 16
  • 32
  • 8
  • none of the above

13. In IPv6, _______ address defines a single computer

  • a unicast
  • a multicast
  • an anycast
  • none of the above

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

15. In IPv6, _________ address defines a group of computers

  • a unicast
  • a multicast
  • an anycast
  • none of the above

16. In IPv6, the ________ prefix defines the purpose of the address

  • type
  • purpose
  • both a and b
  • none of the above

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

18. An IPv4 address consists of _______ bits.

  • 4
  • 8
  • 32
  • 64

19. In IPv4, class _______ has the greatest number of addresses in each block

  • A
  • B
  • C
  • D

20. Identify the class of the following IPv4 address: 4.5.6.7.

  • A
  • B
  • C
  • none of the above

21. Identify the class of the following IPv4 address: 229.1.2.3.

  • A
  • B
  • D
  • None of the above

22. Identify the class of the following IPv4 address: 191.1.2.3.

  • A
  • B
  • C
  • None of the above

23. What is the result of ANDing 255 and 15?

  • 255
  • 15
  • 0
  • none of the above

24. What is the result of ANDing 0 and 15?

  • 255
  • 15
  • 0
  • None of the above

25. What is the result of ANDing 254 and 15?

  • 254
  • 14
  • 0
  • none of the above

26. What is the result of ANDing 192 and 65?

  • 192
  • 65
  • 64
  • none of the above

27. Which one is not a contiguous mask?

  • 255.255.255.254
  • 255.255.224.0
  • 255.148.0.0
  • all are

28. The number of addresses in a class C block is _______

  • 65,534
  • 16,777,216
  • 256
  • none of the above

29. The number of addresses in a class B block is _______

  • 65,536
  • 16,777,216
  • 256
  • none of the above

30. The number of addresses in a class A block is _______

  • 65,534
  • 16,777,216
  • 256
  • none of the above

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

48. What is the default mask for class A in CIDR notation?

  • /9
  • /8
  • /16
  • none of the above

49. What is the default mask for class B in CIDR notation?

  • /9
  • /8
  • /16
  • none of the above

50. What is the default mask for class C in CIDR notation?

  • /24
  • /8
  • /16
  • none of the above
Share with : Share on Linkedin Share on Twitter Share on WhatsApp Share on Facebook