2.1.5 Thinking Concurrently Flashcards
1
Q
Concurrent thinking
A
- the process of completing more than one task concurrently
- does not always mean you have to be working in Multiple tasks at once
- involves giving time slices to different tasks
- parts of a problem which are related can often be solved concurrently
2
Q
Concurrent processing
A
- multiple processes being executed at the same time/ appearing to be happening simultaneously [1]
- by giving processes a slice of processor time [1]
- one process may need to start before a second has finished [1]
3
Q
Concurrent processing != parallel processing
A
- parallel processing is when multiple processors are used to compete more than one task simultaneously
- whereas in concurrent processing, each task is given a slice of processor time to make it appear as if tasks are being completed simultaneously => In reality tasks are executed sequentially
4
Q
Concurrent processing benefits
A
- more tasks can be completed in the same time frame
- less time is wasted waiting for an input or user interaction so other tasks can be completed in this time
5
Q
Concurrent processing drawbacks
A