A computer network is a system that connects different devices to share information and resources. It is essential in both personal and professional settings, allowing everything from sending emails to accessing websites. To help you better understand computer networks, practicing with computer network MCQ is a great way to test your knowledge. These questions cover key topics like network types, devices, and protocols, making it easier to learn and remember important concepts. In this article, we’ll explore the basics of computer networks and help you prepare with useful MCQs for deeper understanding.
60 Computer Network MCQ
- What does LAN stand for?
a) Large Area Network
b) Local Area Network
c) Light Area Network
d) Last Area Network
Answer: b) Local Area Network
- Which device is used to connect two networks together?
a) Switch
b) Router
c) Hub
d) Modem
Answer: b) Router
- What is the main purpose of the OSI model?
a) Routing data packets
b) Providing network security
c) Standardizing network functions
d) Ensuring data integrity
Answer: c) Standardizing network functions
- Which layer of the OSI model is responsible for end-to-end communication?
a) Data Link Layer
b) Network Layer
c) Transport Layer
d) Application Layer
Answer: c) Transport Layer
- Which of the following is a protocol at the Transport Layer?
a) IP
b) HTTP
c) TCP
d) DNS
Answer: c) TCP
- What is the function of the Data Link Layer in the OSI model?
a) Provides encryption
b) Controls the flow of data between devices
c) Routes data to its destination
d) Ensures the data is correctly received by the application
Answer: b) Controls the flow of data between devices
- What is the main purpose of a router in a network?
a) To switch between devices
b) To connect networks and route data
c) To amplify signals
d) To encrypt data
Answer: b) To connect networks and route data
- Which protocol is responsible for resolving domain names to IP addresses?
a) FTP
b) DNS
c) HTTP
d) DHCP
Answer: b) DNS
- Which of the following is NOT a valid IP address?
a) 192.168.1.1
b) 255.255.255.0
c) 999.999.999.999
d) 10.0.0.1
Answer: c) 999.999.999.999
- Which topology has a central device that connects all nodes in a network?
a) Ring Topology
b) Bus Topology
c) Star Topology
d) Mesh Topology
Answer: c) Star Topology
- What does WAN stand for?
a) Wide Area Network
b) Web Area Network
c) Wireless Area Network
d) World Area Network
Answer: a) Wide Area Network
- Which of the following is an example of a WAN?
a) Ethernet network in an office
b) The internet
c) Local network in a building
d) Bluetooth network
Answer: b) The internet
- Which protocol is used to securely transfer data over the internet?
a) FTP
b) HTTP
c) HTTPS
d) SMTP
Answer: c) HTTPS
- What is the maximum range of a typical Bluetooth PAN?
a) 1 meter
b) 10 meters
c) 100 meters
d) 1000 meters
Answer: b) 10 meters
- Which device works at the Data Link Layer?
a) Router
b) Hub
c) Switch
d) Modem
Answer: c) Switch
- What is the function of a hub in a network?
a) Amplifies signals
b) Routes data
c) Directs data to specific devices
d) Broadcasts data to all connected devices
Answer: d) Broadcasts data to all connected devices
- Which of the following is a private IP address range?
a) 192.168.1.0 to 192.168.1.255
b) 10.0.0.0 to 10.255.255.255
c) 172.16.0.0 to 172.31.255.255
d) All of the above
Answer: d) All of the above
- Which layer of the OSI model provides end-user services?
a) Application Layer
b) Transport Layer
c) Network Layer
d) Physical Layer
Answer: a) Application Layer
- Which of the following is a type of network topology that involves all devices being connected in a circle?
a) Mesh
b) Star
c) Bus
d) Ring
Answer: d) Ring
- What is the primary role of the Network Layer in the OSI model?
a) Routing and forwarding data packets
b) Error detection and correction
c) Data encryption
d) Establishing and terminating connections
Answer: a) Routing and forwarding data packets
- What does the term ‘IP Address’ stand for?
a) Internet Protocol Address
b) Internal Process Address
c) Internet Processing Address
d) Internet Protocol Assignment
Answer: a) Internet Protocol Address
- Which of the following is used for error detection at the Data Link Layer?
a) CRC (Cyclic Redundancy Check)
b) TCP
c) DNS
d) IP
Answer: a) CRC (Cyclic Redundancy Check)
- What is the primary function of a switch in a network?
a) Connects two different networks
b) Directs data to the correct port on a device
c) Encrypts data
d) Routes data across the network
Answer: b) Directs data to the correct port on a device
- Which of the following protocols works at the Application Layer?
a) HTTP
b) TCP
c) IP
d) Ethernet
Answer: a) HTTP
- Which layer is responsible for converting data into a format that can be understood by the receiving device?
a) Transport Layer
b) Session Layer
c) Presentation Layer
d) Application Layer
Answer: c) Presentation Layer
- Which protocol is responsible for ensuring reliable data transfer?
a) UDP
b) TCP
c) IP
d) ARP
Answer: b) TCP
- Which of the following network devices operates at Layer 3 of the OSI model?
a) Router
b) Hub
c) Switch
d) Modem
Answer: a) Router
- What is the primary function of the Transport Layer?
a) Encrypting data
b) Ensuring reliable communication
c) Routing data packets
d) Error detection
Answer: b) Ensuring reliable communication
- Which IP address is used to send data to all devices in a network?
a) Unicast
b) Broadcast
c) Anycast
d) Multicast
Answer: b) Broadcast
- Which of the following is used to connect a network to the internet?
a) Switch
b) Router
c) Hub
d) Modem
Answer: b) Router
- What is the main purpose of a firewall?
a) To prevent unauthorized access
b) To route data across networks
c) To amplify signals
d) To store data
Answer: a) To prevent unauthorized access
- Which of the following is a common addressing scheme used in the internet?
a) MAC address
b) IPv4
c) Layer 2 address
d) ARP address
Answer: b) IPv4
- Which type of IP address is unique and globally routable?
a) Public IP address
b) Private IP address
c) Loopback address
d) Reserved IP address
Answer: a) Public IP address
- Which protocol is used for file transfer over the internet?
a) SMTP
b) FTP
c) SNMP
d) ICMP
Answer: b) FTP
- Which device is used to convert digital signals to analog signals?
a) Switch
b) Modem
c) Router
d) Hub
Answer: b) Modem
- What is the main function of the Physical Layer in the OSI model?
a) Error detection
b) Data encryption
c) Transmitting raw data bits
d) Routing data packets
Answer: c) Transmitting raw data bits
- What is the purpose of a DHCP server?
a) To assign IP addresses dynamically
b) To convert IP addresses to MAC addresses
c) To route data packets
d) To manage network security
Answer: a) To assign IP addresses dynamically
- Which network device can be used to segment a network into smaller collision domains?
a) Switch
b) Hub
c) Router
d) Bridge
Answer: a) Switch
- What is a common use of the TCP/IP protocol suite?
a) File transfers
b) Web browsing
c) Email
d) All of the above
Answer: d) All of the above
- Which IP address is used to refer to the local device in a network?
a) Loopback IP address
b) Public IP address
c) Private IP address
d) Anycast IP address
Answer: a) Loopback IP address
- Which of the following is used to identify the devices in a network uniquely?
a) IP address
b) Port number
c) MAC address
d) Subnet mask
Answer: c) MAC address
- Which protocol is used for sending email?
a) SMTP
b) HTTP
c) FTP
d) DNS
Answer: a) SMTP
- Which of the following is NOT a network topology?
a) Star
b) Mesh
c) Ladder
d) Bus
Answer: c) Ladder
- Which layer of the OSI model handles encryption and data formatting?
a) Application Layer
b) Presentation Layer
c) Session Layer
d) Transport Layer
Answer: b) Presentation Layer
- Which of the following provides a unique address for devices on a network?
a) MAC address
b) IP address
c) Port number
d) Both a and b
Answer: d) Both a and b
- What is the purpose of NAT (Network Address Translation)?
a) To assign dynamic IP addresses to devices
b) To translate private IP addresses to public IP addresses
c) To route packets to their destination
d) To provide encryption
Answer: b) To translate private IP addresses to public IP addresses
- Which protocol ensures that data is reliably transferred between a source and destination?
a) UDP
b) TCP
c) FTP
d) ICMP
Answer: b) TCP
- What does VPN stand for?
a) Virtual Private Network
b) Virtual Public Network
c) Virtual Protected Network
d) Variable Path Network
Answer: a) Virtual Private Network
- What is the primary use of a gateway in a network?
a) Connecting devices to the internet
b) Routing data packets between different networks
c) Amplifying signals
d) Connecting different network protocols
Answer: b) Routing data packets between different networks
- Which of the following is a Layer 4 protocol?
a) IP
b) Ethernet
c) TCP
d) HTTP
Answer: c) TCP
- Which of the following is true about IP addresses?
a) An IP address can change over time
b) An IP address is a permanent identifier for a device
c) An IP address is the same as a MAC address
d) IP addresses are not required for communication
Answer: a) An IP address can change over time
- Which of the following is true about TCP?
a) TCP is unreliable
b) TCP guarantees the delivery of data packets
c) TCP does not use flow control
d) TCP works at Layer 2
Answer: b) TCP guarantees the delivery of data packets
- Which of the following is a type of packet-switched network?
a) Ethernet
b) DSL
c) Telephone network
d) Internet
Answer: d) Internet
- What is a primary function of the Session Layer?
a) Establishing, maintaining, and terminating sessions
b) Routing data
c) Encrypting data
d) Error checking
Answer: a) Establishing, maintaining, and terminating sessions
- Which protocol is used for real-time communication like video calls?
a) HTTP
b) FTP
c) SIP
d) SMTP
Answer: c) SIP
- Which of the following devices is used for connecting different segments of a network?
a) Router
b) Switch
c) Hub
d) Bridge
Answer: d) Bridge
- Which of the following is an advantage of using a star topology?
a) Easy to expand
b) Requires less cabling
c) Lower cost
d) Difficult to troubleshoot
Answer: a) Easy to expand
- Which of the following protocols is used to assign IP addresses automatically?
a) DHCP
b) DNS
c) HTTP
d) SMTP
Answer: a) DHCP
- Which IP address is used to refer to the device’s local network interface?
a) 127.0.0.1
b) 192.168.0.1
c) 255.255.255.0
d) 0.0.0.0
Answer: a) 127.0.0.1
- What type of transmission does UDP use?
a) Reliable, connection-oriented
b) Reliable, connectionless
c) Unreliable, connectionless
d) Unreliable, connection-oriented
Answer: c) Unreliable, connectionless
Wrapping Up
Understanding computer networks is crucial for anyone interested in technology, whether you’re a student, professional, or simply someone looking to learn more about how devices communicate. Reading computer network MCQ is an excellent way to test your knowledge and strengthen your grasp of key networking concepts. By regularly practicing these questions, you can boost your confidence and better prepare for exams or certifications. As you continue learning, keep revisiting different topics and challenge yourself with new questions to ensure you master the fundamentals of computer networks and stay up to date with evolving technologies.