Computer Networking MCQs

Computer

Computer Networking MCQs

Practice Computer Networking MCQs covering LAN, MAN, WAN, PAN, topology, modem, router, hub, switch and IP address concepts.

325
Total Questions

Practice Questions

Page 1 of 17
Question #1
What is the full form of LAN in computer networking?
A. Large Area Network
B. Link Area Network
C. Local Area Network
D. Local Access Network

Correct Answer: Option C


Explanation:
LAN stands for Local Area Network, which connects computers within a limited geographical area.

This question belongs to: Computer Computer Networking
Question #2
Which network type covers a city or metropolitan area?
A. PAN
B. WAN
C. MAN
D. LAN

Correct Answer: Option C


Explanation:
MAN (Metropolitan Area Network) spans a city or large campus, larger than LAN but smaller than WAN.

This question belongs to: Computer Computer Networking
Question #3
What is the maximum distance covered by a typical WAN?
A. Up to 100 km
B. Up to 1000 km or more
C. Up to 1 km
D. Up to 10 km

Correct Answer: Option B


Explanation:
WAN (Wide Area Network) spans large geographical areas, often countries or continents.

This question belongs to: Computer Computer Networking
Question #4
Which network is used for connecting personal devices like a smartphone and smartwatch?
A. LAN
B. WAN
C. MAN
D. PAN

Correct Answer: Option D


Explanation:
PAN (Personal Area Network) is designed for short-range communication among personal devices, typically within 10 meters.

This question belongs to: Computer Computer Networking
Question #5
In a star topology, all devices are connected to a central device, which is usually a:
A. Router
B. Modem
C. Hub or switch
D. Bridge

Correct Answer: Option C


Explanation:
In star topology, each node connects to a central hub or switch, making it easy to manage.

This question belongs to: Computer Computer Networking
Question #6
Which topology connects each device to exactly two other devices, forming a circular path?
A. Ring topology
B. Star topology
C. Mesh topology
D. Bus topology

Correct Answer: Option A


Explanation:
Ring topology has each device connected to two others in a closed loop, with data passing in one direction.

This question belongs to: Computer Computer Networking
Question #7
What is the main disadvantage of a bus topology?
A. Difficult to add new devices
B. Requires a central hub
C. Single point of failure in the backbone
D. High cost

Correct Answer: Option C


Explanation:
In bus topology, if the main cable (backbone) fails, the entire network goes down.

This question belongs to: Computer Computer Networking
Question #8
Which device connects different networks and forwards data packets based on IP addresses?
A. Hub
B. Modem
C. Switch
D. Router

Correct Answer: Option D


Explanation:
A router operates at the network layer and routes packets between different networks using IP addresses.

This question belongs to: Computer Computer Networking
Question #9
At which layer of the OSI model does a hub operate?
A. Physical layer
B. Data link layer
C. Application layer
D. Network layer

Correct Answer: Option A


Explanation:
A hub is a physical layer device that simply repeats signals to all ports without any intelligence.

This question belongs to: Computer Computer Networking
Question #10
Which device operates at the data link layer and uses MAC addresses to forward data?
A. Gateway
B. Switch
C. Hub
D. Router

Correct Answer: Option B


Explanation:
A switch uses MAC addresses to forward frames within a local network, operating at layer 2.

This question belongs to: Computer Computer Networking
Question #11
What does a modem do?
A. Assigns IP addresses
B. Connects a LAN to a WAN by converting digital signals to analog and vice versa
C. Filters network traffic
D. Amplifies signals

Correct Answer: Option B


Explanation:
A modem (modulator-demodulator) converts digital data from a computer to analog for transmission over telephone lines and vice versa.

This question belongs to: Computer Computer Networking
Question #12
Which of the following is a private IP address range?
A. 10.0.0.0 to 10.255.255.255
B. 172.15.0.0 to 172.31.255.255
C. 203.0.113.0 to 203.0.113.255
D. 192.168.0.0 to 192.168.255.255

Correct Answer: Option A


Explanation:
10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 are private IP ranges. 10.x.x.x is valid.

This question belongs to: Computer Computer Networking
Question #13
Which IP address class has the first octet range of 1 to 126?
A. Class C
B. Class D
C. Class A
D. Class B

Correct Answer: Option C


Explanation:
Class A addresses range from 1.0.0.0 to 126.255.255.255, with first bit 0.

This question belongs to: Computer Computer Networking
Question #14
What is the default subnet mask for a Class C IP address?
A. 255.255.255.255
B. 255.255.0.0
C. 255.255.255.0
D. 255.0.0.0

Correct Answer: Option C


Explanation:
Class C has a default subnet mask of 255.255.255.0, providing up to 254 hosts.

This question belongs to: Computer Computer Networking
Question #15
Which network topology provides the highest redundancy because each device is connected to every other?
A. Bus
B. Ring
C. Mesh
D. Star

Correct Answer: Option C


Explanation:
Full mesh topology connects each node to every other, offering multiple paths and high redundancy.

This question belongs to: Computer Computer Networking
Question #16
What is the maximum number of hosts per network in a Class C IP address?
A. 254
B. 126
C. 65534
D. 16,777,214

Correct Answer: Option A


Explanation:
Class C provides 8 bits for hosts (2^8 - 2 = 254 usable hosts).

This question belongs to: Computer Computer Networking
Question #17
Which OSI layer is responsible for routing and logical addressing?
A. Transport layer
B. Session layer
C. Data link layer
D. Network layer

Correct Answer: Option D


Explanation:
The network layer (Layer 3) handles routing and logical addressing like IP addresses.

This question belongs to: Computer Computer Networking
Question #18
What is a MAC address?
A. A 32-bit logical address
B. A 64-bit address used for IPv6
C. A 16-bit port number
D. A 48-bit physical address burned into the NIC

Correct Answer: Option D


Explanation:
MAC (Media Access Control) address is a 48-bit unique identifier assigned to network interfaces.

This question belongs to: Computer Computer Networking
Question #19
Which device is used to connect multiple network segments and reduce collision domains?
A. Switch
B. Hub
C. Repeater
D. Modem

Correct Answer: Option A


Explanation:
A switch isolates each port into a separate collision domain, reducing collisions.

This question belongs to: Computer Computer Networking
Question #20
What is the range of port numbers for well-known (system) ports in TCP/IP?
A. 49152 to 65535
B. 0 to 1023
C. 1024 to 49151
D. 1 to 255

Correct Answer: Option B


Explanation:
Well-known ports are 0-1023, registered ports 1024-49151, and dynamic/private ports 49152-65535.

This question belongs to: Computer Computer Networking