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
2. A TCP packet is called a _____________.
- user datagram
- segment
- datagram
- none of the above
3. A UDP packet is called a _____________.
- user datagram
- segment
- datagram
- none of the above
4. An IP packet is encapsulated in a _____________.
- data link frame
- network layer packet
- physical layer packet
- none of the above
5. A TCP packet is encapsulated in a(n) _____________.
- data link frame
- IP datagram
- physical layer packet
- none of the above
6. A UDP packet is encapsulated in a(n) _____________.
- data link frame
- IP datagram
- physical layer packet
- none of the above
7. An ARP packet is encapsulated in a(n) _____________.
- data link frame
- IP datagram
- physical layer packet
- none of the above
8. A RARP packet is encapsulated in a(n) _____________.
- data link frame
- IP datagram
- physical layer packet
- none of the above
9. An ICMP packet is encapsulated in a(n) _____________.
- data link frame
- IP datagram
- physical layer packet
- none of the above
10. An IGMP packet is encapsulated in a(n) _____________.
- data link frame
- IP datagram
- physical layer packet
- none of the above
11. An application-layer packet is encapsulated in a(n) _____________.
- data link frame
- IP datagram
- TCP or UDP packet
- none of the above
12. An IP address is _________ bits.
- 24
- 32
- 48
- none of the above
13. An IP address is _______ bytes in dotted decimal notation.
- 3
- 4
- 5
- none of the above
14. A class B address starts with the _________bit(s).
- 0
- 10
- 110
- 1111
15. A class E address starts with the _________bit(s).
- 0
- 10
- 1110
- 1111
16. A class C address starts with the _________bit(s).
- 0
- 10
- 110
- 1110
17. A class A address starts with the _________bit(s).
- 0
- 10
- 1110
- 1111
18. A class D address starts with the _________bit(s).
- 0
- 10
- 1110
- 1111
19. What is the class of the address 227.78.19.21?
- A
- B
- C
- D
20. What is the class of the address 130.8.119.1?
- A
- B
- C
- D
21. What is the class of the address 10.11.1.21?
- A
- B
- C
- D
22. What is the class of the address 200.66.10.21?
- A
- B
- C
- D
23. What is the class of the address 248.22.33.1?
- A
- B
- C
- E
24. What is the netid of the address 227.78.19.21?
- 227
- 227.78
- 227.78.19
- 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
26. What is the netid of the address 12.11.1.21?
- 12
- 12.11
- 12.11.1
- none of the above
27. What is the netid of the address 200.66.10.21?
- 200
- 200.66
- 200.66.10
- none of the above
28. What is the hostid of the address 248.22.33.1?
- 22.33.1
- 33.1
- 1
- 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
30. What is the hostid of the address 130.8.119.1?
- 8.119.1
- 119.1
- 1
- none of the above
31. What is the hostid of the address 12.11.1.21?
- 11.1.21
- 1.21
- 21
- none of the above
32. What is the hostid of the address 200.66.10.21?
- 66.10.21
- 10.21
- 21
- none of the above
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
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
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
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
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
38. The network address in class C (without subnetting) has _______ zero(s) in decimal notation.
- 3
- 2
- 1
- none of the above
39. The network address in class A (without subnetting) has _______ zero(s) in decimal notation.
- 3
- 2
- 1
- none of the above
40. The network address in class B (without subnetting) has _______ zero(s) in decimal notation.
- 3
- 2
- 1
- none of the above
41. The network address in Class E (without subnetting) has _______ zero(s) in decimal notation.
- 3
- 2
- 1
- 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
43. The natural mask for class A is _______________.
- 255.255.255.0.
- 255.255.0.0
- 255.0.0.0
- none of the above
44. The natural mask for class B is _______________.
- 255.255.255.0.
- 255.255.0.0
- 255.0.0.0
- none of the above
45. The natural mask for class C is _______________.
- 255.255.255.0.
- 255.255.0.0
- 255.0.0.0
- none of the above
46. The natural mask for class D is _______________.
- 255.255.255.0.
- 255.255.0.0
- 255.0.0.0
- 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
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
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
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
51. IP addresses without subnetting have _________ level(s) of hierarchy.
- 3
- 2
- 1
- none of the above
52. IP addresses with subnetting have _________ level(s) of hierarchy.
- 3
- 2
- 1
- none of the above
53. Masking can be used only in _________ class(es).
- 3
- 2
- 1
- none of the above
54. Masking is not used in class(es) ___________.
- A and B
- B and C
- C and D
- D and E
55. The length of an IP header is _________ bytes.
- 20
- 20-40
- 20-60
- none of the above
56. If the value of HLEN in an IP packet is 0101, the header is _________ long.
- 5
- 20
- 60
- none of the above
57. If the value of HLEN in an IP packet is 1100, the option field is _________ long.
- 28
- 20
- 40
- none of the above
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
59. The protocol used to report a problem in the IP packet is called _______.
- IGMP
- ICMP
- ARP
- none of the above
60. The size of the header in the UDP packet is _________ bytes.
- 8
- 16
- 4
- none of the above
61. A source port address in UDP is only _________ byte(s).
- 2
- 1
- 4
- none of the above
62. A destination port address in UDP is only _________ byte(s).
- 2
- 1
- 4
- none of the above
63. A source or destination port address in UDP can define up to _______ ports.
- 16
- 48
- 32
- none of the above
64. The length of the TCP header without options is _______ bytes.
- 40
- 20
- 60
- none of the above
65. The length of the TCP header is _______ bytes.
- 20-40
- 20-60
- 0-60
- none of the above
66. The length of the TCP options is _______ bytes.
- 20-40
- 0-40
- 0-60
- none of the above
67. When the value of HLEN field in TCP is 5, there are_______ bytes of options.
- 0
- 20
- 40
- none of the above
68. The length of the sequence number field in TCP is _______ byte(s).
- 1
- 2
- 4
- none of the above
69. The length of the acknowledgment number field in TCP is _______ byte(s).
- 1
- 2
- 4
- none of the above
70. The length of the window size field in TCP is _______ byte(s).
- 1
- 2
- 4
- none of the above
71. The maximum value of the sequence number in TCP is _______.
- 216 - 1
- 224 - 1
- 232 - 1
- none of the above
72. The maximum value of the acknowledgment number in TCP is _______.
- 216 - 1
- 224 - 1
- 232 - 1
- none of the above
73. The maximum value of the window size in TCP is ___________.
- 216 - 1
- 224 - 1
- 232 - 1
- none of the above
74. The maximum value of the urgent pointer in TCP is ___________.
- 216 - 1
- 224 -1
- 232-1
- none of the above