Thinking Logically (OCR A-Level Computer Science): Quizzes

📚Quizzes
Decisions in Computational Thinking
Sign up to keep practising.Create a free account to play more quizzes and track your progress.

Practise the questions

10 questions from this quiz

Show

What does a decision in a program depend on?

Whether a condition is true or false

When should a CASE/SWITCH statement be used?

Multiple conditions on a single variable

In the ATM scenario, what condition must be met to dispense cash?

balance >= withdrawal_amount

What shape represents a decision point in a flowchart?

Diamond

In the online quiz example, what score gives 'Excellent' feedback?

score >= 80

How do decisions within loops affect program flow?

Determine how many times loop executes

What is a common mistake when implementing decisions?

Ignoring edge cases and boundary values

What problem occurs when omitting a DEFAULT case in CASE statements?

Unhandled scenarios may occur

What is the purpose of decisions in a program?

Control flow by choosing branches/paths

What causes early termination in program flow?

Decisions leading to early exits

Join 100,000+ A-Level students studying Quizzes with us.

Select your subjects, and get access to A+ resources today.