8.1.3

Completing Algorithms

Test yourself on Completing Algorithms

Test your knowledge with free interactive questions on Seneca — used by over 10 million students.

Completing Algorithms

Some exam questions will ask you to state the output of an algorithm.

Interpreting the algorithm

Interpreting the algorithm

  • The first step for this type of question is to try to identify what the algorithm does.
  • If you can interpret the algorithm, then it will be much easier to follow it.
Trace tables

Trace tables

  • You can draw a table with a column for each variable in the algorithm.
  • Use this table to keep track of the value of each variable, and carefully follow through the code until the end.
  • Finally, the trace table should include your answer.
Jump to other topics
1

Components of a Computer

2

Software & Software Development

3

Exchanging Data

4

Data Types, Data Structures & Algorithms

5

Legal, Moral, Cultural & Ethical Issues

6

Elements of Computational Thinking

6.1

Thinking Abstractly

6.2

Thinking Ahead

6.3

Thinking Procedurally

6.4

Thinking Logically

6.5

Thinking Concurrently

7

Problem Solving & Programming

8

Algorithms

Practice questions on Completing Algorithms

Can you answer these? Test yourself with free interactive practice on Seneca — used by over 10 million students.

  1. 1
  2. 2
    Trace TablesPut in order
  3. 3
Answer all questions on Completing Algorithms

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium