Do Practice Problems in Quorum

Learn code through small examples.

Two cartoon rabbits wearing glasses. The rabbit on the left is holding a game controller, while the rabbit on the right is holding up a paper with a pie chart on it.

Conditionals Problems

The If Block

In this program, start building a program that decides if a number is even or odd. First, determine where the if block should be located and what blocks should be inside the if scope. Then, run the program. You should expect the program to output 34 is an even number. Hold off on changing the if block. In the next problem, you will focus on constructing the boolean expression.

Coding:

Blocks