HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Astronomy & Space Science
  • Earth & Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Quizzes
  2. /Two-step verification on a website uses codes of 5 digits, and the account locks after 4 wrong codes. Someone who already knows the password tries a different code each time. Their odds of getting in are one in how many?
Computer ScienceMediumHigh School (9–10)Computer Systems › Encryption and Cyber SecurityIGCSE
StemPy LabCreated by StemPy Lab
Read about Encryption and Cyber Security first

Data sent over a network can be read or changed by others, so it needs protection. Encryption turns plain text into cipher text that only someone with the right key can read. In symmetric encryption the same key locks and unlocks the data. In asymmetric encryption a public key encrypts and a private key decrypts. Systems also face threats such as malware, phishing, brute-force attacks, denial of service and hacking. Defences include strong passwords, firewalls, anti-malware software, access levels, two-step verification and secure connections such as HTTPS.

Lessons, worked problems and more questions on Encryption and Cyber Security →

Two-step verification on a website uses codes of 555 digits, and the account locks after 444 wrong codes. Someone who already knows the password tries a different code each time. Their odds of getting in are one in how many?

There are 105=10000010^5 = 100000105=100000 codes, and the attacker gets 444 of them: 100000÷4=25000100000 \div 4 = 25000100000÷4=25000. 100000100000100000 is the chance for a single try. 200002000020000 allows 555 tries. 250025002500 is ten times too likely.
Log in to save
← All Quizzes
← A hidden program on Tomas's laptop turns out to be spyware. What was it trying to do?Sami's laptop runs anti-malware, including anti-virus and anti-spyware. What does that software actually do? →
More onComputer Systems › Encryption and Cyber Security

Discussion (0)

Log in to join the discussion.

Loading…

More questions on this topic

  1. How can a proxy server help a company whose website is under a DDoS attack?Hard
  2. Which change makes a brute-force attack on an online account almost impossible?Hard
  3. Statement 1: A firewall removes a virus that is already on a computer. Statement 2: SSL encrypts…Hard
  4. Lina types the correct address of her bank, but a fake copy of the bank's website opens. She…Hard
  5. A worm enters one computer of a network of 1000 computers. Each hour, every infected computer…Hard
All questions on this topic →

Problems on this topic

  1. A small office has 6 staff. They share files on a server, use email, and log in to an online bank…Hard
  2. A school connects its network to the internet through a firewall…Medium
  3. A bank uses two-step verification. After the password, it sends a 6-digit code to the customer's…Medium
  4. At a small company, a caller rings the reception desk…Hard
All problems on this topic →