Computer Network MCQ (Multiple Choice Questions)

Here are 1000 MCQs on Computer Network (Chapterwise).

1. What is a computer network?
a) A device used to display information on a computer screen
b) A collection of interconnected computers and devices that can communicate and share resources
c) A type of software used to create documents and presentations
d) The physical casing that protects a computer’s internal components
View Answer

Answer: b
Explanation: A computer network refers to a collection of computers and devices linked together to share information, resources, and services. This interconnection enables communication, data sharing, and collaboration among the devices within the network.

2. What is internet?
a) A network of interconnected local area networks
b) A collection of unrelated computers
c) Interconnection of wide area networks
d) A single network
View Answer

Answer: c
Explanation: The internet is a global network formed by connecting wide area networks (WANs), enabling worldwide communication and data sharing.

3. Which of the following is an example of Bluetooth?
a) wide area network
b) virtual private network
c) local area network
d) personal area network
View Answer

Answer: d
Explanation: Bluetooth is a wireless technology used to create a wireless personal area network for data transfer up to a distance of 10 meters. It operates on 2.45 GHz frequency band for transmission.

4. Which of the following computer networks is built on the top of another network?
a) overlay network
b) prime network
c) prior network
d) chief network
View Answer

Answer: a
Explanation: An overlay network is a computer network that is built on top of another network. Some examples of an overlay network are Virtual Private Networks (VPN) and Peer-to-Peer Networks (P2P).

5. What is the full form of OSI?
a) optical service implementation
b) open service Internet
c) open system interconnection
d) operating system interface
View Answer

Answer: c
Explanation: OSI is the abbreviation for Open System Interconnection. OSI model provides a structured plan on how applications communicate over a network, which also helps us to have a structured plan for troubleshooting. It is recognized by the ISO as the generalized model for computer network i.e. it can be modified to design any kind of computer network.

6. When a collection of various computers appears as a single coherent system to its clients, what is this called?
a) mail system
b) networking system
c) computer network
d) distributed system
View Answer

Answer: d
Explanation: A Computer network is defined as a collection of interconnected computers which uses a single technology for connection.
A distributed system is also the same as computer network but the main difference is that the whole collection of computers appears to its users as a single coherent system.
Example:- World wide web

7. How many layers are there in the ISO OSI reference model?
a) 7
b) 5
c) 4
d) 6
View Answer

Answer: a
Explanation: The seven layers in ISO OSI reference model is Application, Presentation, Session, Transport, Network, Data link and Physical layer. OSI stands for Open System Interconnect and it is a generalized model.

8. What are nodes in a computer network?
a) the computer that routes the data
b) the computer that terminates the data
c) the computer that originates the data
d) all of the mentioned
View Answer

Answer: d
Explanation: In a computer network, a node can be anything that is capable of sending data or receiving data or even routing the data to its destination. Routers, Computers and Smartphones are some examples of network nodes.

9. Which one of the following is not a function of network layer?
a) congestion control
b) error control
c) routing
d) inter-networking
View Answer

Answer: b
Explanation: In the OSI model, network layer is the third layer and it provides data routing paths for network communications. Error control is a function of the data link layer and the transport layer.

10. How is a single channel shared by multiple signals in a computer network?
a) multiplexing
b) phase modulation
c) analog modulation
d) digital modulation
View Answer

Answer: a
Explanation: In communication and computer networks, the main goal is to share a scarce resource. This is done by multiplexing, where multiple analog or digital signals are combined into one signal over a shared medium. The multiple kinds of signals are designated by the transport layer which is the layer present on a higher level than the physical layer.

11. Which of the following devices forwards packets between networks by processing the routing information included in the packet?
a) firewall
b) bridge
c) hub
d) router
View Answer

Answer: d
Explanation: A router is a networking device that forwards data packets between computer networks. Routers perform the traffic directing functions on the Internet. They make use of routing protocols like RIP to find the cheapest path to the destination.

12. What is the term for an endpoint of an inter-process communication flow across a computer network?
a) port
b) machine
c) socket
d) pipe
View Answer

Answer: c
Explanation: Socket is one end point in a two way communication link in the network. TCP layer can identify the application that data is destined to be sent by using the port number that is bound to socket.

13. How do two devices become part of a network?
a) PIDs of the processes running of different devices are same
b) a process in one device is able to exchange information with a process in another device
c) a process is active and another is inactive
d) a process is running on both devices
View Answer

Answer: b
Explanation: A computer network, or data network, is a digital telecommunications network which allows nodes to share resources. In computer networks, computing devices exchange data with each other using connections between nodes. The nodes have certain processes which enable them to share a specific type of data using a distinct protocol.

14. Which layer does the data link layer take packets from and encapsulate them into frames for transmission?
a) transport layer
b) application layer
c) network layer
d) physical layer
View Answer

Answer: c
Explanation: In computer networks, the data from application layer is sent to transport layer and is converted to segments. These segments are then transferred to the network layer and these are called packets. These packets are then sent to data link layer where they are encapsulated into frames. These frames are then transferred to physical layer where the frames are converted to bits. Error control and flow control data is inserted in the frames at the data link layer.

15. Which of this is not a network edge device?
a) Switch
b) PC
c) Smartphones
d) Servers
View Answer

Answer: a
Explanation: Network edge devices refer to host systems, which can host applications like web browser. A switch can’t operate as a host, but as a central device which can be used to manage network communication.

16. Which type of network shares the communication channel among all the machines?
a) anycast network
b) multicast network
c) unicast network
d) broadcast network
View Answer

Answer: d
Explanation: In a broadcast network, information is sent to all stations in a network whereas in a multicast network the data or information is sent to a group of stations in the network. In unicast network, information is sent to only one specific station. The broadcast address of the network is the last assigned address of the network.

17. Which topology requires a multipoint connection?
a) Ring
b) Bus
c) Star
d) Mesh
View Answer

Answer: b
Explanation: In bus topology, there is a single cable to which all the network nodes are connected. So whenever a node tries to send a message or data to other nodes, this data passes through all other nodes in the network through the cable. It is really simple to install but it’s not secure enough to be used in most of the computer network applications.

18. Which of the following maintains the Domain Name System?
a) a single server
b) a single computer
c) distributed database system
d) none of the mentioned
View Answer

Answer: c
Explanation: A domain name system is maintained by a distributed database system. It is a collection of multiple, logically interrelated databases distributed over a computer network.

19. When discussing IDS/IPS, what is a signature?
a) It refers to “normal,” baseline network behavior
b) It is used to authorize the users on a network
c) An electronic signature used to authenticate the identity of a user on the network
d) Attack-definition file
View Answer

Answer: d
Explanation: IDSes work in a manner similar to modern antivirus technology. They are constantly updated with attack-definition files (signatures) that describe each type of known malicious activity. Nemean is a popular signature generation method for conventional computer networks.

20. Which of the following are Gigabit Ethernets?
a) 1000 BASE-LX
b) 1000 BASE-CX
c) 1000 BASE-SX
d) All of the mentioned
View Answer

Answer: d
Explanation: In computer networking, Gigabit Ethernet (GbE or 1 GigE) is a term describing various technologies for transmitting Ethernet frames at a rate of a gigabit per second (1,000,000,000 bits per second), as defined by the IEEE 802.3-2008 standard. It came into use beginning in 1999, gradually supplanting Fast Ethernet in wired local networks, as a result of being considerably faster.

21. Which of the following networks extends a private network across public networks?
a) virtual private network
b) local area network
c) storage area network
d) enterprise private network
View Answer

Answer: a
Explanation: A virtual private network extends a private network across a public network, and enables users to send and receive data across shared or public networks as if their computing devices were directly connected to the private network.VPN provides enhanced security and online anonymity to users on the internet. It is also used to unblock websites which are unavailable in certain regions.

22. Which layer is responsible for process to process delivery in a general network model?
a) session layer
b) data link layer
c) transport layer
d) network layer
View Answer

Answer: c
Explanation: The role of Transport layer (Layer 4) is to establish a logical end to end connection between two systems in a network. The protocols used in Transport layer is TCP and UDP. The transport layer is responsible for segmentation of the data. It uses ports for the implementation of process-to-process delivery.

23. What does each packet contain in a virtual circuit network?
a) only source address
b) only destination address
c) full source and destination address
d) a short VC number
View Answer

Answer: d
Explanation: A short VC number also called as VCID (virtual circuit identifier) is a type of identifier which is used to distinguish between several virtual circuits in a connection oriented circuit switched network. Each virtual circuit is used to transfer data over a larger packet switched network.

24. What is the term for the data communication system within a building or campus?
a) MAN
b) LAN
c) PAN
d) WAN
View Answer

Answer: b
Explanation: LAN is an abbreviation for Local Area Network. This network interconnects computers in a small area such as schools, offices, residence etc. It is the most versatile kind of data communication system where most of the computer network concepts can be visibly used.

25. What was the name of the first network?
View Answer

Answer: b
Explanation: ARPANET stands for Advanced Research Projects Agency Networks. It was the first network to be implemented which used the TCP/IP protocol in the year 1969.

26. Which of the following is the network layer protocol for the internet?
a) hypertext transfer protocol
b) file transfer protocol
c) ethernet
d) internet protocol
View Answer

Answer: d
Explanation: There are several protocols used in Network layer. Some of them are IP, ICMP, CLNP, ARP, IPX, HRSP etc. Hypertext transfer protocol is for application layer and ethernet protocol is for data link layer.

27. Which network topology requires a central controller or hub?
a) Ring
b) Bus
c) Star
d) Mesh
View Answer

Answer: c
Explanation: In star topology, no computer is connected to another computer directly but all the computers are connected to a central hub. Every message sent from a source computer goes through the hub and the hub then forwards the message only to the intended destination computer.

28. If a link transmits 4000 frames per second, and each slot has 8 bits, what is the transmission rate of the circuit using Time Division Multiplexing (TDM)?
a) 500kbps
b) 32kbps
c) 32bps
d) 500bps
View Answer

Answer: b
Explanation: Transmission rate= frame rate * number of bits in a slot.
Given: Frame rate = 4000/sec and number of bits in slot = 8
Thus, Transmission rate = (4000 * 8) bps
= 32000bps
= 32kbps

29. Which of the following allows LAN users to share computer programs and data?
a) File server
b) Network
c) Communication server
d) Print server
View Answer

Answer: a
Explanation: A file server allows LAN users to share computer programs and data. It uses the File Transfer Protocol to provide this feature on ports 20 and 21. The file server works as a medium for the transfer.

30. What type of transmission is involved in communication between a computer and a keyboard?
a) Half-duplex
b) Full-duplex
c) Simplex
d) Automatic
View Answer

Answer: c
Explanation: In simplex transmission, data flows in single direction which in this case refers to the data flowing from the keyboard to the computer. Another example would be of the mouse where the data flows from the mouse to the computer only.

31. Which layer provides the services to user?
a) physical layer
b) presentation layer
c) session layer
d) application layer
View Answer

Answer: d
Explanation: In networking, a user mainly interacts with application layer to create and send information to other computer or network. Application layer provides the interface between applications and the network. It is the top-most layer in both the TCP/IP and the OSI model.

32. Which connection is necessary for a computer to join the internet?
a) internet society
b) internet service provider
c) different computer
d) internet architecture board
View Answer

Answer: b
Explanation: The ISPs (Internet Service Providers) are the main agents through which every computer is connected to the internet. They are licensed to allot public IP addresses to its customers in order to connect them to the internet.

33. Which of the following allows you to connect and login to a remote computer?
c) FTP
d) Telnet
View Answer

Answer: d
Explanation: Telnet provides access to the command-line interface on a remote computer. One can login to the computer from the command-line interface.

34. Which of the following is used in an attempt to render a computer resource unavailable to its intended users?
a) botnet process
b) worms attack
c) virus attack
d) denial-of-service attack
View Answer

Answer: d
Explanation: In a Denial of Service attack, the attacker won’t let the victims access the network by using a certain method that ensures that an essential network resource is unavailable to the victim. The methods that the attacker can use are vulnerability attack, bandwidth flooding and connection flooding.

Chapterwise Multiple Choice Questions on Computer Network

Computer Networks MCQ - Multiple Choice Questions and Answers

Our 1000+ MCQs focus on all topics of the Computer Network subject, covering 100+ topics. This will help you to prepare for exams, contests, online tests, quizzes, viva-voce, interviews, and certifications. You can practice these MCQs chapter by chapter starting from the 1st chapter or you can jump to any chapter of your choice.
  1. Computer Networks Introduction
  2. OSI Model
  3. Security & Physical Layer
  4. Application Layer
  5. Transport Layer
  6. Frame Relay
  7. TCP/IP Protocol Suite
  8. Networking
  9. Network Layer
  10. Wireless LAN’s, Electronic Mail and File Transfer
  11. Point to Point Protocol & Error Detection
  12. Review of Information Network and Technology
  13. Basic Foundations: Standards, Models, and Language
  14. SNMP
  15. Network Management Tools, Systems, and Engineering

1. MCQs on Computer Network Basics

The section contains Computer Network multiple choice questions and answers on network basics, access network and reference models.

  • Basics – 1
  • Basics – 2
  • Access Networks
  • Reference Models – 1
  • Reference Models – 2
  • 2. Computer Network MCQ on OSI Model

    The section contains Computer Network questions and answers on physical layer, data link layer, transport layer and network layer.

  • Physical Layer
  • Data Link Layer
  • Network Layer
  • Transport Layer
  • 3. Multiple Choice Questions on Security & Physical Layer

    The section contains Computer Network MCQs on multiplexing, topology, delays & loss, network attacks, shielded twisted pair cables, physical media, packet and circuit switching.

  • Network Topology
  • Network Topology – Set 2
  • Network Topology – Set 3
  • Multiplexing
  • Delays and Loss
  • STP (Shielded Twisted Pair) Cables
  • Network Attacks
  • Physical Media
  • Packet Switching & Circuit Switching
  • 4. MCQ on Application Layer

    The section contains Computer Network multiple choice questions and answers on application layer, http, ftp, smtp, dns, dhcp, ipsecurity, virtual private networks, smi, and telnet.

  • Application Layer – 1
  • Application Layer – 2
  • HTTP
  • HTTP & FTP
  • FTP
  • SMTP – 1
  • SMTP – 2
  • DNS
  • SSH
  • DHCP
  • IPSecurity
  • Virtual Private Networks
  • SMI
  • Telnet – 1
  • Telnet – 2
  • 5. Computer Network MCQ on Transport Layer

    The section contains Computer Network questions and answers on tcp, udp, ah and esp protocols.

  • TCP – 1
  • TCP – 2
  • UDP
  • Reliable Data Transfer
  • AH and ESP Protocols
  • 6. Computer Network MCQ on Frame Relay

    The section contains Computer Network MCQs on congestion control, virtual circuit, atm and frame relay.

  • Congestion Control
  • Virtual Circuit
  • ATM and Frame Relay
  • Frame Relay
  • ACL
  • 7. Computer Network MCQ on TCP/IP Protocol Suite

    The section contains Computer Network multiple choice questions and answers on world wide web, ipv4, ipv6 and its comparison, p2p applications, icmp, transition from ipv4 to ipv6, analyzing and designing subnet masks.

  • World Wide Web
  • IPv4
  • IPv4 Addressing
  • IPv6
  • IPv6 Addressing
  • P2P Applications
  • ICMP
  • Mail Access Protocols
  • Transition from IPV4 to IPV6
  • IPV4 and IPV6 Comparision
  • Routers and its Functionalities Basics
  • LS Routing Algorithms
  • DV Routing Algorithms
  • Analyzing Subnet Masks
  • Designing Subnet Masks
  • 8. MCQ on Networking

    The section contains Computer Network questions and answers on ip routing, ripv1 & ripv2, cryptography, ports, socket programming, cookies, web caching, internet security, packet forwarding and routing.

  • IP Routing
  • RIP v1
  • RIP v2
  • Cryptography
  • Ports
  • Socket Programming
  • Cookies
  • Web Caching
  • Packet Forwarding and Routing
  • CIDR
  • VLAN
  • Security in the Internet
  • Security Management
  • 9. Multiple Choice Questions on Network Layer

    The section contains Computer Network MCQs on ospf and its configuration, datagram networks, firewalls, ethernet, network management and utilities.

  • OSPF
  • OSPF Configuration
  • BGP
  • Broadcast Routing
  • Hierarchical Routing
  • Switches and Hubs
  • Datagram Networks
  • Firewalls
  • Network Management
  • Network Management Standards
  • Network Management Models
  • Network Utilities
  • Error Detection and Correction Techniques
  • Multiple Access Links and Protocols
  • MAC Address
  • Ethernet
  • 10. Computer Network MCQ on Wireless LAN’s, Electronic Mail and File Transfer

    The section contains Computer Network multiple choice questions and answers on wireless lan, internet, bluetooth, wimax, sonet, rtp and rpc.

  • Wireless LAN
  • Internet
  • Bluetooth
  • WiMAX
  • RTP
  • RPC
  • Symmetric Key Cryptography
  • Public Key Cryptography
  • Hash Functions
  • Digital Signatures
  • 11. Computer Network MCQ on Point to Point Protocol & Error Detection

    The section contains Computer Network questions and answers on intrusion detection systems, point to point protocols, eigrp and stp.

  • Intrusion Detection Systems
  • Cisco Lan Switches
  • PPP
  • STP
  • 12. MCQ on Review of Information Network and Technology

    The section contains MCQs on networking fundamentals, including local area networks, network node components, wide area networks, wired/wireless transmission media, and integrated services such as ISDN and broadband.

  • Local Area Networks
  • Network Node Components
  • Wide Area Networks
  • Wired/Wireless Transmission Media
  • Integrated Services: ISDN and Broadband
  • 13. Basic Foundations: Standards, Models, and Language

    The section contains Computer Network Management questions and answers on abstract syntax notation one and functional model.

  • Abstract Syntax Notation One (ASN.1)
  • Functional Model
  • 14. Computer Network MCQ on SNMP

    The section contains Computer Network multiple choice questions and answers on SNMP (Simple Network Management Protocol), including SNMP management, SNMP operations, SNMPv2 protocol, SNMPv3 features, SNMPv3 user-based security model, remote network monitoring, and RMON1.

  • SNMP
  • SNMP Management
  • SNMP Operations
  • SNMPv2 Protocol
  • SNMPv3 Features
  • SNMPv3 User-based Security Model
  • Remote Network Monitoring
  • RMON1
  • 15. MCQ on Network Management Tools, Systems, and Engineering

    The section covers various topics related to network management, including system utilities for management, network statistics measurement systems, NMS (Network Management System) design, and Telecommunication Network Management (TMN).

  • System Utilities for Management
  • Network Statistics Measurement Systems
  • NMS Design
  • Telecommunication Network Management (TMN)
  • If you would like to learn "Computer Network" thoroughly, you should attempt to work on the complete set of 1000+ MCQs - multiple choice questions and answers mentioned above. It will immensely help anyone trying to crack an exam or an interview.

    Wish you the best in your endeavor to learn and master Computer Network!

    Manish Bhojasia - Founder & CTO at Sanfoundry
    Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

    Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.