This set of Data communication and Networking Multiple Choice Questions and Answers (MCQs) focuses on “TCP IP PROTOCOL ”.
1. An IP packet is called a _____________.
- user datagram
- segment
- datagram
- none of the above
C. datagram
2. A TCP packet is called a _____________.
- user datagram
- segment
- datagram
- none of the above
B. segment
3. A UDP packet is called a _____________.
- user datagram
- segment
- datagram
- none of the above
A. user datagram
4. An IP packet is encapsulated in a _____________.
- data link frame
- network layer packet
- physical layer packet
- none of the above
A. data link frame
5. A TCP packet is encapsulated in a(n) _____________.
- data link frame
- IP datagram
- physical layer packet
- none of the above
B. IP datagram
6. A UDP packet is encapsulated in a(n) _____________.
- data link frame
- IP datagram
- physical layer packet
- none of the above
B. IP datagram
7. An ARP packet is encapsulated in a(n) _____________.
- data link frame
- IP datagram
- physical layer packet
- none of the above
A. data link frame
8. A RARP packet is encapsulated in a(n) _____________.
- data link frame
- IP datagram
- physical layer packet
- none of the above
A. data link frame
9. An ICMP packet is encapsulated in a(n) _____________.
- data link frame
- IP datagram
- physical layer packet
- none of the above
B. IP datagram
10. An IGMP packet is encapsulated in a(n) _____________.
- data link frame
- IP datagram
- physical layer packet
- none of the above
B. IP datagram
11. An application-layer packet is encapsulated in a(n) _____________.
- data link frame
- IP datagram
- TCP or UDP packet
- none of the above
C. TCP or UDP packet
12. An IP address is _________ bits.
- 24
- 32
- 48
- none of the above
B. 32
13. An IP address is _______ bytes in dotted decimal notation.
- 3
- 4
- 5
- none of the above
B. 4
14. A class B address starts with the _________bit(s).
- 0
- 10
- 110
- 1111
B. 10
15. A class E address starts with the _________bit(s).
- 0
- 10
- 1110
- 1111
D. 1111
16. A class C address starts with the _________bit(s).
- 0
- 10
- 110
- 1110
C. 110
17. A class A address starts with the _________bit(s).
- 0
- 10
- 1110
- 1111
A. 0
18. A class D address starts with the _________bit(s).
- 0
- 10
- 1110
- 1111
C. 1110
19. What is the class of the address 227.78.19.21?
- A
- B
- C
- D
D. D
20. What is the class of the address 130.8.119.1?
- A
- B
- C
- D
B. B
21. What is the class of the address 10.11.1.21?
- A
- B
- C
- D
A. A
22. What is the class of the address 200.66.10.21?
- A
- B
- C
- D
C. C
23. What is the class of the address 248.22.33.1?
- A
- B
- C
- E
D. E
24. What is the netid of the address 227.78.19.21?
- 227
- 227.78
- 227.78.19
- none of the above
D. none of the above
25. What is the netid of the address 130.8.119.1?
- 130
- 130.8
- 130.8.119
- none of the above
B. 130.8
26. What is the netid of the address 12.11.1.21?
- 12
- 12.11
- 12.11.1
- none of the above
A. 12
27. What is the netid of the address 200.66.10.21?
- 200
- 200.66
- 200.66.10
- none of the above
C. 200.66.10
28. What is the hostid of the address 248.22.33.1?
- 22.33.1
- 33.1
- 1
- none of the above
D. none of the above
29. What is the hostid of the address 227.78.19.21?
- 78.19.21
- 19.21
- 21
- none of the above
D. none of the above
30. What is the hostid of the address 130.8.119.1?
- 8.119.1
- 119.1
- 1
- none of the above
B. 119.1
31. What is the hostid of the address 12.11.1.21?
- 11.1.21
- 1.21
- 21
- none of the above
A. 11.1.21
32. What is the hostid of the address 200.66.10.21?
- 66.10.21
- 10.21
- 21
- none of the above
C. 21
33. What is the address of the network to which the host 248.22.33.1 is connected (no subnetting)?
- 248.22.33.0
- 248.22.0.0
- 248.0.0.0
- none of the above
D. none of the above
34. What is the address of the network to which the host 227.78.19.21 is connected (no subnetting)?
- 227.78.19.0
- 227.78.0.0
- 227.0.0.0
- none of the above
D. none of the above
35. What is the address of the network to which the host 130.8.119.1 is connected (no subnetting)?
- 130.8.119.0
- 130.8.0.0
- 130.0.0.0
- none of the above
B. 130.8.0.0
36. What is the address of the network to which the host 12.11.1.21 is connected (no subnetting)?
- 12.11.1.0
- 12.11.0.0
- 12.0.0.0
- none of the above
C. 12.0.0.0
37. What is the address of the network to which the host 200.66.10.21 is connected (no subnetting)?
- 200.66.10.0
- 200.66.0.0
- 200.0.0.0
- none of the above
A. 200.66.10.0
38. The network address in class C (without subnetting) has _______ zero(s) in decimal notation.
- 3
- 2
- 1
- none of the above
C. 1
39. The network address in class A (without subnetting) has _______ zero(s) in decimal notation.
- 3
- 2
- 1
- none of the above
A. 3
40. The network address in class B (without subnetting) has _______ zero(s) in decimal notation.
- 3
- 2
- 1
- none of the above
B. 2
41. The network address in Class E (without subnetting) has _______ zero(s) in decimal notation.
- 3
- 2
- 1
- none of the above
D. none of the above
42. The network address in Class D (without subnetting) has _______ zero(s) in decimal notation
- 3
- 2
- 1
- none of the above
D. none of the above
43. The natural mask for class A is _______________.
- 255.255.255.0.
- 255.255.0.0
- 255.0.0.0
- none of the above
C. 255.0.0.0
44. The natural mask for class B is _______________.
- 255.255.255.0.
- 255.255.0.0
- 255.0.0.0
- none of the above
B. 255.255.0.0
45. The natural mask for class C is _______________.
- 255.255.255.0.
- 255.255.0.0
- 255.0.0.0
- none of the above
A. 255.255.255.0.
46. The natural mask for class D is _______________.
- 255.255.255.0.
- 255.255.0.0
- 255.0.0.0
- none of the above
D. none of the above
47. The natural mask for class E is _______________.
- 255.255.255.0.
- 255.255.0.0
- 255.0.0.0
- none of the above
D. none of the above
48. Using a host address 195.21.43.65 and the mask 255.255.255.192, the subnetwork address is ___________
- 195.21.43.0
- 195.21.0.0.
- 195.21.43.64
- none of the above
C. 195.21.43.64
49. Using a host address 140.78.3.45 and the mask 255.255.255.0, the subnetwork address is ___________.
- 140.70.0.0
- 140.78.3.0
- 140.78.0.0
- none of the above
B. 140.78.3.0
50. Using a host address 112.8.13.145 and the mask 255.255.0.0, the subnetwork address is ___________.
- 112.8.13.0
- 112.8.0.0
- 112.0.0.0
- none of the above
B. 112.8.0.0
51. IP addresses without subnetting have _________ level(s) of hierarchy.
- 3
- 2
- 1
- none of the above
B. 2
52. IP addresses with subnetting have _________ level(s) of hierarchy.
- 3
- 2
- 1
- none of the above
A. 3
53. Masking can be used only in _________ class(es).
- 3
- 2
- 1
- none of the above
A. 3
54. Masking is not used in class(es) ___________.
- A and B
- B and C
- C and D
- D and E
D. D and E
55. The length of an IP header is _________ bytes.
- 20
- 20-40
- 20-60
- none of the above
C. 20-60
56. If the value of HLEN in an IP packet is 0101, the header is _________ long.
- 5
- 20
- 60
- none of the above
B. 20
57. If the value of HLEN in an IP packet is 1100, the option field is _________ long.
- 28
- 20
- 40
- none of the above
A. 28
58. The field in the IP packet header that defines the number of hops a packet can travel before being dropped is called ___________.
- flags
- time to live
- offset
- none of the above
B. time to live
59. The protocol used to report a problem in the IP packet is called _______.
- IGMP
- ICMP
- ARP
- none of the above
B. ICMP
60. The size of the header in the UDP packet is _________ bytes.
- 8
- 16
- 4
- none of the above
A. 8
61. A source port address in UDP is only _________ byte(s).
- 2
- 1
- 4
- none of the above
A. 2
62. A destination port address in UDP is only _________ byte(s).
- 2
- 1
- 4
- none of the above
A. 2
63. A source or destination port address in UDP can define up to _______ ports.
- 16
- 48
- 32
- none of the above
D. none of the above
64. The length of the TCP header without options is _______ bytes.
- 40
- 20
- 60
- none of the above
B. 20
65. The length of the TCP header is _______ bytes.
- 20-40
- 20-60
- 0-60
- none of the above
B. 20-60
66. The length of the TCP options is _______ bytes.
- 20-40
- 0-40
- 0-60
- none of the above
B. 0-40
67. When the value of HLEN field in TCP is 5, there are_______ bytes of options.
- 0
- 20
- 40
- none of the above
A. 0
68. The length of the sequence number field in TCP is _______ byte(s).
- 1
- 2
- 4
- none of the above
C. 4
69. The length of the acknowledgment number field in TCP is _______ byte(s).
- 1
- 2
- 4
- none of the above
C. 4
70. The length of the window size field in TCP is _______ byte(s).
- 1
- 2
- 4
- none of the above
B. 2
71. The maximum value of the sequence number in TCP is _______.
- 216 - 1
- 224 - 1
- 232 - 1
- none of the above
C. 232 - 1
72. The maximum value of the acknowledgment number in TCP is _______.
- 216 - 1
- 224 - 1
- 232 - 1
- none of the above
C. 232 - 1
73. The maximum value of the window size in TCP is ___________.
- 216 - 1
- 224 - 1
- 232 - 1
- none of the above
A. 216 - 1
74. The maximum value of the urgent pointer in TCP is ___________.
- 216 - 1
- 224 -1
- 232-1
- none of the above
A. 216 - 1