levo

Computational Thinking

Operators and trace tables

  • 3 things to know
  • Paper 1
Start revising · £5/month

Overview

Modulus, integer division and exponentiation with worked values, the order of operations, relational and logical operators in conditions, and trace tables for short algorithms.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What does the modulus operator return?

Key term

Describe what integer division returns.

Key term

State the values of 29 modulus 6 and 29 integer-divided by 6.

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What does the modulus operator return?

    Model answer

    The modulus operator returns the remainder left after a whole-number division. The expression 17 modulus 5 gives 2, because 5 × 3 = 15.

  2. 2

    Describe what integer division returns.

    Model answer

    Integer division returns the whole number of times one number goes into another. Any remainder is discarded, so 17 integer-divided by 5 gives 3.

  3. 3

    State the values of 29 modulus 6 and 29 integer-divided by 6.

    Model answer

    The modulus is 5 and the integer division gives 4. The check is 4 × 6 + 5 = 29.

  4. 4

    What is 2 raised to the power 5, using the exponentiation operator?

    Model answer

    The value of 2 to the power 5 is 32. Exponentiation multiplies 2 by itself five times.

  5. 5

    How can the modulus operator show whether a whole number is even?

    Model answer

    A number is even when the number modulus 2 gives 0. An odd number always leaves a remainder of 1.

  6. 6

    What is the value of 7 + 3 × 2, and why?

    Model answer

    The value is 13. Multiplication is carried out before addition, so 3 × 2 = 6 is worked out first.

Other ways to work this

The same content, four other ways.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

Computational Thinking
Data
Computers
Networks

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

The check is 45 + 27 = 72.
denarybinaryhexadecimal

Blank Blitz consolidates the facts

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

A kibibyte (KiB) is 1,024 bytes. The figure 1,024 is 2¹⁰.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Computational Thinking, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.