CS/IT MCQ Collections

MCQ on TCP/IP and UDP in Computer Networks set-1

Pinterest LinkedIn Tumblr

This set of MCQ on TCP/IP and UDP includes the collections of multiple-choice questions on fundamentals of TCP/IP and UDP in computer networks. It includes MCQ on the fundamentals of TCP, layers of TCP/IP protocol, services of UDP, and the functions of UDP.

1) TCP is a ………. protocol.
A. stream-oriented
B. message-oriented
C. block-oriented
D. packet-oriented

2) Which of the following is not the layer of TCP/IP protocol.
A. Physical layer
B. link layer
C. network layer
D. transport layer.

3) TCP groups a number of bytes together into a packet called a ….
A. user datagram
B. segment
C. datagram
D. packet

4) The ………. of TCP/IP protocol is responsible for figuring out how to get data to its destination.
A. application layer
B. link layer
C. network layer
D. transport layer.

5) TCP is a(n) ……….. transport protocol.
A. protocol delivery
B. reliable
C. best-effort delivery
D. effortless delivery

6) ……… is the protocol that hides the underlying physical network by creating a virtual network view.
A. Internet Protocol(IP)
B. Internet Control Message Protocol(ICMP)
C. Address Resolution Protocol(ARP)
D. Bootstrap Protocol(BOOTP)

7) To use the services of UDP, we need ……… socket addresses.
A. four
B. two
C. three
D. four

8) Which of the following is not the name of Regional Internet Registries(RIR) to administer the network number portion of IP address.
A. American Registry for Internet Numbers(ARIN)
B. Reseaux IP Europeans(RIPE)
C. Europeans Registry for Internet Numbers(ERIN)
D. Asia Pacific Network Information Center(APNIC)

9) UDP packets are called …….
A. user datagrams
B. segments
C. frames
D. packets

10) ………… addresses use 21 bits for the and 8 bits for the portion of the IP address for TCP/IP network.
A. Class A
B. Class B
C. Class C
D. Class D

Read Also: Solved MCQ on Network Layer in Computer Networks

11) UDP packets have a fixed-size header of ………. bytes.
A. 16
B. 8
C. 32
D. 64

12) ………. messages are never sent in response to datagrams with a broadcast or a multicast destination address.
A. ICMP
B. ARP
C. IP
D. BOOTP

13) TCP assigns a sequence number to each segment that is being sent. The sequence number for each segment is the number of the ……. byte carried in that segment.
A. first
B. last
C. middle
D. zero

14) ………. is responsible for converting the higher-level protocol address (IP addresses) to physical network addresses.
A. Internet Protocol(IP)
B. Internet Control Message Protocol(ICMP)
C. Address Resolution Protocol(ARP)
D. Bootstrap Protocol(BOOTP)

15) UDP and TCP are both ……… layer protocols.
A. data link
B. network
C. transport
D. interface

16) ……….. is a process-to-process protocol that adds only port addresses, checksum error control, and length information to the data from the upper layer.
A. TCP
B. UDP
C. IP
D. ARP

17) Which of the following functions does UDP perform?
A. Process-to-process communication
B. Host-to-host communication
C. End-to-end reliable data delivery
D. Interface-to-interface communication.

18) A port address in TCP/IP is ………bits long.
A. 32
B. 48
C. 16
D. 64

19) When the IP layer of a receiving host receives a datagram, …..
A. delivery is complete
B. a transport layer protocol takes over
C. a header is added
D. a session layer protocol takes over

20) TCP/IP is a ………. hierarchical protocol suite developed before the OSI model.
A. seven-layer
B. five-layer
C. six-layer
D. four-layer

Answers:

1) A. stream-oriented
2) A. Physical layer
3) B. segment
4) C. network layer
5) B. reliable
6) A. Internet Protocol(IP)
7) B. two
8) C. Europeans Registry for Internet Numbers(ERIN)
9) A. user datagrams
10) C. Class C
11) B. 8
12) A. ICMP
13) A. first
14) C. Address Resolution Protocol(ARP)
15) C. transport
16) B. UDP
17) A. Process-to-process communication
18) C. 16
19) B. a transport layer protocol takes over
20) B. five-layer

Read Next: Interview Questions on TCP/IP and UDP in Computer Networks set-2
Read More: Computer Networks MCQ Questions Collections

Author

Shuseel Baral is a web programmer and the founder of InfoTechSite has over 8 years of experience in software development, internet, SEO, blogging and marketing digital products and services is passionate about exceeding your expectations.

Comments are closed.