MCQs / Computer Science / NSCT: Computer Networks & Cloud Computing
NSCT: Computer Networks & Cloud Computing MCQs — Computer Science 141 multiple-choice questions on NSCT: Computer Networks & Cloud Computing from Computer Science, each with the correct answer and, where available, a teacher's explanation. Read through them to revise the chapter, then practise the same questions one by one to test yourself.
1. What is the dotted-decimal subnet mask for the prefix /28? 255.255.255.224 255.255.255.248 255.255.255.240 255.255.240.0 Answer: C) 255.255.255.240
Explanation: /28 means 28 leading 1-bits: 255.255.255.240. Lesson 7.2 · Computer Networks & Cloud Computing
Discuss this question
2. A host has the address 10.10.10.99/29. What is the broadcast address of its subnet? 10.10.10.96 10.10.10.103 10.10.10.102 10.10.10.104 Answer: B) 10.10.10.103
Explanation: Network 10.10.10.96, block size 8, so broadcast = 10.10.10.103. Lesson 7.2 · Computer Networks & Cloud Computing
Discuss this question
3. Which OSI layer provides end-to-end delivery, port numbers and reliability? Network Physical Presentation Transport Answer: D) Transport
Explanation: TCP and UDP work here. Lesson 7.1 · Computer Networks & Cloud Computing
Discuss this question
4. What is the dotted-decimal subnet mask for the prefix /25? 255.255.255.0 255.255.255.192 255.255.128.0 255.255.255.128 Answer: D) 255.255.255.128
Explanation: /25 means 25 leading 1-bits: 255.255.255.128. Lesson 7.2 · Computer Networks & Cloud Computing
Discuss this question
5. A host has the address 10.0.5.130/25. What is its network address? 10.0.6.0 10.0.5.255 10.0.5.130 10.0.5.128 Answer: D) 10.0.5.128
Explanation: Block size 128: the address falls in the block starting at 10.0.5.128. Lesson 7.2 · Computer Networks & Cloud Computing
Discuss this question
6. A MAC address is how many bits long? 128 64 32 48 Answer: D) 48
Explanation: Six bytes in hexadecimal. Lesson 7.2 · Computer Networks & Cloud Computing
Discuss this question
7. How many usable host addresses are available in the network 10.0.0.0/25? 126 127 63 128 Answer: A) 126
Explanation: Host bits = 7; usable = 2^7 − 2 = 126. Lesson 7.2 · Computer Networks & Cloud Computing
Discuss this question
8. In the shared responsibility model, who is responsible for securing user accounts and data stored in an IaaS virtual machine? The customer Nobody The ISP The cloud provider entirely Answer: A) The customer
Explanation: The provider secures the underlying infrastructure. Lesson 7.5 · Computer Networks & Cloud Computing
Discuss this question
9. A department needs 12 host addresses in one subnet with the least waste. Which prefix should be used? /29 /26 /27 /28 Answer: D) /28
Explanation: 2^4 − 2 = 14 ≥ 12, so 4 host bits → /28. Lesson 7.2 · Computer Networks & Cloud Computing
Discuss this question
10. A host has the address 10.4.7.66/30. What is its network address? 10.4.7.64 10.4.7.66 10.4.7.68 10.4.7.67 Answer: A) 10.4.7.64
Explanation: Block size 4: the address falls in the block starting at 10.4.7.64. Lesson 7.2 · Computer Networks & Cloud Computing
Discuss this question
11. For the host 10.4.7.66/30, what is the range of usable host addresses in its subnet? 10.4.7.65 – 10.4.7.67 10.4.7.64 – 10.4.7.66 10.4.7.65 – 10.4.7.66 10.4.7.64 – 10.4.7.67 Answer: C) 10.4.7.65 – 10.4.7.66
Explanation: Exclude the network (10.4.7.64) and broadcast (10.4.7.67) addresses. Lesson 7.2 · Computer Networks & Cloud Computing
Discuss this question
12. SSH uses port: 23 21 22 443 Answer: C) 22
Explanation: SSH replaced insecure Telnet (port 23). Lesson 7.3 · Computer Networks & Cloud Computing
Discuss this question
13. A host has the address 172.31.8.20/22. What is its network address? 172.31.8.0 172.31.8.20 172.31.11.255 172.31.12.0 Answer: A) 172.31.8.0
Explanation: Block size 1024: the address falls in the block starting at 172.31.8.0. Lesson 7.2 · Computer Networks & Cloud Computing
Discuss this question
14. A host has the address 192.168.20.37/28. What is its network address? 192.168.20.37 192.168.20.48 192.168.20.32 192.168.20.47 Answer: C) 192.168.20.32
Explanation: Block size 16: the address falls in the block starting at 192.168.20.32. Lesson 7.2 · Computer Networks & Cloud Computing
Discuss this question
15. Is 10.255.255.254 a private (RFC 1918) IPv4 address? Only inside a VPN No Only for IPv6 Yes Answer: D) Yes
Explanation: Private ranges: 10.0.0.0/8, 172.16.0.0/12 (172.16–172.31) and 192.168.0.0/16. Lesson 7.2 · Computer Networks & Cloud Computing
Discuss this question
16. Wi-Fi is defined by which IEEE standard? 802.3 802.11 802.15 802.1Q Answer: B) 802.11
Explanation: 802.3 is Ethernet. Lesson 7.4 · Computer Networks & Cloud Computing
Discuss this question
17. A department needs 6 host addresses in one subnet with the least waste. Which prefix should be used? /29 /30 /27 /28 Answer: A) /29
Explanation: 2^3 − 2 = 6 ≥ 6, so 3 host bits → /29. Lesson 7.2 · Computer Networks & Cloud Computing
Discuss this question
18. The most common LAN topology today, with all devices connected to a central switch, is: Mesh Star Ring Bus Answer: B) Star
Explanation: A failed cable affects only one device. Lesson 7.1 · Computer Networks & Cloud Computing
Discuss this question
19. Which protocol lets you read email on multiple devices while keeping it on the server? IMAP FTP POP3 SMTP Answer: A) IMAP
Explanation: POP3 usually downloads and removes mail. Lesson 7.3 · Computer Networks & Cloud Computing
Discuss this question
20. Which protocol provides reliable, connection-oriented delivery? TCP UDP IP ICMP Answer: A) TCP
Explanation: TCP uses acknowledgements and retransmissions. Lesson 7.3 · Computer Networks & Cloud Computing
Discuss this question
21. The TCP three-way handshake is: SYN, ACK, FIN HELLO, OK, DONE SYN, SYN-ACK, ACK ACK, SYN, FIN Answer: C) SYN, SYN-ACK, ACK
Explanation: It establishes a connection. Lesson 7.3 · Computer Networks & Cloud Computing
Discuss this question
22. Adding more servers behind a load balancer is: Vertical scaling Normalization Horizontal scaling Virtual LAN Answer: C) Horizontal scaling
Explanation: Vertical scaling means a bigger single machine. Lesson 7.5 · Computer Networks & Cloud Computing
Discuss this question
23. A router forwards traffic based on: Cable colours URLs MAC addresses only IP addresses Answer: D) IP addresses
Explanation: Routers are layer-3 devices. Lesson 7.1 · Computer Networks & Cloud Computing
Discuss this question
24. For the host 192.168.3.200/26, what is the range of usable host addresses in its subnet? 192.168.3.192 – 192.168.3.255 192.168.3.193 – 192.168.3.255 192.168.3.192 – 192.168.3.254 192.168.3.193 – 192.168.3.254 Answer: D) 192.168.3.193 – 192.168.3.254
Explanation: Exclude the network (192.168.3.192) and broadcast (192.168.3.255) addresses. Lesson 7.2 · Computer Networks & Cloud Computing
Discuss this question
25. Is 172.20.5.1 a private (RFC 1918) IPv4 address? Only inside a VPN Yes No Only for IPv6 Answer: B) Yes
Explanation: Private ranges: 10.0.0.0/8, 172.16.0.0/12 (172.16–172.31) and 192.168.0.0/16. Lesson 7.2 · Computer Networks & Cloud Computing
Discuss this question
Page 1 of 6 Next
Practise NSCT: Computer Networks & Cloud Computing MCQs
More Computer Science chapters