Coding and Outputs
Boolean Logic
Fun Facts
Camp Activities
100

"when [green flag] clicked

    point in direction 90

    move 10 steps"

The sprite moves in this direction.

What is right?

100

This is the number that represents "False" in boolean logic.

What is 0?

100

This is what CPU stands for.

What is Central Processing Unit?

100

Name one of the blocks in Minecraft can be used to power a redstone circuit.

What is the redstone torch, block of redstone, button, lever, etc?

200

"when this sprite clicked

    if <touching Basketball>

        go to [ random position ]"

This happens when only the green flag is clicked in Scratch.

What is nothing?

200

In a list: [apple, banana, tomato], the boolean operator statement "contains and contains o".

This is the list item that would output.

What is tomato?

200

This is the most commonly used password in the entire world.

'123456'. Second and third place are 'password' and '12345'. None of these passwords are recommended!

200

This is the terminal that connects to ground in a circuit (+/-).

What is negative (-)?

300

"when program starts

    if colour sensor C is colour red

        motor A run ↷ for 3 rotations

    elseif colour sensor C is colour blue

        motor B run ↷ for 3 rotations

    else

        motor A run ↶ for 5 rotations"

This will happen when the program starts, the Lego Bot is plugged in with motors A and B and colour sensor C, and the colour sensor detects the colour black.

What is motor A running ↶ (left) for 5 rotations?

300

In a list: [vanilla, chocolate, strawberry], the boolean operator statement is "is not strawberry".

These are the ice cream flavours that would be returned.

What are vanilla and chocolate?

300

This is what we call a separating character between two bytes.

What is a delimiter?

300

This is the word for loops which are within other loops.

What is a nested loop?

400

"!(true Λ false)"

The equation above would return this boolean expression.

What is false/0?

400

This is the minimum number of moves it takes to move 4 rings on the Towers of Hanoi from one end to the other (with the classic Towers of Hanoi rules).

What is 15 moves?

500

x = false

if x == true:

    print("yay")

else:

    print("aw")

This is what prints.

What is "aw"?

500

This is what we add to the sharp edges of 3D models to make them softer, like making a diagonal cut on the edge. It is also called a chamfer.

What are bevels?