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? DIFVE ARBEZ ZEBRA 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? 10^5 10^6 10 × 6 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: Peppering only Salting Encoding 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) 128 15 129 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? 10 bits 13 bits 27 bits 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: No passwords are needed Only trust the firewall Never trust by default; verify every request 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"? ITDBLMTG XISQABIV VGQOYZGT 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? 30.8916 seconds 18534.9 seconds 617.832 seconds 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? 2^63 2 × 64 64^2 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: Single point of failure Defence in depth Zero-day protection only 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? REBYC CYBER DZCFS 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)? Rs 5,000 Rs 2,500 Rs 10,000 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"? EBIIL JGNNQ KHOOR 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: XSS A DDoS attack Strong authentication 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? Something you know Somewhere you are Something you are 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: Blue team White hat attackers Red team 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: Adware Virus Worm 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? 62^8 62 × 8 62^7 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: 160 bits 512 bits 128 bits 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? IFMMP NKRRU OLLEH 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: Replace passwords Compress pages Set up a shared session key, then symmetric encryption for the data 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)? Rs 375 Rs 1,500 Rs 6,000 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: The maximum acceptable amount of data loss, measured in time How fast systems must be restored The backup file size 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)? 84 64 48 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: AES with the key in the same table Plain text in the database Base64 encoding 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