Practice Information Networks MCQs for Bahria University Entry Test computer science — topic-wise sets with solved answers.
Q1. What is the primary function of the ARP protocol in a network?
Answer: To resolve IP addresses to MAC addresses
Explanation: ARP protocol maps IP addresses to MAC addresses using a broadcast request, enabling devices to communicate at the data link layer.
Q2. Which of the following is a characteristic of a connectionless protocol?
Answer: No handshake required
Explanation: Connectionless protocols, like UDP, do not require a handshake or connection establishment before data transfer.
Q3. What is the purpose of the subnet mask in IP addressing?
Answer: To determine the network ID
Explanation: The subnet mask is applied to an IP address using bitwise AND to determine the network ID and subnet.
Q4. In the context of network topologies, what is a characteristic of a star topology?
Answer: Devices are connected to a central hub
Explanation: In a star topology, all devices are connected to a central device, typically a hub or switch, simplifying management and fault isolation.
Q5. What is the primary difference between TCP and UDP?
Answer: TCP guarantees delivery, UDP does not
Explanation: TCP ensures reliable data transfer through acknowledgments and retransmissions, whereas UDP provides best-effort delivery without guarantees.
Q6. Which protocol is used for sending emails?
Answer: SMTP
Explanation: SMTP (Simple Mail Transfer Protocol) is used for sending and receiving email between email servers and clients.
Q7. What is the function of the DHCP protocol in a network?
Answer: To assign IP addresses dynamically
Explanation: DHCP (Dynamic Host Configuration Protocol) assigns IP addresses and other network settings to devices on a network dynamically.
Q8. In a network, what is a collision domain?
Answer: A domain where data collisions can occur
Explanation: A collision domain is a network segment where data packets can collide with each other, typically in a shared Ethernet network.
Q9. What is the role of a router in a network?
Answer: To connect multiple networks together
Explanation: Routers connect multiple networks, routing traffic between them based on network addresses and routing tables.
Q10. Which of the following is a type of network attack?
Answer: All of the above
Explanation: All options (Virus, Worm, DDoS) are types of network attacks or malware that can compromise network security.
Q11. What is the purpose of the traceroute command?
Answer: To diagnose network path and latency
Explanation: Traceroute is used to diagnose the path taken by packets across a network, showing each hop and associated latency.
Q12. In IPv4, how many bits are used for the IP address?
Answer: 32 bits
Explanation: IPv4 addresses are 32 bits long, typically represented in dotted decimal notation.
Q13. What is the main function of the transport layer in the OSI model?
Answer: To ensure reliable data transfer
Explanation: The transport layer ensures reliable data transfer between devices, providing error detection and correction.
Q14. Which protocol is used for file transfer over the internet?
Answer: FTP
Explanation: FTP (File Transfer Protocol) is used for transferring files between devices over a network.
Q15. What is the purpose of the ping command?
Answer: To test network connectivity
Explanation: Ping is used to test network connectivity by sending ICMP echo requests to a destination and measuring response times.
Q16. In the context of network security, what is a firewall?
Answer: A system that monitors and controls network traffic
Explanation: A firewall is a network security system that monitors and controls incoming and outgoing network traffic based on security rules.
Q17. What is the difference between a hub and a switch?
Answer: A hub broadcasts data to all ports, a switch forwards data to specific ports
Explanation: A hub broadcasts incoming data to all its ports, whereas a switch forwards data to the specific port where the destination device is connected.
Q18. Which of the following is a characteristic of IPv6?
Answer: 128-bit address space
Explanation: IPv6 uses a 128-bit address space, providing a much larger number of addresses compared to IPv4's 32-bit address space.
Q19. What is the primary function of the DNS protocol?
Answer: To translate domain names to IP addresses
Explanation: DNS (Domain Name System) translates domain names to IP addresses, enabling users to access websites using easy-to-remember domain names.
Q20. In network management, what is SNMP used for?
Answer: To manage network devices
Explanation: SNMP (Simple Network Management Protocol) is used to manage and monitor network devices, collecting information and configuring devices.
Loading...