Dry Runs, Tracing & Logic Control: How Cambridge Awards Marks In Step-Based Logic Questions (Copy)
How Cambridge Awards Marks In Step-Based Logic Questions (Cambridge Standard – O Level 2210 + IGCSE 0478)
Why Understanding Marking Logic Changes How You Answer Paper 2
- Step-based logic questions are:
- Designed to assess process, not guessing
- Cambridge examiners:
- Do not award marks only for final answers
- Break marks across logical execution steps
- Students who understand marking:
- Structure answers to earn marks even when unsure
- Students who don’t:
- Lose easy method marks despite understanding the logic
What Cambridge Means By “Step-Based Logic”
- Step-based logic questions require:
- Sequential execution
- Correct control flow
- Correct variable updates at each step
- Typical question formats:
- Trace tables
- Predict the output
- Explain what happens in each iteration
- Identify logical errors
- Each step is:
- Independently assessable
- Separately creditable
Core Examiner Principle (Non-Negotiable)
- Marks are awarded for:
- Correct reasoning steps
not - Just the final numerical or textual output
- Correct reasoning steps
If your steps are visible and logical:
- You can score even with an incorrect final value
Typical Cambridge Mark Allocation Model (Hidden But Consistent)
For a 4–6 mark step-based logic question:
| Logic Component | Typical Marks |
|---|---|
| Correct initialisation | 1 |
| Correct loop bounds | 1 |
| Correct condition evaluation | 1 |
| Correct variable update | 1 |
| Correct output order | 1 |
| Correct final value | 1 |
Not all questions use all parts, but:
- This pattern appears repeatedly across mark schemes
Initialisation Marks (Very Common)
- Cambridge awards marks for:
- Correct starting values
- Examples:
- total ← 0
- count ← 0
- found ← FALSE
- If initialisation is wrong:
- You usually lose only that mark
- Later logic may still score via ECF
Examiner Behaviour
- Examiners check:
- Whether variables have defined values before use
- Missing or incorrect initialisation:
- Does not automatically zero the question
Written and Compiled By Sir Hunain Zia (AYLOTI), World Record Holder With 154 Total A Grades, 7 Distinctions and 11 World Records For Educate A Change O Level And IGCSE Computer Science Full Scale Course
Loop Structure Marks (High-Value)
- Loop-related marks include:
- Correct start value
- Correct end value
- Correct direction
- FOR loop expectations:
- Inclusive bounds
- WHILE / REPEAT expectations:
- Correct termination logic
If you:
- Use correct loop bounds
But: - Make an arithmetic error inside
You still earn: - Loop structure marks
Condition Evaluation Marks (Often Separate)
- Cambridge often awards marks for:
- Correct TRUE/FALSE evaluation
- Especially in:
- IF statements
- WHILE loop conditions
- Writing TRUE/FALSE in trace tables:
- Makes condition logic visible
- Helps examiners award marks confidently
Common Examiner Decision
- Condition evaluated correctly ✔
- Action taken incorrectly ✘
- Result:
- Partial credit awarded
Variable Update Marks (Assignment Accuracy)
- Marks are awarded for:
- Correct placement of assignments
- Correct update logic
- Example:
- total ← total + value
- If update is:
- In the wrong branch
- Or applied unconditionally
- That specific mark is lost
- Other marks remain available
Written and Compiled By Sir Hunain Zia (AYLOTI), World Record Holder With 154 Total A Grades, 7 Distinctions and 11 World Records For Educate A Change O Level And IGCSE Computer Science Full Scale Course
Output Marks Are Split (Not Single-Point)
- Output marks are usually divided into:
- Correct number of outputs
- Correct order of outputs
- Correct values
- This means:
- One wrong value does not kill the whole output section
Example
Expected output:
- 2, 4, 6, 8
Student writes:
- 2, 4, 7, 8
Marking:
- Order ✔
- Three values ✔✔✔
- One value ✘
Error-Carried-Forward (ECF) Principle
- Cambridge often applies ECF when:
- An early mistake is followed logically
- Example:
- Wrong initial value
- But correct update pattern applied consistently
- Examiners:
- Penalise the initial mistake once
- Continue awarding marks for correct logic thereafter
Examiner Limitation
- ECF is applied only if:
- Logic remains consistent
- Random changes:
- Break ECF eligibility
Marks For “Understanding”, Not Presentation Style
- You are not penalised for:
- Using tables instead of prose
- Using arrows instead of equals
- Using abbreviations
- You are penalised for:
- Skipped steps
- Ambiguous working
- Unclear sequencing
Clarity helps examiners:
- Award marks confidently
Written and Compiled By Sir Hunain Zia (AYLOTI), World Record Holder With 154 Total A Grades, 7 Distinctions and 11 World Records For Educate A Change O Level And IGCSE Computer Science Full Scale Course
Where Students Lose Easy Step-Based Marks
- Writing only final output
- Skipping initialisation
- Not showing loop iterations
- Jumping from start to end
- Not separating outputs clearly
- Confusing order of execution
Where Students Gain Unexpected Marks
- Showing trace tables even when not asked
- Writing TRUE/FALSE for conditions
- Continuing after a mistake
- Keeping output order correct
- Clearly showing variable changes
How Examiners Read Your Answer (Reality Check)
Examiners scan for:
- Evidence of algorithm understanding
- Logical progression
- Consistent application of rules
They do not:
- Re-run the algorithm in their head
- Guess what you meant
If they can see it:
- They can mark it
Strategic Answer Structuring For Maximum Marks
- Use:
- Simple tables
- Clear rows
- Write values:
- Immediately after assignments
- Separate:
- Each iteration
- Each output
- Avoid:
- Dense paragraphs
- Inline calculations without context
Written and Compiled By Sir Hunain Zia (AYLOTI), World Record Holder With 154 Total A Grades, 7 Distinctions and 11 World Records For Educate A Change O Level And IGCSE Computer Science Full Scale Course
What To Do When You’re Unsure In The Exam
- Do not leave the question blank
- Do not guess final output
- Instead:
- Trace at least one full iteration
- Show how variables change
- Even partial tracing:
- Can earn marks
Examiner Checklist You Should Mirror
- Are initial values shown?
- Are loops executed correctly?
- Are conditions evaluated correctly?
- Are updates applied in correct places?
- Are outputs listed in order?
If “yes” to most:
- Marks will follow
Final Quality Checklist
- Steps visible
- Logic sequential
- Updates shown
- Outputs clear
- No skipped execution
Final Lock-In Rules
- Step-based marks reward reasoning
- Final answers are only one part
- Showing logic protects your score
- Consistency enables ECF
- Understanding marking = higher Paper 2 grades
