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

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

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.

26. Is 10.20.30.40 a private (RFC 1918) IPv4 address?

  1. No
  2. Yes
  3. Only inside a VPN
  4. 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

27. The TCP/IP model has how many layers?

  1. 3
  2. 7
  3. 5
  4. 4

Answer: D) 4

Explanation: Application, Transport, Internet, Network Access. Lesson 7.1 · Computer Networks & Cloud Computing

Discuss this question

28. The ability to automatically add or remove resources as demand changes is:

  1. Elasticity
  2. Latency
  3. Redundancy
  4. Virtualisation only

Answer: A) Elasticity

Explanation: Rapid elasticity is an essential cloud characteristic. Lesson 7.5 · Computer Networks & Cloud Computing

Discuss this question

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

  1. 192.168.1.65 – 192.168.1.127
  2. 192.168.1.65 – 192.168.1.126
  3. 192.168.1.64 – 192.168.1.126
  4. 192.168.1.64 – 192.168.1.127

Answer: B) 192.168.1.65 – 192.168.1.126

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

Discuss this question

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

  1. /23
  2. /26
  3. /24
  4. /25

Answer: D) /25

Explanation: 2^7 − 2 = 126 ≥ 100, so 7 host bits → /25. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

31. RIP measures route cost using:

  1. Hop count
  2. Price
  3. Delay
  4. Bandwidth

Answer: A) Hop count

Explanation: Maximum 15 hops. Lesson 7.3 · Computer Networks & Cloud Computing

Discuss this question

32. In 10.0.0.0/8, how many bits are used for the network portion?

  1. 16
  2. 32
  3. 8
  4. 24

Answer: C) 8

Explanation: /8 means the first 8 bits. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

33. Containers differ from virtual machines because containers:

  1. Cannot run on Linux
  2. Each include a full guest OS
  3. Share the host OS kernel and are lighter
  4. Are slower to start

Answer: C) Share the host OS kernel and are lighter

Explanation: Docker containers start in seconds. Lesson 7.5 · Computer Networks & Cloud Computing

Discuss this question

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

  1. /28
  2. /30
  3. /29
  4. /31

Answer: B) /30

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

Discuss this question

35. A developer deploys code without managing the operating system or servers. This is:

  1. PaaS
  2. On-premise
  3. IaaS
  4. Colocation

Answer: A) PaaS

Explanation: Platform as a Service, e.g. Heroku, App Engine. Lesson 7.5 · Computer Networks & Cloud Computing

Discuss this question

36. The data unit at the transport layer (TCP) is called a:

  1. Segment
  2. Packet
  3. Bit
  4. Frame

Answer: A) Segment

Explanation: Network = packet, data link = frame. Lesson 7.1 · Computer Networks & Cloud Computing

Discuss this question

37. The most secure Wi-Fi security protocol among these is:

  1. WPA
  2. Open network
  3. WPA3
  4. WEP

Answer: C) WPA3

Explanation: WEP is easily cracked. Lesson 7.4 · Computer Networks & Cloud Computing

Discuss this question

38. A host has the address 172.31.8.20/22. What is the broadcast address of its subnet?

  1. 172.31.11.254
  2. 172.31.12.0
  3. 172.31.11.255
  4. 172.31.8.0

Answer: C) 172.31.11.255

Explanation: Network 172.31.8.0, block size 1024, so broadcast = 172.31.11.255. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

39. A host has the address 10.0.5.130/25. What is the broadcast address of its subnet?

  1. 10.0.5.255
  2. 10.0.6.0
  3. 10.0.5.128
  4. 10.0.5.254

Answer: A) 10.0.5.255

Explanation: Network 10.0.5.128, block size 128, so broadcast = 10.0.5.255. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

40. Which protocol is used to send email between mail servers?

  1. HTTP
  2. IMAP
  3. SMTP
  4. POP3

Answer: C) SMTP

Explanation: SMTP uses port 25. Lesson 7.3 · Computer Networks & Cloud Computing

Discuss this question

41. Which device simply repeats incoming signals to all ports?

  1. Router
  2. Hub
  3. Switch
  4. Firewall

Answer: B) Hub

Explanation: Hubs are layer-1 and create one collision domain. Lesson 7.1 · Computer Networks & Cloud Computing

Discuss this question

42. How many layers does the OSI model have?

  1. 4
  2. 5
  3. 7
  4. 8

Answer: C) 7

Explanation: Physical to Application. Lesson 7.1 · Computer Networks & Cloud Computing

Discuss this question

43. Live video calls usually use UDP because:

  1. TCP cannot carry video
  2. UDP guarantees delivery
  3. Low delay matters more than resending lost packets
  4. UDP is encrypted

Answer: C) Low delay matters more than resending lost packets

Explanation: A late packet is useless in real time. Lesson 7.3 · Computer Networks & Cloud Computing

Discuss this question

44. How many usable host addresses are available in the network 192.168.1.0/26?

  1. 63
  2. 62
  3. 64
  4. 31

Answer: B) 62

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

Discuss this question

45. How many usable host addresses are available in the network 192.168.5.0/29?

  1. 8
  2. 6
  3. 3
  4. 7

Answer: B) 6

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

Discuss this question

46. What is the dotted-decimal subnet mask for the prefix /20?

  1. 255.255.248.0
  2. 255.240.0.0
  3. 255.255.224.0
  4. 255.255.240.0

Answer: D) 255.255.240.0

Explanation: /20 means 20 leading 1-bits: 255.255.240.0. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

47. A host has the address 192.168.1.77/26. What is the broadcast address of its subnet?

  1. 192.168.1.128
  2. 192.168.1.126
  3. 192.168.1.127
  4. 192.168.1.64

Answer: C) 192.168.1.127

Explanation: Network 192.168.1.64, block size 64, so broadcast = 192.168.1.127. Lesson 7.2 · Computer Networks & Cloud Computing

Discuss this question

48. How many usable host addresses are available in the network 172.16.0.0/20?

  1. 2,047
  2. 4,094
  3. 4,096
  4. 4,095

Answer: B) 4,094

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

Discuss this question

49. Wireless networks use which medium-access method?

  1. CSMA/CA
  2. Token passing
  3. Polling only
  4. CSMA/CD

Answer: A) CSMA/CA

Explanation: Wireless devices cannot detect collisions reliably, so they avoid them. Lesson 7.4 · Computer Networks & Cloud Computing

Discuss this question

50. Is 172.20.5.1 a private (RFC 1918) IPv4 address?

  1. Only inside a VPN
  2. Yes
  3. No
  4. 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

Previous Page 2 of 6 Next

Practise NSCT: Computer Networks & Cloud Computing MCQs

More Computer Science chapters