COMPUTER NETWORK MCQS
What does “LAN” stand for in computer networks?Local Area NetworkLarge Access NetworkLine Area NodeLinked Automatic NetworkA – Local Area Network (covers small area like office or home).A – Local Area Network (covers small area like office or home).
Which device forwards packets based on MAC address?HubSwitchRouterGatewayB) SwitchSwitches work at Layer 2 of the OSI model and forward frames based on MAC addresses.
In networking, TCP stands for:Transmission Control ProtocolTransport Communication PathTransfer Control ProgramTransmission Computer ProtocolA) Transmission Control ProtocolTCP is a reliable transport layer protocol used for connection-oriented communication.
IP address 192.168.1.1 belongs to which class?Class AClass BClass CClass DC) Class CIP addresses from 192.0.0.0 to 223.255.255.255 fall under Class C.
Which layer of OSI model ensures end-to-end delivery?NetworkTransportSessionData LinkB) TransportThe Transport layer is responsible for reliable end-to-end delivery of data.
DNS is used to:Translate domain names to IP addressesSend emailEncrypt dataProvide routingA) Translate domain names to IP addressesDNS resolves human-readable domain names into IP addresses.
The protocol used for secure communication over the internet is:HTTPFTPHTTPsTelnetC) HTTPSHTTPS uses SSL/TLS for secure encrypted communication over the web.
Which layer of the OSI model handles routing?Application LayerTransport LayerNetwork LayerData Link LayerC) Network LayerThe network layer is responsible for logical addressing and routing packets between networks.
Which device operates at the Data Link layer?SwitchRouterHubGatewayA) SwitchSwitches use MAC addresses and operate at Layer 2 (Data Link) of the OSI model.
Which of these is a connectionless protocol?TCPUDPFTPSMTPB) UDPUDP (User Datagram Protocol) is connectionless and does not guarantee delivery.
DNS is used for:Assigning IP addressesTranslating domain names to IP addressesRouting packetsEncrypting dataB) Translating domain names to IP addressesDNS converts human-readable domain names into machine-readable IPs.
Which device is used to connect different networks with different protocols?SwitchBridgeGatewayRepeaterC) GatewayGateways connect networks using different protocols and translate data formats.
The main function of ARP is:Resolve IP to MAC addressResolve MAC to IP addressRoute packetsProvide encryptionA) Resolve IP to MAC addressARP maps logical IP addresses to physical MAC addresses in a local network.
Which topology has a single point of failure?RingStarMeshHybridB) StarIn star topology, failure of the central hub or switch brings down the entire network.
Which protocol is used for email transmission?HTTPSMTPFTPSNMPB) SMTPSimple Mail Transfer Protocol (SMTP) sends emails between mail servers.