ProgrammingStudy Notes

Selection Structures

Part of Selection (IF Statements)GCSE Computer Science

This study notes covers Selection Structures within Selection (IF Statements) for GCSE Computer Science. Revise Selection (IF Statements) in Programming for GCSE Computer Science with 15 exam-style questions and 8 flashcards. This is a high-frequency topic, so it is worth revising until the explanation feels precise and repeatable. It is section 4 of 9 in this topic. Use this study notes to connect the idea to the wider topic before moving on to questions and flashcards.

Topic position

Section 4 of 9

Practice

15 questions

Recall

8 flashcards

Selection Structures

Structure Use When OCR Pseudocode
IF Single condition if condition then...endif
IF-ELSE Two alternatives if...then...else...endif
IF-ELSEIF-ELSE Multiple conditions if...then...elseif...else...endif
SWITCH/CASE Many specific values switch...case...default...endswitch

Keep building this topic

Read this section alongside the surrounding pages in Selection (IF Statements). That gives you the full topic sequence instead of a single isolated revision point.

Practice Questions for Selection (IF Statements)

Which programming construct is used to make a decision based on a condition?

  • A. FOR loop
  • B. IF statement
  • C. WHILE loop
  • D. Function definition
1 markfoundation

Explain the difference between using ELSEIF and using nested IF statements to test multiple conditions.

3 marksstandard

Quick Recall Flashcards

When use SWITCH?
Comparing one variable against many specific values
When use ELSEIF?
When you have multiple conditions to check

Want to test your knowledge?

PrepWise has 15 exam-style questions and 8 flashcards for Selection (IF Statements) — with adaptive difficulty and instant feedback.

Join Alpha