🔍 Unit 1: Programming Foundations — Pre-Unit Diagnostic
Assessment FOR Learning — Teacher Feedback
📋 Not Graded — Descriptive Feedback Only
Purpose: Your teacher uses this to identify gaps in problem-solving, basic logic, and math reasoning before Unit 1. Be thorough — show all work and reasoning. There is no "wrong" answer at this stage; partial responses help your teacher help you.
Question 1 — Problem-solving
A pizza is cut into 8 equal slices. Three friends each eat 2 slices. Then a fourth friend joins and eats half of what is left. How many slices are now gone? Show your reasoning step by step.
Question 2 — Basic logic
Fill in the truth table. Use T or F.
A | B | (A and B) | (A or B) | (not A)
T | T | ? | ? | ?
T | F | ? | ? | ?
F | T | ? | ? | ?
F | F | ? | ? | ?
Question 3 — Math: integer arithmetic
If a school has 247 students and they are placed into teams of 8, (a) how many full teams of 8 are formed, and (b) how many students are left over?
Question 4 — Decomposition
A teacher wants a program that calculates a final mark from five term marks plus an exam. The exam is 30%, and the term work is the average of the five marks (70%). List the high-level steps the program would need to perform, in order, in plain English.
Question 5 — Pattern recognition
What is the next number in each sequence, and briefly explain the pattern?
2, 4, 8, 16, ___
1, 4, 9, 16, ___
1, 1, 2, 3, 5, 8, ___
3, 6, 11, 18, ___
Question 6 — Following instructions precisely
Read these instructions and produce the final value.
START with x = 10
DOUBLE x
SUBTRACT 5
DOUBLE x AGAIN
ADD x to itself
WHAT IS x?
Question 7 — Comfort self-check
On a scale of 1 (none) to 5 (very confident), rate yourself on each. Write 1-5 plus one sentence explaining why.