computer network banner

Computer Network Multiple Choice Questions (MCQs) and Answers

Master Computer Network with Practice MCQs. Explore our curated collection of Multiple Choice Questions. Ideal for placement and interview preparation, our questions range from basic to advanced, ensuring comprehensive coverage of Computer Network. Begin your placement preparation journey now!

Q1

Q1 What is the fundamental purpose of a computer network?

A

Sharing resources

B

Storing data

C

Performing calculations

D

Enhancing security

Q2

Q2 Which topology does the Internet resemble?

A

Ring

B

Bus

C

Star

D

Mesh

Q3

Q3 What type of network covers a large geographical area, like a city, country, or the world?

A

LAN

B

MAN

C

WAN

D

PAN

Q4

Q4 Which device is used to connect different network segments in a computer network?

A

Repeater

B

Router

C

Bridge

D

Modem

Q5

Q5 What protocol is commonly used for transmitting web pages over the internet?

A

SMTP

B

FTP

C

HTTP

D

SNMP

Q6

Q6 Which layer of the OSI model ensures the error-free transmission of data?

A

Physical Layer

B

Data Link Layer

C

Network Layer

D

Transport Layer

Q7

Q7 In a computer network, what is the main function of the application layer?

A

To provide network services to the applications

B

To transmit data between network devices

C

To package data for transfer

D

To route data between networks

Q8

Q8 Which command can be used to view the current IP configuration of a device?

A

ipconfig

B

ifconfig

C

Both ipconfig and ifconfig

D

netstat

Q9

Q9 What is the result of executing the ping localhost command?

A

It sends ICMP echo requests to the local machine

B

It configures the local machine's IP address

C

It displays the routing table

D

It clears the DNS cache

Q10

Q10 If a computer is unable to access the Internet, but can communicate with local network devices, what should be checked first?

A

Router configuration

B

Cable connections

C

Local firewall settings

D

DNS settings

Q11

Q11 A computer can ping IP addresses but not domain names.
What is likely the issue?

A

IP conflict

B

Router failure

C

DNS misconfiguration

D

Faulty Ethernet cable

Q12

Q12 Which layer of the OSI model is responsible for establishing, managing, and terminating sessions between applications?

A

Session Layer

B

Transport Layer

C

Application Layer

D

Presentation Layer

Q13

Q13 What is the primary function of the Network Layer in the OSI model?

A

To provide data routing paths for network communication

B

To format data

C

To establish connections

D

To encode and decode data

Q14

Q14 In the TCP/IP model, which layer corresponds to the OSI model's Physical and Data Link layers?

A

Application

B

Transport

C

Internet

D

Network Interface

Q15

Q15 The process of encapsulation involves data moving from which layer to which layer?

A

Application to Physical

B

Physical to Application

C

Transport to Network

D

Network to Transport

Q16

Q16 Which OSI layer is responsible for error detection and correction at the destination?

A

Transport

B

Network

C

Data Link

D

Physical

Q17

Q17 What does the TCP/IP model's Internet layer do?

A

Manages end-to-end data communication sessions

B

Routes packets across networks

C

Formats data packets

D

Encodes and decodes data

Q18

Q18 Which protocol operates at the Transport Layer of the OSI model to ensure reliable communication?

A

ICMP

B

IP

C

TCP

D

UDP

Q19

Q19 How does the Presentation Layer of the OSI model differ from the Application Layer?

A

It is responsible for session management

B

It deals with syntax and semantics of the information exchanged

C

It provides encryption and compression

D

It is not implemented in the TCP/IP model

Q20

Q20 What feature distinguishes TCP from UDP at the Transport Layer?

A

TCP is faster than UDP

B

TCP and UDP use different port numbers

C

TCP is connection-oriented while UDP is not

D

TCP uses IP but UDP does not

Q21

Q21 Which command can be used to display the current TCP/IP network configuration?

A

ipconfig /all

B

netstat -r

C

arp -a

D

tracert

Q22

Q22 What does the netstat command do?

A

Displays network connections, routing tables, and statistics

B

Configures network interfaces

C

Tests connectivity to a host

D

Manages firewall settings

Q23

Q23 Which command is used to test connectivity to a specific IP address and trace the path the packets take?

A

ping

B

arp

C

tracert

D

nslookup

Q24

Q24 A device is unable to connect to any network. Which OSI layer should be investigated first?

A

Application

B

Presentation

C

Network

D

Physical

Q25

Q25 If a computer can connect to local devices but not to the Internet, what might be misconfigured?

A

IP address

B

Subnet mask

C

Default gateway

D

MAC address

Q26

Q26 A web application can send data but cannot receive.
What layer could be malfunctioning?

A

Application

B

Session

C

Transport

D

Presentation

Q27

Q27 What is the primary function of the MAC (Media Access Control) sublayer?

A

Frame delimiting

B

Error detection

C

Controlling access to the physical medium

D

Physical addressing

Q28

Q28 What is the standard Ethernet frame size for most networks?

A

64 bytes to 1518 bytes

B

128 bytes to 1024 bytes

C

1500 bytes to 2000 bytes

D

100 bytes to 1500 bytes

Q29

Q29 In Ethernet networks, what is the purpose of the collision detection mechanism?

A

To encrypt data

B

To compress data

C

To detect and manage when two devices try to send data simultaneously

D

To prioritize data

Q30

Q30 Which Ethernet standard provides a speed of 1 Gbps?

A

10BaseT

B

100BaseTX

C

1000BaseT

D

10GBaseT

ad vertical
ad