by BlastRoom
Practice evaluating arithmetic, comparison, integer-division, and modulo expressions.
#computer_science

50 questions
One question set, multiple game modes. Tap any game to see it in action. Not sure which to pick?
Answer to place stones and capture territory.
Outrun the snow together.
Earn blasts, then hunt the other team.
Answer to earn energy, then climb.

The class blasts through walls together.
Bid on mystery lots. Most money wins.
Sell tours. Nice, standard, or a total scam.
Answer, restock, and serve the rush.
More correct answers pulls the rope your way.
Answer, then shoot down the alien wave.
Answer, then tap to leap the frozen ridge.
In this pseudocode, / is ordinary division. What value does have?
Evaluate , where / keeps the fractional part.
What is the value of when / is ordinary division?
A program evaluates . What result does it get?
Find the value of .
What does evaluate to?
In an expression evaluator, what value results from ?
Calculate .
When / keeps the fractional part, what is ?
What value does have?
Evaluate .
A variable is assigned the value of . What value is assigned?
In this pseudocode, DIV divides and discards any remainder. What value does have?
A program uses . What integer does the expression produce?
What is the result of when DIV discards the remainder?
Evaluate .
A counter is set to . What value is stored?
What integer results from ?
If DIV discards the remainder, evaluate .
What value does produce?
A packing machine puts eggs into boxes of 12. It runs . How many eggs are left after full boxes are packed?
Pencils are packed in bundles of 8. What does tell the program is left over?
A tournament makes complete teams of 7 players. For 78 players, what is ?
A phone sorts 145 photos into folders of 20. What remainder does return?
Cookies are arranged on trays of 9. What value is stored by ?
A warehouse fills cases with 15 bottles each. What is ?
At a banquet, complete tables seat 6 people. If 41 people arrive, what does equal?
A craft project makes strands of 10 beads. What is ?
Cards are stacked in complete piles of 12. What does return?
A library fills shelves with 8 books each. What leftover count does give?
What does c hold after these lines run? SET a TO 9 SET b TO 4 SET c TO a - b > b
What boolean value results from this comparison? SET p TO 12 SET q TO 3 SET result TO p DIV q = q + 1
A program runs this code. What does valid hold? SET score TO 17 SET valid TO score MOD 5 > 3
Evaluate the comparison. SET x TO 8 SET y TO 2 SET check TO x / y < 3 What does check hold?
What value is assigned to full? SET apples TO 24 SET boxes TO 6 SET full TO apples DIV boxes >= 4
A condition uses the expression below. What is its result? SET n TO 14 SET isTwo TO n MOD 4 = 2
What boolean value is assigned? SET m TO 5 SET enough TO m × 3 <= 14
After this assignment, what does exact hold? SET total TO 30 SET used TO 12 SET exact TO total - used = 18
A cinema seats 14 people in each row and fills rows one at a time. The variable people holds the ticket-holder count. Which expression gives the number of completely full rows?
A game kit needs 6 tokens. The variable tokens holds the number available. Which expression gives the number of tokens left after making as many complete kits as possible?
A printer can finish 5 posters per batch. The variable posters holds the number requested. Which expression gives the number of complete batches?
Students ride in vans that hold 4 students. The variable students holds the class size. Which expression gives the number of students who do not fit into a full van?
A robot travels at a constant speed stored in speed for a time stored in hours. Which expression calculates its distance traveled?
A store's original price is in original and its discount amount is in discount. Which expression calculates the sale price?
The variable score holds a student's score. Which comparison expression is true exactly when the score is at least 70?
In this pseudocode, DIV discards the remainder. Which expression has the same value as ?
Which expression has the same value as ?
Which expression evaluates to the same value as ?
When / keeps the fractional part, which expression has the same value as ?
Which expression has the same value as ?
Crack the passcode before the zombies get in.
Answer, then swat bugs for bonus points.
Race through questions at your own speed.
Same question on every screen. Fastest wins.

Pick a tile, answer, hit bonuses and steals.
Boolean Logic: AND, OR and NOT
50 questions