Pseudocode Index
Pseudocode Index
Pseudocode tests logic, not syntax. Your main job is to trace variables accurately under time pressure.
Notes
- [[Tracing_Method]]
- [[Loop_Patterns]]
- [[Arrays_and_Strings_Pseudocode]]
- [[Recursion_Pseudocode]]
- [[Pseudocode_PYQ_Style_Question_Bank]]
- [[Pseudocode_20_Minute_Mock]]
Core pseudocode keywords
| Keyword | Meaning |
|---|---|
| READ | take input |
| DISPLAY / PRINT | output |
| SET | assign value |
| IF / ELSE | conditional branch |
| FOR | fixed-count loop |
| WHILE | condition-based loop |
| REPEAT UNTIL | loop runs at least once |
| CASE | multi-way branching |
| RETURN | send value back from function |
20-question strategy
Time: 20 minutes.
Target:
- 10 easy questions in first 7–8 minutes.
- 6 medium questions in next 8 minutes.
- 4 hard/long questions in remaining time.
Most common output traps
- Off-by-one loop boundaries:
<vs<= - Integer division
- Modulus
% - Variable update order
- Nested loops
- Array index starting from 0 or 1
WHILEzero executionREPEAT UNTILat least one execution- Recursive base case