EN-PH · Home

English · Philippines · Free printable sample

Tracing algorithms

Try these questions and check the worked answers. Choose a skill for targeted practice or combine skills in a unit assessment.

Levels indicate approximate learning stages, not certified alignment with a country’s curriculum. Choose by the skills the learner is studying.

Save a full practice set

WorksheetWise · Standard · 1097

Tracing algorithms

Work through each question. Show your reasoning where space is provided.

Name: ____________________ · Date: ____________

  1. 1. Trace this algorithm. Start x = 3. Repeat 7 times: x ← x + 22. What is the final x?

  2. 2. Trace this algorithm. Start x = 14. Repeat 8 times: x ← x + 28. What is the final x?

  3. 3. Trace this algorithm. Start x = 7. Repeat 8 times: x ← x + 7. What is the final x?

  4. 4. Trace this algorithm. Start x = 10. Repeat 4 times: x ← x + 6. What is the final x?

  5. 5. Trace this algorithm. Start x = 27. Repeat 3 times: x ← x + 9. What is the final x?

WorksheetWise · en-ph · 1/1

WorksheetWise · Standard · 1097

Tracing algorithms — Answer key

Work through each question. Show your reasoning where space is provided.

  1. 1. Trace this algorithm. Start x = 3. Repeat 7 times: x ← x + 22. What is the final x?

    157

    3 → 25 → 47 → 69 → 91 → 113 → 135 → 157

  2. 2. Trace this algorithm. Start x = 14. Repeat 8 times: x ← x + 28. What is the final x?

    238

    14 → 42 → 70 → 98 → 126 → 154 → 182 → 210 → 238

  3. 3. Trace this algorithm. Start x = 7. Repeat 8 times: x ← x + 7. What is the final x?

    63

    7 → 14 → 21 → 28 → 35 → 42 → 49 → 56 → 63

  4. 4. Trace this algorithm. Start x = 10. Repeat 4 times: x ← x + 6. What is the final x?

    34

    10 → 16 → 22 → 28 → 34

  5. 5. Trace this algorithm. Start x = 27. Repeat 3 times: x ← x + 9. What is the final x?

    54

    27 → 36 → 45 → 54

WorksheetWise · en-ph · 1/1

Preparing the editor…

Mathematics

Phonics

Spelling

Grammar

Secondary mathematics

Science

Accounting

Geography

Computing

Advanced mathematics

Reading

History

Practice assessments

About these resources

WorksheetWise authors these practice questions and translations. Numerical answers are checked by automated tests. Reading and history include marking guidance. These materials have not been independently certified by an exam board.

For English-language practice in the Philippines. Start with a short arithmetic exercise or use your own vocabulary list. A4 is selected initially; switch to Letter if that is the paper in your printer. These are not Filipino-language materials or certified DepEd resources.