
KS3 Computer Science – IF Statements & ELSE Logic in Small Basic (2026 Updated) | FREE Online Compiler | Dyslexia-Friendly
Fully resourced, dyslexia-friendly KS3 Computer Science lesson introducing IF statements, ELSE logic and condition-based decision making in Small Basic.
Includes a complete PowerPoint, structured worksheet and fully guided coding tasks using the FREE online Small Basic compiler — no installation required. Designed with accessible formatting: pastel backgrounds, clear layouts and dyslexia-friendly fonts to support all learners.
Students learn:
- How IF statements work in real programs
- How to write and correct IF and IF/ELSE structures in Small Basic
- What logical symbols mean (=, <>, <, >)
- How programs make decisions based on conditions
Hands-on coding activities:
- Run and explain a starter program to develop computational thinking
- Complete a logic symbols table and apply operators in real code examples
- Debug broken IF statements to build resilience and problem-solving skills
- Implement IF/ELSE structures that produce different outcomes
- Use conditions to trigger jokes, messages and branching behaviour
Challenge tasks:
- Modify code to create multiple “knock knock” jokes
- Add nested IF/ELSE structures for deeper logical understanding
- Use Math.GetRandomNumber(3) to randomly select one of three jokes
- Expand into multi-stage interactive programs
Assessment and evidence:
- Screenshot prompts for each completed coding stage
- Written explanation boxes to secure conceptual understanding
- Debugging tasks to demonstrate mastery of logical reasoning
Lesson objectives:
- Understand how IF and ELSE statements control program flow
- Write programs that behave differently depending on user input
- Implement multiple conditions to expand software behaviour
Perfect for:
- KS3 Computing
- Coding clubs and enrichment
- Cover lessons
- Preparation for Python IF / ELIF / ELSE structures
This engaging, structured lesson makes logical decision-making accessible and enjoyable — building strong foundations for real-world programming.
Something went wrong, please try again later.
This resource hasn't been reviewed yet
To ensure quality for our reviews, only customers who have purchased this resource can review it
Report this resourceto let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.