MAKE IT YOURS

A world for every learner

Choose a grade to discover its colours and creative world.

Grade 12 Challenge: Algorithms & Real Computing Worksheet with Answers

Grade 12 (US) · Year 13 (UK) · Class 12 (India) · Computer Science

Unit 5: Going FurtherReal-World ChallengeChallenge

Computing as engineers meet it: password-cracking time, binary search on billions, subnets, two's complement and Python surprises. This free high school worksheet has 12 questions and a full answer key. Print it or save it as a PDF — every answer is checked by code, not guessed.

  • Answer keys checked by code
  • No ads, ever
  • No student accounts needed
  • Safety & privacy
Practice Sheetaethelsystems.com

Challenge: Algorithms & Real Computing

Grade 12 · Computer Science

Score___ / 12

Name

Class

Date

Learning goal: Real-World Challenge

Directions: Read each question carefully and write your answer on the line.

Example

A network is given the IPv4 block /25. How many usable host addresses does it have? (Two addresses are reserved.)

Answer: 126

  1. 1

    An attacker can try 1 million passwords per second. A password is 8 lowercase letters (26 options each). How many hours to try every possibility? Give 1 decimal place.

  2. 2

    A network is given the IPv4 block /28. How many usable host addresses does it have? (Two addresses are reserved.)

  3. 3

    Binary search is used on a sorted list of all 8.1 billion people on Earth. In the worst case, how many items must it check?

  4. 4

    An attacker can try 1 million passwords per second. A password is 7 lowercase letters (26 options each). How many hours to try every possibility? Give 1 decimal place.

  5. 5

    Changing a 9-character password from lowercase only (26 symbols) to letters + digits (62 symbols) multiplies the number of possible passwords by about how much? Round to the nearest whole number.

  6. 6

    In Python, what does print(-4 // -6) show? (// is floor division)

  7. 7

    Binary search is used on 1 million sorted records. In the worst case, how many items must it check?

  8. 8

    Tower of Hanoi with 10 disks: what is the fewest moves needed to move the whole tower?

  9. 9

    What is the fewest bits needed to give each of 50 US states its own unique binary ID?

  10. 10

    Tower of Hanoi with 14 disks: what is the fewest moves needed to move the whole tower?

  11. 11

    An attacker can try 1 million passwords per second. A password is 6 lowercase letters (26 options each). How many hours to try every possibility? Give 1 decimal place.

  12. 12

    Binary search is used on 1 billion sorted records. In the worst case, how many items must it check?

How did I do?

Teacher's comments

Free printable worksheets with answer keys · aethelsystems.com/worksheets/computer/12/challenge_cs_senior

Answer key (click to show)
  1. 1.58.0
  2. 2.14
  3. 3.33
  4. 4.2.2
  5. 5.2493
  6. 6.0
  7. 7.20
  8. 8.1023
  9. 9.6
  10. 10.16383
  11. 11.0.1
  12. 12.30

Need another Challenge: Algorithms & Real Computing worksheet?

Generate unlimited fresh versions at easy, medium or hard difficulty, each with its own answer key. Free during our launch — no card needed.

Create a free account

How to use this worksheet

  • Use it for revision before a test, as homework, or as a timed practice set.
  • Students can self-mark with the answer key and note which question types they got wrong.
  • Generate several versions of the same topic for spaced practice in the weeks before an exam.

Can't find what you need? Tell us which worksheet to make next.

Frequently asked questions

Does this Grade 12 Challenge: Algorithms & Real Computing worksheet come with answers?

Yes. The full answer key is on this page, and it prints on its own page after the questions. Every answer is calculated or checked by code rather than written by an AI model, so the key is always correct.

How do I print it or save it as a PDF?

Click "Download PDF" to save a ready-to-print PDF with the answer key on the last page, or click "Print" to send the worksheet and answer key straight to your printer.

Can I get a different Challenge: Algorithms & Real Computing worksheet?

Yes. Create a free account to generate as many fresh Grade 12 Challenge: Algorithms & Real Computing worksheets as you like, at easy, medium or hard difficulty, each with its own answer key.

Is this worksheet free?

Yes. This worksheet is free to print, and Practice Sheet is free to use during our launch with no card needed.