MCQs / Computer Science / NSCT: Cyber Security

NSCT: Cyber Security MCQs — Computer Science (page 4)

149 multiple-choice questions on NSCT: Cyber Security 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.

76. The ciphertext "BGDTC" was made with a Caesar shift of 2. What is the plaintext?

  1. DIFVE
  2. ARBEZ
  3. ZEBRA
  4. AFCSB

Answer: C) ZEBRA

Explanation: Shift each letter back by 2: BGDTC → ZEBRA. Lesson 10.2 · Cyber Security

Discuss this question

77. A password is 6 characters long and uses digits only (10 possible characters). How many possible passwords are there?

  1. 10^5
  2. 10^6
  3. 10 × 6
  4. 6^10

Answer: B) 10^6

Explanation: Each of the 6 positions has 10 choices: 10^6 = 1,000,000. Lesson 10.2 · Cyber Security

Discuss this question

78. Adding a random value to each password before hashing is called:

  1. Peppering only
  2. Salting
  3. Encoding
  4. Padding

Answer: B) Salting

Explanation: Salts defeat precomputed rainbow tables. Lesson 10.2 · Cyber Security

Discuss this question

79. In RSA with n = 143 and e = 7, what is the ciphertext of the message m = 2? (c = m^e mod n)

  1. 128
  2. 15
  3. 129
  4. 14

Answer: A) 128

Explanation: 2^7 = 128; 128 mod 143 = 128. Lesson 10.2 · Cyber Security

Discuss this question

80. Approximately how many bits of entropy does a random 4-character password from 10 possible characters have?

  1. 10 bits
  2. 13 bits
  3. 27 bits
  4. 4 bits

Answer: B) 13 bits

Explanation: Entropy = L × log2(N) = 4 × 3.32 ≈ 13 bits. Lesson 10.2 · Cyber Security

Discuss this question

81. The "zero trust" model means:

  1. No passwords are needed
  2. Only trust the firewall
  3. Never trust by default; verify every request
  4. Trust everything inside the network

Answer: C) Never trust by default; verify every request

Explanation: Location inside the network gives no automatic trust. Lesson 10.1 · Cyber Security

Discuss this question

82. Using a Caesar cipher with a shift of 7, what is the ciphertext of "PAKISTAN"?

  1. ITDBLMTG
  2. XISQABIV
  3. VGQOYZGT
  4. WHRPZAHU

Answer: D) WHRPZAHU

Explanation: Shift each letter forward by 7: PAKISTAN → WHRPZAHU. Lesson 10.2 · Cyber Security

Discuss this question

83. An attacker can try 1,000,000 guesses per second. What is the worst-case time to brute-force a 6-character password from 26 possible characters?

  1. 30.8916 seconds
  2. 18534.9 seconds
  3. 617.832 seconds
  4. 308.916 seconds

Answer: D) 308.916 seconds

Explanation: 26^6 = 308,915,776 keys ÷ 1,000,000 per second = 308.916 s. Lesson 10.2 · Cyber Security

Discuss this question

84. How many possible keys does a 64-bit key have?

  1. 2^63
  2. 2 × 64
  3. 64^2
  4. 2^64

Answer: D) 2^64

Explanation: Each bit doubles the key space: 2^64. Lesson 10.2 · Cyber Security

Discuss this question

85. Using a firewall, antivirus, MFA and staff training together is an example of:

  1. Single point of failure
  2. Defence in depth
  3. Zero-day protection only
  4. Least privilege only

Answer: B) Defence in depth

Explanation: Multiple layers of security. Lesson 10.1 · Cyber Security

Discuss this question

86. The ciphertext "HDGJW" was made with a Caesar shift of 5. What is the plaintext?

  1. REBYC
  2. CYBER
  3. DZCFS
  4. MILOB

Answer: B) CYBER

Explanation: Shift each letter back by 5: HDGJW → CYBER. Lesson 10.2 · Cyber Security

Discuss this question

87. A risk has a single loss expectancy (SLE) of Rs 5,000 and an annual rate of occurrence (ARO) of 2. What is the annual loss expectancy (ALE)?

  1. Rs 5,000
  2. Rs 2,500
  3. Rs 10,000
  4. Rs 20,000

Answer: C) Rs 10,000

Explanation: ALE = SLE × ARO = 5,000 × 2 = Rs 10,000. Lesson 10.4 · Cyber Security

Discuss this question

88. Using a Caesar cipher with a shift of 3, what is the ciphertext of "HELLO"?

  1. EBIIL
  2. JGNNQ
  3. KHOOR
  4. LIPPS

Answer: C) KHOOR

Explanation: Shift each letter forward by 3: HELLO → KHOOR. Lesson 10.2 · Cyber Security

Discuss this question

89. Changing a URL from /invoice?id=101 to /invoice?id=102 to see another customer's invoice shows:

  1. XSS
  2. A DDoS attack
  3. Strong authentication
  4. Broken access control (IDOR)

Answer: D) Broken access control (IDOR)

Explanation: The server must check ownership. Lesson 10.3 · Cyber Security

Discuss this question

90. A fingerprint scan is which authentication factor?

  1. Something you know
  2. Somewhere you are
  3. Something you are
  4. Something you have

Answer: C) Something you are

Explanation: Biometrics. Lesson 10.1 · Cyber Security

Discuss this question

91. In cyber exercises, the team that defends the organisation is the:

  1. Blue team
  2. White hat attackers
  3. Red team
  4. Purple team only

Answer: A) Blue team

Explanation: The red team attacks. Lesson 10.4 · Cyber Security

Discuss this question

92. Malware that spreads across networks by itself, without user action, is a:

  1. Adware
  2. Virus
  3. Worm
  4. Trojan

Answer: C) Worm

Explanation: A virus needs an infected file to be run. Lesson 10.1 · Cyber Security

Discuss this question

93. A password is 8 characters long and uses upper- and lowercase letters and digits (62 possible characters). How many possible passwords are there?

  1. 62^8
  2. 62 × 8
  3. 62^7
  4. 8^62

Answer: A) 62^8

Explanation: Each of the 8 positions has 62 choices: 62^8 = 218,340,105,584,896. Lesson 10.2 · Cyber Security

Discuss this question

94. The SHA-256 algorithm produces a digest of:

  1. 160 bits
  2. 512 bits
  3. 128 bits
  4. 256 bits

Answer: D) 256 bits

Explanation: 32 bytes. Lesson 10.2 · Cyber Security

Discuss this question

95. The ciphertext "KHOOR" was made with a Caesar shift of 3. What is the plaintext?

  1. IFMMP
  2. NKRRU
  3. OLLEH
  4. HELLO

Answer: D) HELLO

Explanation: Shift each letter back by 3: KHOOR → HELLO. Lesson 10.2 · Cyber Security

Discuss this question

96. HTTPS uses asymmetric encryption mainly to:

  1. Replace passwords
  2. Compress pages
  3. Set up a shared session key, then symmetric encryption for the data
  4. Encrypt every byte with RSA

Answer: C) Set up a shared session key, then symmetric encryption for the data

Explanation: The hybrid approach is fast and secure. Lesson 10.2 · Cyber Security

Discuss this question

97. A risk has a single loss expectancy (SLE) of Rs 1,500 and an annual rate of occurrence (ARO) of 4. What is the annual loss expectancy (ALE)?

  1. Rs 375
  2. Rs 1,500
  3. Rs 6,000
  4. Rs 12,000

Answer: C) Rs 6,000

Explanation: ALE = SLE × ARO = 1,500 × 4 = Rs 6,000. Lesson 10.4 · Cyber Security

Discuss this question

98. Recovery Point Objective (RPO) is:

  1. The maximum acceptable amount of data loss, measured in time
  2. How fast systems must be restored
  3. The backup file size
  4. The number of backup disks

Answer: A) The maximum acceptable amount of data loss, measured in time

Explanation: RTO is the recovery time target. Lesson 10.4 · Cyber Security

Discuss this question

99. In RSA with p = 5 and q = 13, what is φ(n)?

  1. 84
  2. 64
  3. 48
  4. 65

Answer: C) 48

Explanation: φ(n) = (p − 1)(q − 1) = 48. Lesson 10.2 · Cyber Security

Discuss this question

100. The best way to store user passwords is:

  1. AES with the key in the same table
  2. Plain text in the database
  3. Base64 encoding
  4. A salted, slow hash such as bcrypt or Argon2

Answer: D) A salted, slow hash such as bcrypt or Argon2

Explanation: Slow hashes resist brute force. Lesson 10.2 · Cyber Security

Discuss this question

Previous Page 4 of 6 Next

Practise NSCT: Cyber Security MCQs

More Computer Science chapters