Lesson 2.1.4
2.1.4 Decision points, logical conditions and program flow Quiz: OCR Computer Science, Unit 6
20 questions
In partnership with Revision Ninja
Lesson 2.1.4, Decision points, logical conditions and program flow: 20 multiple choice questions for the OCR Computer Science (H446), Unit 6: Elements of computational thinking, written with Revision Ninja.
Host it live on the board and students join with a game code on their own devices, or revise alone with Free Play. The answers are revealed in the game.
The 20 questions
-
Which type of operator is used to evaluate conditions in decision-making statements?
- Assignment operator
- Relational variable
- Arithmetic operator
- Boolean operator
-
Which issue occurs when two processes wait endlessly for resources held by each other?
- Race condition
- Starvation
- Deadlock
- Livelock
-
What is the logical outcome of TRUE AND (FALSE OR NOT FALSE)?
- FALSE
- UNDEFINED
- NULL
- TRUE
-
Which parameter passing method passes a copy of the actual value to a procedure?
- Pass by address
- Pass by pointer
- Pass by reference
- Pass by value
-
What happens to the original variable when modified inside a subroutine using pass by reference?
- Error raised
- Variable deleted
- No change occurs
- Value changes
-
What essential component prevents a recursive subroutine from calling itself indefinitely?
- Stack frame
- Return address
- General case
- Base case
-
What data structure is used by the system memory stack during recursive calls?
- Call stack
- Binary tree
- Linked list
- Priority queue
-
What is the process of breaking down a complex problem into smaller sub-problems?
- Visualisation
- Abstraction
- Generalisation
- Decomposition
-
Which computational method recursively breaks a problem into identical smaller sub-problems until easily solvable?
- Data mining
- Dynamic programming
- Backtracking
- Divide and conquer
-
What computational technique removes unnecessary details to focus on essential features?
- Backtracking
- Pipelining
- Abstraction
- Modularity
-
Which problem-solving technique tries partial solutions and abandons them upon reaching an invalid state?
- Data mining
- Backtracking
- Heuristics
- Performance modelling
-
What approach uses empirical rules of thumb to find an adequate solution quickly?
- Heuristics
- Backtracking
- Visualisation
- Brute force
-
What technique allows multi-stage processing by feeding the output of one process into the next?
- Pipelining
- Modularity
- Recursion
- Encapsulation
-
Which task can be executed concurrently during a video rendering process?
- Sequential file writing
- System shutdown
- Initialization setup
- Independent frame processing
-
Which concept allows multiple tasks to make progress at the exact same time?
- Abstraction
- Sequence
- Concurrency
- Iteration
-
What type of variable is accessible only within the subroutine where it was declared?
- Global variable
- Universal variable
- Public variable
- Local variable
-
Which computational technique transforms complex data into graphical representations to aid human analysis?
- Backtracking
- Data mining
- Pipelining
- Visualisation
-
Which feature of programming languages allows subroutines to be defined and reused across programs?
- Modularity
- Iteration
- Pipelining
- Concurrency
-
What issue occurs when multiple concurrent threads attempt to modify shared data simultaneously without synchronization?
- Deadlock
- Livelock
- Race condition
- Starvation
-
Which computational method analyses massive datasets to discover hidden patterns and relationships?
- Pipelining
- Visualisation
- Performance modelling
- Data mining
Related quizzes
- The nature and need for abstraction and abstract models Quiz · 2.1.1 · 20 questions
- Inputs, outputs, preconditions, caching and reusable components Quiz · 2.1.2 · 20 questions
- Components of problems and solutions, step order and sub-procedures Quiz · 2.1.3 · 20 questions
- Concurrent parts of problems and trade-offs of concurrent processing Quiz · 2.1.5 · 20 questions
- Processor components: ALU, control unit, registers and buses Quiz · 1.1.1a · 20 questions
- Operating systems and memory management Quiz · 1.2.1a · 20 questions
- Compression, encryption and hashing Quiz · 1.3.1 · 20 questions
- Primitive data types and binary number representation Quiz · 1.4.1a · 20 questions
- Data Protection Act 1998 and Computer Misuse Act 1990 Quiz · 1.5.1a · 20 questions
- Programming constructs, recursion and variable scope Quiz · 2.2.1a · 20 questions