MCQs / Computer Science / NSCT: Computer Networks & Cloud Computing

NSCT: Computer Networks & Cloud Computing MCQs — Computer Science (page 5)

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.

101. The data unit at the data link layer is a:

  1. Frame
  2. Packet
  3. Datagram only
  4. Segment

Answer: A) Frame

Explanation: Frames carry MAC addresses and error checks. Lesson 7.1 · Computer Networks & Cloud Computing

Discuss this question

102. How many usable host addresses are available in the network 10.10.10.0/30?

  1. 2
  2. 3
  3. 1
  4. 4

Answer: A) 2

Explanation: Host bits = 2; usable = 2^2 − 2 = 2. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

103. Which topology offers the highest redundancy because every node connects to every other node?

  1. Bus
  2. Star
  3. Ring
  4. Full mesh

Answer: D) Full mesh

Explanation: Many paths, but expensive. Lesson 7.1 · Computer Networks & Cloud Computing

Discuss this question

104. MAC addresses are used at which layer?

  1. Data link
  2. Physical
  3. Transport
  4. Network

Answer: A) Data link

Explanation: Layer 2 frames carry MAC addresses. Lesson 7.1 · Computer Networks & Cloud Computing

Discuss this question

105. Flooding a server with traffic from thousands of infected devices is a:

  1. Phishing attack
  2. DDoS attack
  3. Brute-force login
  4. SQL injection

Answer: B) DDoS attack

Explanation: Distributed Denial of Service. Lesson 7.4 · Computer Networks & Cloud Computing

Discuss this question

106. The TTL field in an IP packet prevents:

  1. Packets circulating forever
  2. Duplicate MAC addresses
  3. Encryption
  4. DNS spoofing

Answer: A) Packets circulating forever

Explanation: Each router decreases TTL; at 0 the packet is dropped. Lesson 7.3 · Computer Networks & Cloud Computing

Discuss this question

107. An IPv4 address is how many bits long?

  1. 32
  2. 128
  3. 64
  4. 48

Answer: A) 32

Explanation: Four 8-bit octets. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

108. A department needs 500 host addresses in one subnet with the least waste. Which prefix should be used?

  1. /23
  2. /21
  3. /24
  4. /22

Answer: A) /23

Explanation: 2^9 − 2 = 510 ≥ 500, so 9 host bits → /23. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

109. Which address is a private IPv4 address?

  1. 8.8.8.8
  2. 172.32.0.1
  3. 192.168.1.10
  4. 200.10.5.1

Answer: C) 192.168.1.10

Explanation: 192.168.0.0/16 is a private range. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

110. For the host 10.10.10.99/29, what is the range of usable host addresses in its subnet?

  1. 10.10.10.97 – 10.10.10.103
  2. 10.10.10.96 – 10.10.10.103
  3. 10.10.10.96 – 10.10.10.102
  4. 10.10.10.97 – 10.10.10.102

Answer: D) 10.10.10.97 – 10.10.10.102

Explanation: Exclude the network (10.10.10.96) and broadcast (10.10.10.103) addresses. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

111. How many usable host addresses are available in the network 10.0.0.0/22?

  1. 1,022
  2. 511
  3. 1,023
  4. 1,024

Answer: A) 1,022

Explanation: Host bits = 10; usable = 2^10 − 2 = 1,022. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

112. Is 8.8.4.4 a private (RFC 1918) IPv4 address?

  1. Only for IPv6
  2. Only inside a VPN
  3. Yes
  4. No

Answer: D) No

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

113. 5G networks are especially useful for IoT because they offer:

  1. Wired connections
  2. No security
  3. Only voice calls
  4. Low latency and massive device connectivity

Answer: D) Low latency and massive device connectivity

Explanation: 5G supports millions of devices per km². Lesson 7.4 · Computer Networks & Cloud Computing

Discuss this question

114. A department needs 1000 host addresses in one subnet with the least waste. Which prefix should be used?

  1. /23
  2. /21
  3. /22
  4. /20

Answer: C) /22

Explanation: 2^10 − 2 = 1022 ≥ 1000, so 10 host bits → /22. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

115. How long does it take to transfer a 2000 MB file over a 80 Mbps link (ignore overhead)?

  1. 400 seconds
  2. 3.125 seconds
  3. 200 seconds
  4. 25 seconds

Answer: C) 200 seconds

Explanation: 2000 MB × 8 = 16000 megabits ÷ 80 Mbps = 200 s. Lesson 7.1 · Computer Networks & Cloud Computing

Discuss this question

116. Dividing one physical switch into several isolated logical networks is done with:

  1. VLANs
  2. VPNs
  3. DNS
  4. NAT

Answer: A) VLANs

Explanation: Virtual LANs separate traffic. Lesson 7.3 · Computer Networks & Cloud Computing

Discuss this question

117. An attacker secretly relays and possibly alters communication between two parties. This is a:

  1. Virus
  2. DoS attack
  3. Man-in-the-middle attack
  4. Social engineering only

Answer: C) Man-in-the-middle attack

Explanation: TLS with certificate checks prevents it. Lesson 7.4 · Computer Networks & Cloud Computing

Discuss this question

118. A department needs 25 host addresses in one subnet with the least waste. Which prefix should be used?

  1. /28
  2. /25
  3. /26
  4. /27

Answer: D) /27

Explanation: 2^5 − 2 = 30 ≥ 25, so 5 host bits → /27. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

119. A cloud used exclusively by a single organisation is a:

  1. Private cloud
  2. Public cloud
  3. Hybrid cloud
  4. Community cloud

Answer: A) Private cloud

Explanation: It may be on-premise or hosted. Lesson 7.5 · Computer Networks & Cloud Computing

Discuss this question

120. A bank keeps customer data on its own servers but uses a public cloud for its website. This is a:

  1. Private cloud only
  2. Hybrid cloud
  3. Community cloud
  4. Public cloud

Answer: B) Hybrid cloud

Explanation: It mixes private and public. Lesson 7.5 · Computer Networks & Cloud Computing

Discuss this question

121. How many usable host addresses are available in the network 172.20.0.0/16?

  1. 32,767
  2. 65,534
  3. 65,535
  4. 65,536

Answer: B) 65,534

Explanation: Host bits = 16; usable = 2^16 − 2 = 65,534. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

122. A host has the address 172.16.45.200/27. What is the broadcast address of its subnet?

  1. 172.16.45.224
  2. 172.16.45.223
  3. 172.16.45.192
  4. 172.16.45.222

Answer: B) 172.16.45.223

Explanation: Network 172.16.45.192, block size 32, so broadcast = 172.16.45.223. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

123. A host has the address 10.4.7.66/30. What is the broadcast address of its subnet?

  1. 10.4.7.64
  2. 10.4.7.68
  3. 10.4.7.66
  4. 10.4.7.67

Answer: D) 10.4.7.67

Explanation: Network 10.4.7.64, block size 4, so broadcast = 10.4.7.67. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

124. The actual achieved data rate on a link, as opposed to its maximum capacity, is:

  1. Bandwidth
  2. Throughput
  3. Jitter
  4. Latency

Answer: B) Throughput

Explanation: Bandwidth is the maximum possible rate. Lesson 7.1 · Computer Networks & Cloud Computing

Discuss this question

125. For the host 172.31.8.20/22, what is the range of usable host addresses in its subnet?

  1. 172.31.8.1 – 172.31.11.255
  2. 172.31.8.0 – 172.31.11.255
  3. 172.31.8.0 – 172.31.11.254
  4. 172.31.8.1 – 172.31.11.254

Answer: D) 172.31.8.1 – 172.31.11.254

Explanation: Exclude the network (172.31.8.0) and broadcast (172.31.11.255) addresses. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

Previous Page 5 of 6 Next

Practise NSCT: Computer Networks & Cloud Computing MCQs

More Computer Science chapters