Home › Computer Science › Computer Networking › Page 19
Computer Networking MCQs
20 practice MCQs on this page Page 19 of 21
Tap an option to check your answer — the correct answer and full explanation appear after you choose.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-012
In what unit is the data rate of a digital communication channel usually measured?
A Bits per second (bps) ✓ Correct answer
B Hertz (Hz)
C Volts (V)
D Bytes per hour
✓ Correct answer: Bits per second (bps)
Full explanation The data rate of a digital channel is measured in bits per second (bps).
Computer Science Computer Networking PPSC FPSC NTS ID: CN-013
Why does a repeater give a cleaner signal than an amplifier?
A A repeater regenerates the original digital signal, while an amplifier boosts the signal together with its noise ✓ Correct answer
B A repeater uses a thicker cable than an amplifier
C An amplifier works only on fibre optic cable
D A repeater changes the frequency of the signal
✓ Correct answer: A repeater regenerates the original digital signal, while an amplifier boosts the signal together with its noise
Full explanation A repeater regenerates the original digital signal, while an amplifier simply boosts the signal together with any noise it carries.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-014
In a copper cable, attenuation is mainly caused by what?
A The resistance of the wire, which weakens the signal as it travels ✓ Correct answer
B The colour of the cable covering
C The number of computers on the network
D The version of the operating system
✓ Correct answer: The resistance of the wire, which weakens the signal as it travels
Full explanation In a copper cable the resistance of the wire weakens the signal as it travels, which is called attenuation.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-015
How does parallel communication send data?
A Several bits at once, each over its own separate wire ✓ Correct answer
B One bit at a time over a single wire
C One byte at a time over a radio wave
D All the data in a single packet
✓ Correct answer: Several bits at once, each over its own separate wire
Full explanation Parallel communication sends several bits at once, each bit travelling over its own separate wire.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-016
How does serial communication send data?
A One bit at a time over a single wire ✓ Correct answer
B Several bits at once over separate wires
C One byte at a time over several wires
D All the bits at once over a radio wave
✓ Correct answer: One bit at a time over a single wire
Full explanation Serial communication sends data one bit at a time over a single wire.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-017
Which range of IPv4 addresses belongs to Class D?
A 224.0.0.0 to 239.255.255.255 ✓ Correct answer
B 240.0.0.0 to 255.255.255.255
C 192.0.0.0 to 223.255.255.255
D 128.0.0.0 to 191.255.255.255
✓ Correct answer: 224.0.0.0 to 239.255.255.255
Full explanation Class D covers the IPv4 addresses from 224.0.0.0 to 239.255.255.255.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-018
Which range of IPv4 addresses belongs to Class E?
A 240.0.0.0 to 255.255.255.255 ✓ Correct answer
B 224.0.0.0 to 239.255.255.255
C 192.0.0.0 to 223.255.255.255
D 10.0.0.0 to 10.255.255.255
✓ Correct answer: 240.0.0.0 to 255.255.255.255
Full explanation Class E covers the IPv4 addresses from 240.0.0.0 to 255.255.255.255.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-019
Class D IPv4 addresses are reserved for what purpose?
A Multicast, sending one packet to a selected group of devices ✓ Correct answer
B Broadcast to every device on a network
C Private networks inside homes and offices
D Experimental use only
✓ Correct answer: Multicast, sending one packet to a selected group of devices
Full explanation Class D addresses are reserved for multicast, sending one packet to a selected group of devices.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-020
How many usable host addresses does a /24 network provide?
A 254 ✓ Correct answer
B 256
C 512
D 65,534
✓ Correct answer: 254
Full explanation A /24 network has 256 addresses, and after removing the network and broadcast addresses, 254 are usable for hosts.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-021
How many usable host addresses does a /16 network provide?
A 65,534 ✓ Correct answer
B 65,536
C 254
D 16,384
✓ Correct answer: 65,534
Full explanation A /16 network has 65,536 addresses, and after removing the network and broadcast addresses, 65,534 are usable for hosts.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-022
How many usable host addresses does a /30 network provide?
A 2 ✓ Correct answer
B 4
C 6
D 30
✓ Correct answer: 2
Full explanation A /30 network has 4 addresses, and after removing the network and broadcast addresses, 2 are usable for hosts, which is why /30 is used for point-to-point links.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-023
How many usable host addresses does a /25 network provide?
A 126 ✓ Correct answer
B 128
C 254
D 62
✓ Correct answer: 126
Full explanation A /25 network has 128 addresses, and after removing the network and broadcast addresses, 126 are usable for hosts.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-024
If two bits are borrowed from the host part of a /24 network, how many subnets are created?
A 4 ✓ Correct answer
B 2
C 8
D 16
✓ Correct answer: 4
Full explanation Borrowing two bits creates 2 to the power of 2, which is 4 subnets.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-025
What is RARP used for?
A To find the IP address of a machine from its MAC address, the reverse of ARP ✓ Correct answer
B To find the MAC address of a machine from its IP address
C To translate a domain name into an IP address
D To assign IP addresses automatically to new devices
✓ Correct answer: To find the IP address of a machine from its MAC address, the reverse of ARP
Full explanation RARP (Reverse Address Resolution Protocol) finds the IP address of a machine from its MAC address, which is the reverse of ARP.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-026
Where does a computer store the IP-address-to-MAC-address mappings it has learned on its local network?
A In its ARP cache (ARP table) ✓ Correct answer
B In its DNS cache
C In its routing table
D In its browser history
✓ Correct answer: In its ARP cache (ARP table)
Full explanation A computer stores the IP-to-MAC mappings it learns from ARP in its ARP cache, also called the ARP table.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-027
Which transport protocol does FTP use to transfer files?
A TCP, because file transfer needs reliable, ordered delivery ✓ Correct answer
B UDP, because file transfer must be as fast as possible
C ICMP, because files travel with ping messages
D ARP, because files need a MAC address
✓ Correct answer: TCP, because file transfer needs reliable, ordered delivery
Full explanation FTP uses TCP, because transferring a file needs reliable, ordered delivery without lost data.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-028
What is anonymous FTP?
A Logging in to a public FTP server with the username 'anonymous' to download public files ✓ Correct answer
B Sending files without using any protocol
C FTP that works without an internet connection
D FTP that encrypts every file automatically
✓ Correct answer: Logging in to a public FTP server with the username 'anonymous' to download public files
Full explanation Anonymous FTP lets anyone log in to a public FTP server with the username 'anonymous' to download public files.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-029
What is SNMP used for?
A To monitor and manage devices on a network, such as routers and printers ✓ Correct answer
B To send email between servers
C To translate domain names into IP addresses
D To encrypt web traffic between a browser and a server
✓ Correct answer: To monitor and manage devices on a network, such as routers and printers
Full explanation SNMP (Simple Network Management Protocol) is used to monitor and manage devices on a network, such as routers, switches and printers.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-030
What is TFTP used for?
A Simple file transfer without authentication, often to boot a device or load its firmware ✓ Correct answer
B Sending email with attachments
C Browsing the World Wide Web
D Assigning IP addresses to new computers
✓ Correct answer: Simple file transfer without authentication, often to boot a device or load its firmware
Full explanation TFTP (Trivial File Transfer Protocol) is a simple file transfer protocol without authentication, often used to boot a device or load its firmware.
Computer Science Computer Networking PPSC FPSC NTS ID: CN-031
In DNS, which type of record identifies the mail server for a domain?
A MX (Mail Exchange) record ✓ Correct answer
B A record
C CNAME record
D PTR record
✓ Correct answer: MX (Mail Exchange) record
Full explanation The MX (Mail Exchange) record in DNS identifies the mail server that receives email for a domain.
Practice these MCQs interactively
← Computer Science MCQs