Concurrent Processing (OCR A-Level Computer Science): Flashcards

📚Flashcards
Concurrent Processing
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

13 cards from this deck

Show

Concurrent processing definition

Simultaneous execution of multiple tasks

Concurrent processing purpose

Maximise resource utilisation, reduce execution time, improve responsiveness

Hardware leveraged by concurrent processing

Multi-core processors

Benefit: completion time effect

Reduces overall completion time

Benefit: resource utilisation

Distributes tasks across multi-core processors efficiently

Benefit: user experience effect

Increases responsiveness

Race conditions definition

Two+ tasks access shared resources simultaneously, causing inconsistent results

Deadlocks definition

Two+ tasks wait for each other to release resources

Context switching overhead issue

System spends time managing tasks instead of executing them

Why concurrent programs hard to debug?

Non-deterministic nature of task execution

Synchronisation tools for shared resources

Locks, semaphores, monitors

Risk of overusing concurrency

Adds complexity without significant performance gains

What to minimise in concurrent processing?

Context switching by avoiding too many tasks

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

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