Lesson 2.1.5
2.1.5 Concurrent parts of problems and trade-offs of concurrent processing Quiz: OCR Computer Science, Unit 6
20 questions
In partnership with Revision Ninja
Lesson 2.1.5, Concurrent parts of problems and trade-offs of concurrent processing: 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 term describes executing multiple tasks by overlapping or interleaving their execution?
- Concurrent processing
- Sequential processing
- Iterative processing
- Recursive processing
-
What hardware feature is required to achieve true parallel execution of concurrent tasks?
- Optical storage
- Larger cache size
- Higher clock speed
- Multiple processor cores
-
Why can a web server handle multiple user requests concurrently?
- Requests use recursion
- Memory is unlimited
- Data is sequential
- Requests are independent
-
What issue occurs when two threads access shared data without proper synchronisation?
- Infinite loop
- Deadlock
- Race condition
- Stack overflow
-
What situation occurs when two concurrent threads each wait for resources held by the other?
- Livelock
- Starvation
- Race condition
- Deadlock
-
What is a main trade-off of introducing concurrent processing into software?
- Slower clock speed
- Reduced processor usage
- Lower memory usage
- Increased code complexity
-
Why can individual row additions in matrix addition be computed concurrently?
- No data dependency
- Sequential dependencies
- High memory capacity
- Recursive structure
-
What mechanism is used to coordinate thread execution and access to shared resources?
- Pipelining
- Decomposition
- Abstraction
- Synchronisation
-
Why can video rendering software process individual video frames concurrently?
- Frames use iteration
- Frames are independent
- Frames share variables
- Video is analog
-
What term describes the performance overhead of switching between concurrent threads?
- Garbage collection
- Thread pooling
- Context switching
- Branch prediction
-
Why must order ID assignment in an online shop be processed sequentially?
- High bandwidth
- Lack of RAM
- Order ID dependency
- Multi-core hardware
-
What occurs when a thread is permanently denied the resources needed to execute?
- Context switching
- Starvation
- Deadlock
- Pipelining
-
How does concurrent processing improve the user experience in graphical applications?
- Decreases total RAM
- Increases screen resolution
- Maintains user responsiveness
- Elimination of errors
-
Which object prevents multiple threads from accessing a critical section simultaneously?
- Array
- Mutex
- Accumulator
- Pointer
-
Why is web crawling suitable for concurrent processing across millions of websites?
- Pages use recursion
- Websites share memory
- Websites are independent
- Links are linear
-
What is the term for code that accesses shared resources and requires single-thread execution?
- Global scope
- Recursive block
- Interrupt vector
- Critical section
-
Why does doubling processor cores not double execution speed for concurrent software?
- Communication overhead
- Binary storage limits
- Syntax error accumulation
- Core clock failure
-
What software trade-off makes bugs in concurrent programs notoriously difficult to reproduce?
- High code abstraction
- Linear execution order
- Static memory allocation
- Non-deterministic execution
-
Which architecture approach eliminates race conditions by preventing concurrent tasks from sharing memory?
- Instruction pipelining
- Global variables
- Shared memory
- Message passing
-
What type of dependency exists when one task requires the output data of another task?
- Resource dependency
- Control dependency
- Hardware dependency
- Data dependency
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
- Decision points, logical conditions and program flow Quiz · 2.1.4 · 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