The Scenario: You have a storage bin called Inventory that starts with 10 items. You process a list of delivery tickets one by one: [+5, -12, +8, -2].
Question: What is the final number of items in the Inventory after all four tickets are processed?
21
The Scenario: You have a penny bank that starts with 5 pennies. You decide to add 3 pennies every day. You have a rule: "Keep adding pennies as long as the total is less than 15."
Question:
4 days and 17 pennies
The Scenario: You start with the word "SPACE". You must apply these three rules to every letter, starting from the left:
Question: What is the final "word" (or string of letters) left at the end?
SCC
The Scenario: A climber starts at the bottom of a 10-step staircase (Step 0). Their goal is to reach Step 10. They follow these rules for every "turn" until they reach or pass Step 10:
Question: How many "turns" does it take for the climber to reach Step 10? List the step they are on at the end of each turn.
6 turns 2, 4, 5, 7, 8, 10
The Scenario: A robot is on a grid at position (0, 0). It is given a "Move Command": Repeat 3 times: [Step Right, Step Up]. However, a "Global Interruption" rule is active:
Question: Trace the robot's journey. What is its final coordinate (Right, Up) after the "Repeat 3" command is finished?
6, 3
The Scenario: A librarian is checking 3 shelves. Each shelf has 4 books. The librarian must follow this "Nested Routine":
Question: How many total minutes does the librarian spend on this routine, including the check times and breaks?
21 total minutes