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.

Host this setFree Play

The 20 questions

  1. Which type of operator is used to evaluate conditions in decision-making statements?

    • Assignment operator
    • Relational variable
    • Arithmetic operator
    • Boolean operator
  2. Which issue occurs when two processes wait endlessly for resources held by each other?

    • Race condition
    • Starvation
    • Deadlock
    • Livelock
  3. What is the logical outcome of TRUE AND (FALSE OR NOT FALSE)?

    • FALSE
    • UNDEFINED
    • NULL
    • TRUE
  4. 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
  5. What happens to the original variable when modified inside a subroutine using pass by reference?

    • Error raised
    • Variable deleted
    • No change occurs
    • Value changes
  6. What essential component prevents a recursive subroutine from calling itself indefinitely?

    • Stack frame
    • Return address
    • General case
    • Base case
  7. What data structure is used by the system memory stack during recursive calls?

    • Call stack
    • Binary tree
    • Linked list
    • Priority queue
  8. What is the process of breaking down a complex problem into smaller sub-problems?

    • Visualisation
    • Abstraction
    • Generalisation
    • Decomposition
  9. Which computational method recursively breaks a problem into identical smaller sub-problems until easily solvable?

    • Data mining
    • Dynamic programming
    • Backtracking
    • Divide and conquer
  10. What computational technique removes unnecessary details to focus on essential features?

    • Backtracking
    • Pipelining
    • Abstraction
    • Modularity
  11. Which problem-solving technique tries partial solutions and abandons them upon reaching an invalid state?

    • Data mining
    • Backtracking
    • Heuristics
    • Performance modelling
  12. What approach uses empirical rules of thumb to find an adequate solution quickly?

    • Heuristics
    • Backtracking
    • Visualisation
    • Brute force
  13. What technique allows multi-stage processing by feeding the output of one process into the next?

    • Pipelining
    • Modularity
    • Recursion
    • Encapsulation
  14. Which task can be executed concurrently during a video rendering process?

    • Sequential file writing
    • System shutdown
    • Initialization setup
    • Independent frame processing
  15. Which concept allows multiple tasks to make progress at the exact same time?

    • Abstraction
    • Sequence
    • Concurrency
    • Iteration
  16. What type of variable is accessible only within the subroutine where it was declared?

    • Global variable
    • Universal variable
    • Public variable
    • Local variable
  17. Which computational technique transforms complex data into graphical representations to aid human analysis?

    • Backtracking
    • Data mining
    • Pipelining
    • Visualisation
  18. Which feature of programming languages allows subroutines to be defined and reused across programs?

    • Modularity
    • Iteration
    • Pipelining
    • Concurrency
  19. What issue occurs when multiple concurrent threads attempt to modify shared data simultaneously without synchronization?

    • Deadlock
    • Livelock
    • Race condition
    • Starvation
  20. Which computational method analyses massive datasets to discover hidden patterns and relationships?

    • Pipelining
    • Visualisation
    • Performance modelling
    • Data mining

All OCR Computer Science quizzes