Big Idea 3 · Topic 3.9 · Exercise 2
Build It from Blocks
25 minutes - 5 tasks - choose, combine, or modify the building blocks
Back to the Topic 3.9 lessonAll CSP topics
How this page works
The writing boxes below are yours. What you type stays in this browser, is saved here as you go, and is never sent to us or to your teacher. Hand the written work in the way your teacher asked for it.
The graded check at the bottom is the part that records to your teacher's gradebook.
The cases, from your handoutNot recorded
The same cases as your handout, in the same order.
Scenario 1 · Foundational
Show the higher of the current player's score and the stored high score, so the leaderboard always displays the best of the two.
Building block(s) this task uses:
Use / combine / modify - and the algorithm sketch:
Enrichment - a boundary case to test or a subtler choice:
Scenario 2 · Core
A coin should appear on every 5th tile. Given a tile number, decide whether that tile has a coin.
Building block(s) this task uses:
Use / combine / modify - and the algorithm sketch:
Enrichment - a boundary case to test or a subtler choice:
Scenario 3 · Core
Report the average of a playtester's three level scores, and then state whether that average earns a passing grade of at least 60.
Building block(s) this task uses:
Use / combine / modify - and the algorithm sketch:
Enrichment - a boundary case to test or a subtler choice:
Scenario 4 · Challenge
Find the LOWEST of a playtester's three level scores so you can flag their weakest level.
Building block(s) this task uses:
Use / combine / modify - and the algorithm sketch:
Enrichment - a boundary case to test or a subtler choice:
Scenario 5 · Challenge
The hero must get from the start of a straight corridor to a wall two squares ahead, then turn and step once into the room on its right. Describe the algorithm as robot commands.
Building block(s) this task uses:
Use / combine / modify - and the algorithm sketch:
Enrichment - a boundary case to test or a subtler choice:
No graded check on this page yetNot recorded
About the line in your handout
Your handout says this exercise is available online and auto-graded. The exercise IS here, and it is the same work in the same order, but the auto-graded half is not written for this topic yet. Nothing on this page is scored or sent to your teacher.
Hand this in the way your teacher asked for it. Topic 1.1 has its graded check today, and the rest follow.