MCQs / Computer Science / NSCT: Cyber Security
NSCT: Cyber Security MCQs — Computer Science 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.
1. In RSA, the primes are p = 7 and q = 11. What is n? 78 77 60 18 Answer: B) 77
Explanation: n = p × q = 77. Lesson 10.2 · Cyber Security
Discuss this question
2. In RSA, the primes are p = 5 and q = 11. What is n? 56 55 16 40 Answer: B) 55
Explanation: n = p × q = 55. Lesson 10.2 · Cyber Security
Discuss this question
3. In RSA with p = 3 and q = 11, what is φ(n)? 20 33 32 48 Answer: A) 20
Explanation: φ(n) = (p − 1)(q − 1) = 20. Lesson 10.2 · Cyber Security
Discuss this question
4. In RSA, the primes are p = 5 and q = 13. What is n? 66 48 65 18 Answer: C) 65
Explanation: n = p × q = 65. Lesson 10.2 · Cyber Security
Discuss this question
5. How many possible keys does a 56-bit key have? 2 × 56 2^55 56^2 2^56 Answer: D) 2^56
Explanation: Each bit doubles the key space: 2^56. Lesson 10.2 · Cyber Security
Discuss this question
6. Which is an asymmetric (public-key) algorithm? RSA DES AES ChaCha20 Answer: A) RSA
Explanation: RSA uses a key pair. Lesson 10.2 · Cyber Security
Discuss this question
7. An attacker posts a comment containing a script that runs in other users' browsers. This is: SQL injection CSRF Cross-site scripting (XSS) Directory traversal Answer: C) Cross-site scripting (XSS)
Explanation: Fix with output encoding and CSP. Lesson 10.3 · Cyber Security
Discuss this question
8. In RSA with p = 5, q = 11 and public exponent e = 3, what is the private exponent d (where e × d ≡ 1 mod φ(n))? 28 13 3 27 Answer: D) 27
Explanation: φ = 40; 3 × 27 = 81 = 2 × 40 + 1, so d = 27. Lesson 10.2 · Cyber Security
Discuss this question
9. Verifying who a user is, is called ; deciding what they may access is . Authorisation; authentication Authentication; authorisation Auditing; encryption Accounting; hashing Answer: B) Authentication; authorisation
Explanation: AuthN vs AuthZ. Lesson 10.1 · Cyber Security
Discuss this question
10. Using a Caesar cipher with a shift of 5, what is the ciphertext of "CYBER"? IEHKX XTWZM HDGJW GCFIV Answer: C) HDGJW
Explanation: Shift each letter forward by 5: CYBER → HDGJW. Lesson 10.2 · Cyber Security
Discuss this question
11. A Web Application Firewall (WAF) mainly protects against: Power failures Hard disk crashes Application-layer attacks such as SQL injection and XSS Physical theft Answer: C) Application-layer attacks such as SQL injection and XSS
Explanation: It inspects HTTP traffic. Lesson 10.3 · Cyber Security
Discuss this question
12. Following an employee through a secured door without swiping a card is: Tailgating Phishing Spoofing Pretexting Answer: A) Tailgating
Explanation: A physical social engineering attack. Lesson 10.1 · Cyber Security
Discuss this question
13. Under PECA 2016, accessing someone's computer system without permission is: Legal if no data is changed Legal for students A criminal offence Only a civil matter Answer: C) A criminal offence
Explanation: Unauthorised access is punishable. Lesson 10.4 · Cyber Security
Discuss this question
14. In RSA with p = 11 and q = 13, what is φ(n)? 143 142 120 168 Answer: C) 120
Explanation: φ(n) = (p − 1)(q − 1) = 120. Lesson 10.2 · Cyber Security
Discuss this question
15. In RSA with p = 7, q = 11 and public exponent e = 7, what is the private exponent d (where e × d ≡ 1 mod φ(n))? 17 44 7 43 Answer: D) 43
Explanation: φ = 60; 7 × 43 = 301 = 5 × 60 + 1, so d = 43. Lesson 10.2 · Cyber Security
Discuss this question
16. Redirecting users to a fake site by corrupting a DNS server's cache is: Smishing A logic bomb DNS poisoning (pharming) ARP spoofing Answer: C) DNS poisoning (pharming)
Explanation: Users type the right URL but reach the wrong IP. Lesson 10.3 · Cyber Security
Discuss this question
17. How many possible keys does a 40-bit key have? 2^39 40^2 2 × 40 2^40 Answer: D) 2^40
Explanation: Each bit doubles the key space: 2^40. Lesson 10.2 · Cyber Security
Discuss this question
18. In RSA, the primes are p = 11 and q = 13. What is n? 120 144 24 143 Answer: D) 143
Explanation: n = p × q = 143. Lesson 10.2 · Cyber Security
Discuss this question
19. Code that triggers its payload on a specific date or event is a: Worm Keylogger Rootkit Logic bomb Answer: D) Logic bomb
Explanation: e.g. deleting files if an employee is removed from payroll. Lesson 10.1 · Cyber Security
Discuss this question
20. Phishing carried out through SMS messages is called: Smishing Whaling Vishing Pharming Answer: A) Smishing
Explanation: Vishing uses voice calls. Lesson 10.1 · Cyber Security
Discuss this question
21. Leaving infected USB drives in a car park for employees to plug in is: Vishing Whaling Smishing Baiting Answer: D) Baiting
Explanation: Curiosity is exploited. Lesson 10.1 · Cyber Security
Discuss this question
22. A risk has a single loss expectancy (SLE) of Rs 300,000 and an annual rate of occurrence (ARO) of 0.1. What is the annual loss expectancy (ALE)? Rs 300,000 Rs 3,000,000 Rs 60,000 Rs 30,000 Answer: D) Rs 30,000
Explanation: ALE = SLE × ARO = 300,000 × 0.1 = Rs 30,000. Lesson 10.4 · Cyber Security
Discuss this question
23. An email pretending to be from your bank asking you to "verify" your password is: SQL injection Tailgating DDoS Phishing Answer: D) Phishing
Explanation: A social engineering attack. Lesson 10.1 · Cyber Security
Discuss this question
24. Which is a symmetric encryption algorithm? RSA AES Diffie–Hellman ECC Answer: B) AES
Explanation: AES is the modern standard block cipher. Lesson 10.2 · Cyber Security
Discuss this question
25. A digital signature on a contract provides: Anonymity Availability Compression Non-repudiation Answer: D) Non-repudiation
Explanation: The signer cannot deny signing it. Lesson 10.1 · Cyber Security
Discuss this question
Page 1 of 6 Next
Practise NSCT: Cyber Security MCQs
More Computer Science chapters