Master Question 16
Core Programming Principles
Master the essential logic required for KCSE Paper 1. From loops to data structures, we break down every concept into clear, actionable steps.

FOR / WHILE
4 ModulesLevel 25%
Loop Structures
Core Logic
Master iterative processes. Learn how to implement FOR, WHILE, and REPEAT-UNTIL loops to handle repetitive tasks in your code.
Study ToolLogic Flow Kit
Key Concepts:
IterationCountersTermination
Trace tables for loop dry-runs
Essential

IF / CASE
4 ModulesLevel 55%
Decision Logic
Core Logic
Control program flow with precision. Understand IF-THEN-ELSE and CASE structures to manage complex branching scenarios.
Study ToolBranching Logic Set
Key Concepts:
ConditionalsBoolean LogicBranching
Nested IF-THEN-ELSE mastery

ARRAYS
6 ModulesLevel 85%
Data Structures
Data Handling
Organize data efficiently. Learn to declare and manipulate arrays to store multiple values under a single identifier.
Study ToolArray Indexing Tool
Key Concepts:
IndexingArray TraversalData Storage
One-dimensional array sorting

SYMBOLS
6 ModulesLevel 95%
Flowchart Design
Visual Logic
Map your algorithms visually. Master standard flowchart symbols to represent processes, decisions, and terminals.
Study ToolFlowchart Template
Key Concepts:
Standard SymbolsProcess MappingLogic Flow
Standardized examiner notation

SYNTAX
5 ModulesLevel 60%
Pseudocode Syntax
Writing Code
Write clean, readable pseudocode. Learn the conventions for variable declaration, input/output, and algorithmic steps.
Study ToolSyntax Guidebook
Key Concepts:
Variable NamingInput/OutputReadability
Common syntax error avoidance

TRACING
3 ModulesLevel 20%
Exam Dry-Runs
Verification
Verify your logic before submission. Practice dry-running algorithms to catch off-by-one errors and logic flaws.
Study ToolTrace Table Pad
Key Concepts:
Dry-RunningError DetectionLogic Testing
Step-by-step trace table practice
Need help with a specific topic?
Get personalized guidance from our expert tutors on any programming concept.
Exam Preparation
Question 16 Mastery
Step-by-step tutorials, algorithmic breakdowns, and exam-proven strategies to help you ace the KCSE programming theory paper.