Question 1
4 marks
1
A program designer is investigating the use of concurrent processing.
1(i) 2 marks
Describe what is meant by the term ‘concurrent processing’.
Mark scheme 1(i)
Tick each point your answer makes. Your mark is worked out from your ticks, and you can change it.
1 mark for each to max 2
-
Processes happen at the same time / processes overlap
-
One process can start before another one finishes
-
Each process is given a slice of processor time
-
Different processes can be executed (in parallel) by different processors/cores
Guidance
Examiner’s Comments
Several candidates confused parallel processing (executing more than one instruction simultaneously) with concurrent processing (where most than one process/task is running at the same time). A lack of technical vocabulary was observed with many candidates giving responses such as ‘many things processed at the same time’, without specifying what the ‘things’ were. Occasionally candidates erroneously thought that processor pipelining was an example of concurrent processing.
While many candidates successfully identified that multiple processes are run simultaneously, fewer went on give the mechanism by which this could be achieved. Where they did so, these included timeslicing switching between different processes on a single processor, or use of multiple cores/parallelism to simultaneously execute different processes.
1(ii) 2 marks
Give two benefits of using concurrent processing.
1
2
Mark scheme 1(ii)
Tick each point your answer makes. Your mark is worked out from your ticks, and you can change it.
1 mark each to max 2
e.g.
-
More efficient processor use / Less idle time for processor / Greater throughput
-
Long running tasks do not delay short running tasks
-
Tasks requiring preconditions can wait and then resume execution
-
User is able to interact with the computer while other tasks are running
Guidance
Examiner’s Comments
Candidates found it difficult to give well-qualified responses to this question. Many candidates gave the definition for concurrency running multiple tasks at the same time as a benefit, which was not mark worthy.
Quicker processing/improved performance was not enough on its own without specifying that this was within a given time unit. Concurrent processing does not increase the actual speed of the CPU.
Efficiency as a benefit on its own was insufficient, whereas ‘less CPU idle time’ was a well-qualified example of a benefit.