MCQ

Computer Network MCQ – Questions and Answers – Part 1

Networking MCQs questions with answers to prepare for exams, tests, and certifications. These questions are taken from a real written exam and some parts are taken from an interview. So you will find questions on CCNA, TCP/IP, Protocols, IP addressing issues, OSI model, and more. This MCQ will easily prepare anyone to pass their exam.
 

1. Which protocol works at the transport layer provides connectionless service between hosts?

A UDP

B TCP

C ARP

D IP

A
UDP (User Datagram Protocol) is used at the transport layer to provide connectionless service.
 

2. Which protocol operates at the transport layer and provides virtual circuits between hosts?

A UDP

B TCP

C ARP

D IP

B
TCP (Transmission Control Protocol) establishes a virtual circuit before transmitting data. This creates a reliable session and provides a connection-oriented session.
 

3. Which protocol operates at the Internet layer and provides a connection service between hosts?

A UDP

B TCP

C ARP

D IP

D
IP (Internet Protocol) is used to address hosts and route packets over the inter-network. The question does not refer to a connection-based service, which is different from a simple connection-based service.
 

4. If a host broadcasts a frame containing a source MAC address and a destination address and its purpose is to assign an IP address, what network layer protocol is the host using?

A IPX

B TCP

C ARP

D ARPA

E RARP

E
RARP (Reverse ARP) is used to find an IP address from a known MAC address.
 

5. If a router interface is congested, which protocol in the IP suite is used to inform neighboring routers?

A TCP

B IP

C ICMP

D ARP

E RARP

C
The Internet Control Message Protocol (ICMP) is an error signaling protocol used by network devices, specifically used by routers to generate error messages to the source IP address when network problems prevent the delivery of IP packets.

 

 

6. What is the valid host range that the IP address 172.16.10.22 / 255.255.255.240 belongs to?

A 172.16.10.20 to 172.16.10.22

B 172.16.10.1 to 172.16.10.255

C 172.16.10.16 to 172.16.10.23

D 172.16.10.17 to 172.16.10.31

E 172.16.10.17 to 172.16.10.30

E
First use the 256 mask, in this case 256-240 = 16. The first subnet is 16; the second subnet is 32. This host must be in the 16 subnet; the broadcast address is 31 and the valid host range is 17-30.

 

 

7. Which address range can be used in the first octet of a Class B network address?

A 1-126

B 1-127

C 128-190

D 128-191

E 129-192

F 192-220

D
The first octet of a Class B IP address always start with 128-191.

 

 

8. Which protocol is used to find the MAC address of a local device?

A BootP

B ICMP

C IP

D ARP

E RARP

D
The Address Resolution Protocol (ARP) is used to look up the MAC address from a known IP address.

 

 

9. How many bytes are needed to encode an Ethernet address?

A 3

B 4

C 6

D 8

E 16

C
An Ethernet address (MAC) has a length of 6 bytes (48 bits).


 

 

10. Which address range can be used in the first byte of a Class C address?

A 1-127

B 129-192

C 203-234

D 192-223

D
The first octet of a Class C IP address always start with the numbers 192-223.

 

mcqMCQPractice competitive and technical Multiple Choice Questions and Answers (MCQs) with simple and logical explanations to prepare for tests and interviews.Read More

Leave a Reply

Your email address will not be published. Required fields are marked *