Engineering, Management, Agriculture and Veterinary MCQs are now live. FPSC, PPSC, EPE, IELTS & GRE coming soon.

Computer Networks: Network Devices

Electrical Engineering · Computer Networks

26 questions, each with the answer and a worked solution.

Practice interactively and track your score →
Question 1

Which network device forwards data packets between different Internet Protocol networks?

  1. Router
  2. Modem
  3. Bridge
  4. Repeater
Show answer & solution

Answer: (A) Router

Routers choose paths using routing tables.

Question 2

Which device forwards frames only to the port where the destination MAC address is located?

  1. Modem
  2. Repeater
  3. Hub
  4. Switch
Show answer & solution

Answer: (D) Switch

Switches learn MAC addresses from incoming frames.

Question 3

What does a hub do with incoming data?

  1. Encrypts it
  2. Routes it between networks
  3. Sends it only to the destination port
  4. Sends it to all connected ports
Show answer & solution

Answer: (D) Sends it to all connected ports

Hubs create one large collision domain.

Question 4

What is the function of a repeater?

  1. To assign IP addresses
  2. To route packets
  3. To regenerate and amplify signals to extend network distance
  4. To filter by MAC address
Show answer & solution

Answer: (C) To regenerate and amplify signals to extend network distance

Repeaters work at the physical layer.

Question 5

What does a bridge do?

  1. Connects two LAN segments and filters traffic using MAC addresses
  2. Assigns IP addresses
  3. Routes packets between networks
  4. Amplifies signals only
Show answer & solution

Answer: (A) Connects two LAN segments and filters traffic using MAC addresses

Switches are multiport bridges.

Question 6

What is a modem?

  1. A firewall
  2. A device that modulates and demodulates signals for transmission over telephone or cable lines
  3. A router only
  4. A switch
Show answer & solution

Answer: (B) A device that modulates and demodulates signals for transmission over telephone or cable lines

DSL and cable modems connect homes to ISPs.

Question 7

What is a gateway in networking?

  1. A device or node that connects networks using different protocols
  2. A repeater
  3. A switch port only
  4. A simple cable
Show answer & solution

Answer: (A) A device or node that connects networks using different protocols

The default gateway is the router used to leave a local network.

Question 8

What is a wireless access point?

  1. A printer
  2. A modem only
  3. A wired switch only
  4. A device that connects wireless clients to a wired network
Show answer & solution

Answer: (D) A device that connects wireless clients to a wired network

Access points use Wi-Fi standards.

Question 9

What does a firewall do?

  1. Converts digital to analog
  2. Amplifies signals
  3. Filters network traffic according to security rules
  4. Assigns IP addresses
Show answer & solution

Answer: (C) Filters network traffic according to security rules

Firewalls protect networks from unauthorised access.

Question 10

What is a network interface card (NIC)?

  1. A storage device
  2. Hardware that connects a computer to a network
  3. A display card
  4. A power supply
Show answer & solution

Answer: (B) Hardware that connects a computer to a network

Each NIC has a unique MAC address.

Question 11

How does a switch improve network performance compared with a hub?

  1. It broadcasts all data
  2. It adds collisions
  3. Each switch port forms its own collision domain
  4. It slows all traffic
Show answer & solution

Answer: (C) Each switch port forms its own collision domain

Full-duplex switched links avoid collisions completely.

Question 12

Which device separates broadcast domains in a network?

  1. Repeater
  2. Unmanaged switch without VLANs
  3. Hub
  4. Router
Show answer & solution

Answer: (D) Router

Broadcasts are not forwarded by routers.

Question 13

What is a VLAN?

  1. A logical grouping of switch ports into separate broadcast domains
  2. A physical cable
  3. A wireless network only
  4. A type of router
Show answer & solution

Answer: (A) A logical grouping of switch ports into separate broadcast domains

VLANs improve security and traffic management.

Question 14

What is a layer 3 switch?

  1. A repeater
  2. A switch that can also perform routing between VLANs
  3. A modem
  4. A hub
Show answer & solution

Answer: (B) A switch that can also perform routing between VLANs

It combines switching and routing at high speed.

Question 15

What is the main function of a load balancer?

  1. Encrypting traffic
  2. Distributing traffic across multiple servers
  3. Assigning MAC addresses
  4. Amplifying signals
Show answer & solution

Answer: (B) Distributing traffic across multiple servers

It improves availability and performance.

Question 16

Which device converts optical signals into electrical signals in fibre-to-the-home connections?

  1. Hub
  2. Bridge
  3. Repeater for copper only
  4. Optical network terminal (ONT)
Show answer & solution

Answer: (D) Optical network terminal (ONT)

The ONT connects to the home router.

Question 17

What is a proxy server?

  1. A switch
  2. A repeater
  3. A server that acts as an intermediary for client requests to other servers
  4. A cable
Show answer & solution

Answer: (C) A server that acts as an intermediary for client requests to other servers

Proxies can cache content and filter traffic.

Question 18

What is the main function of a network switch's MAC address table?

  1. To map MAC addresses to switch ports
  2. To map IP addresses to names
  3. To store routing tables between networks
  4. To store passwords
Show answer & solution

Answer: (A) To map MAC addresses to switch ports

The table is built by learning source addresses.

Question 19

What is the main difference between a managed and an unmanaged switch?

  1. A managed switch can be configured for VLANs, monitoring and security; an unmanaged switch works only with default settings
  2. They are identical
  3. An unmanaged switch is faster always
  4. A managed switch has no ports
Show answer & solution

Answer: (A) A managed switch can be configured for VLANs, monitoring and security; an unmanaged switch works only with default settings

Managed switches are used in enterprise networks.

Question 20

What is Power over Ethernet (PoE)?

  1. Sending data over power lines
  2. A type of router
  3. Using fibre for power
  4. Supplying DC power to devices such as cameras and access points through the Ethernet cable
Show answer & solution

Answer: (D) Supplying DC power to devices such as cameras and access points through the Ethernet cable

PoE switches power IP phones and CCTV cameras.

Question 21

Which device is commonly installed at a home to connect to an ISP and share the connection over Wi-Fi?

  1. A hub only
  2. A repeater only
  3. A wireless router (often combined with a modem)
  4. A bridge only
Show answer & solution

Answer: (C) A wireless router (often combined with a modem)

It also provides DHCP and NAT.

Question 22

What is a Wi-Fi range extender?

  1. A modem
  2. A device that receives and retransmits Wi-Fi signals to extend coverage
  3. A firewall
  4. A router for WANs
Show answer & solution

Answer: (B) A device that receives and retransmits Wi-Fi signals to extend coverage

Mesh Wi-Fi systems improve coverage more effectively.

Question 23

What is a routing table?

  1. A list of MAC addresses
  2. A list of passwords
  3. A list of users
  4. A list of network destinations and the next hops used to reach them
Show answer & solution

Answer: (D) A list of network destinations and the next hops used to reach them

Routers build routing tables manually or with routing protocols.

Question 24

What is the function of an optical transceiver (SFP module)?

  1. To display video
  2. To store data
  3. To convert electrical signals to optical signals and back for fibre links on switches and routers
  4. To provide power
Show answer & solution

Answer: (C) To convert electrical signals to optical signals and back for fibre links on switches and routers

SFP modules are hot-pluggable.

Question 25

Which device operates at all seven OSI layers and can translate between different protocols?

  1. Hub
  2. Gateway
  3. Switch
  4. Repeater
Show answer & solution

Answer: (B) Gateway

Gateways connect dissimilar networks.

Question 26

What is a network attached storage (NAS) device?

  1. A storage device connected to a network that provides file access to users
  2. A router
  3. A modem
  4. A switch
Show answer & solution

Answer: (A) A storage device connected to a network that provides file access to users

NAS devices are used for shared files and backups.

Practice these 26 questions interactively →