Home › Computer Science › Computer Networking › Page 15
Computer Networking MCQs
20 practice MCQs on this page Page 15 of 21
Tap an option to check your answer — the correct answer and full explanation appear after you choose.
Computer Science Computer Networking PPSC ID: LTP-8473
Which IP address class covers first octets 128 to 191 and suits medium networks?
A Class A
B Class B ✓ Correct answer
C Class C
D Class D
✓ Correct answer: Class B
Full explanation Class B covers first octets 128 to 191 and suits medium networks.
Computer Science Computer Networking PPSC ID: LTP-8474
Which IP address class covers first octets 192 to 223 and suits small networks?
A Class A
B Class B
C Class C ✓ Correct answer
D Class D
✓ Correct answer: Class C
Full explanation Class C covers first octets 192 to 223 and suits small networks.
Computer Science Computer Networking PPSC ID: LTP-8475
Which address range is reserved for documentation and examples?
A 10.0.0.0/8
B 172.16.0.0/12
C 192.168.0.0/16
D 192.0.2.0/24 ✓ Correct answer
✓ Correct answer: 192.0.2.0/24
Full explanation The range 192.0.2.0/24 is reserved for documentation and examples and is not used on real networks.
Computer Science Computer Networking PPSC ID: LTP-8476
Which address sends a packet to every device on a local network?
A Broadcast address ✓ Correct answer
B Loopback address
C Unicast address
D Multicast address
✓ Correct answer: Broadcast address
Full explanation A Broadcast address sends a packet to every device on a local network.
Computer Science Computer Networking PPSC ID: LTP-8477
Which network covers a city or a large campus?
A Local Area Network
B Metropolitan Area Network (MAN) ✓ Correct answer
C Wide Area Network
D Personal Area Network
✓ Correct answer: Metropolitan Area Network (MAN)
Full explanation A Metropolitan Area Network (MAN) covers a city or a large campus.
Computer Science Computer Networking PPSC ID: LTP-8478
Which network covers a very small area around one person, such as Bluetooth devices?
A Local Area Network
B Wide Area Network
C Personal Area Network (PAN) ✓ Correct answer
D Metropolitan Area Network
✓ Correct answer: Personal Area Network (PAN)
Full explanation A Personal Area Network (PAN) covers a very small area around one person, such as Bluetooth devices.
Computer Science Computer Networking PPSC ID: LTP-8480
Which simple network device sends incoming traffic out of every port?
A Hub ✓ Correct answer
B Switch
C Router
D Bridge
✓ Correct answer: Hub
Full explanation A Hub sends incoming traffic out of every port, unlike a switch which targets the destination port.
Computer Science Computer Networking PPSC ID: LTP-8481
Which device extends a network's range by regenerating a weakened signal?
A Router
B Repeater ✓ Correct answer
C Switch
D Modem
✓ Correct answer: Repeater
Full explanation A Repeater extends a network's range by regenerating a weakened signal.
Computer Science Computer Networking PPSC ID: LTP-8482
Which command tests whether another host is reachable on a network?
A tracert
B ipconfig
C ping ✓ Correct answer
D nslookup
✓ Correct answer: ping
Full explanation The ping command tests whether another host is reachable on a network by sending ICMP echo requests.
Computer Science Computer Networking PPSC ID: LTP-8540
Which cable is commonly used for wired Ethernet connections?
A Twisted pair cable ✓ Correct answer
B Coaxial cable
C Fibre optic cable
D USB cable
✓ Correct answer: Twisted pair cable
Full explanation Twisted pair cable is commonly used for wired Ethernet connections. Coaxial cable was used in older networks, fibre optic cable is for long distances and USB cable is for peripherals.
Computer Science Computer Networking PPSC ID: LTP-8543
Which OSI layer converts data into a format the application can use, including encryption?
A Session layer
B Transport layer
C Data Link layer
D Presentation layer ✓ Correct answer
✓ Correct answer: Presentation layer
Full explanation The Presentation layer converts data into a format the application can use and handles encryption and compression.
Computer Science Computer Networking PPSC ID: LTP-8544
Which protocol is used to securely transfer files over a network?
A SFTP ✓ Correct answer
B FTP
C HTTP
D SMTP
✓ Correct answer: SFTP
Full explanation SFTP securely transfers files over a network using encryption. FTP transfers files without encryption, HTTP transfers web pages and SMTP sends mail.
Computer Science Computer Networking PPSC ID: LTP-8547
What is the default port number used by SSH?
A 23
B 25
C 110
D 22 ✓ Correct answer
✓ Correct answer: 22
Full explanation The default port number used by SSH is 22.
Computer Science Computer Networking PPSC ID: LTP-8550
What is the default port number used by SMTP for sending email?
A 110
B 143
C 25 ✓ Correct answer
D 53
✓ Correct answer: 25
Full explanation The default port number used by SMTP for sending email is 25.
Computer Science Computer Networking PPSC ID: LTP-8551
What is the default port number used by POP3?
A 143
B 25
C 80
D 110 ✓ Correct answer
✓ Correct answer: 110
Full explanation The default port number used by POP3 is 110.
Computer Science Computer Networking PPSC ID: LTP-8552
What is the default port number used by IMAP?
A 143 ✓ Correct answer
B 110
C 25
D 443
✓ Correct answer: 143
Full explanation The default port number used by IMAP is 143.
Computer Science Computer Networking PPSC ID: LTP-8554
How many bits are there in an IPv4 address?
A 16
B 64
C 32 ✓ Correct answer
D 128
✓ Correct answer: 32
Full explanation An IPv4 address has 32 bits, written as four decimal numbers separated by dots.
Computer Science Computer Networking PPSC ID: LTP-8555
How many bits are there in an IPv6 address?
A 32
B 64
C 256
D 128 ✓ Correct answer
✓ Correct answer: 128
Full explanation An IPv6 address has 128 bits, which gives a vastly larger address space than IPv4.
Computer Science Computer Networking PPSC ID: LTP-8556
How many bits long is a MAC address?
A 48 ✓ Correct answer
B 32
C 64
D 16
✓ Correct answer: 48
Full explanation A MAC address is 48 bits long, usually written as six pairs of hexadecimal digits.
Computer Science Computer Networking PPSC ID: LTP-8557
Which protocol resolves a domain name to an IP address?
A DHCP
B DNS ✓ Correct answer
C FTP
D SMTP
✓ Correct answer: DNS
Full explanation DNS resolves a domain name to an IP address. DHCP assigns IP addresses, FTP transfers files and SMTP sends mail.
Practice these MCQs interactively
← Computer Science MCQs