Computer-Science-A-level-Ocr
-
3-3-networks8 主题
-
3-2-databases7 主题
-
3-1-compression-encryption-and-hashing4 主题
-
2-5-object-oriented-languages7 主题
-
2-4-types-of-programming-language4 主题
-
2-3-software-development5 主题
-
2-2-applications-generation6 主题
-
2-1-systems-software8 主题
-
1-3-input-output-and-storage2 主题
-
1-2-types-of-processor3 主题
-
1-1-structure-and-function-of-the-processor1 主题
-
structuring-your-responses3 主题
-
the-exam-papers2 主题
-
8-2-algorithms-for-the-main-data-structures4 主题
-
8-1-algorithms10 主题
-
7-2-computational-methods11 主题
-
7-1-programming-techniques14 主题
-
capturing-selecting-managing-and-exchanging-data
-
entity-relationship-diagrams
-
data-normalisation
-
relational-databases
-
hashing
-
symmetric-vs-asymmetric-encryption
-
run-length-encoding-and-dictionary-coding
-
lossy-and-lossless-compression
-
polymorphism-oop
-
encapsulation-oop
-
inheritance-oop
-
attributes-oop
-
methods-oop
-
objects-oop
-
capturing-selecting-managing-and-exchanging-data
-
6-5-thinking-concurrently2 主题
-
6-4-thinking-logically2 主题
-
6-3-thinking-procedurally3 主题
-
6-2-thinking-ahead1 主题
-
6-1-thinking-abstractly3 主题
-
5-2-moral-and-ethical-issues9 主题
-
5-1-computing-related-legislation4 主题
-
4-3-boolean-algebra5 主题
-
4-2-data-structures10 主题
-
4-1-data-types9 主题
-
3-4-web-technologies16 主题
-
environmental-effects
-
automated-decision-making
-
computers-in-the-workforce
-
layout-colour-paradigms-and-character-sets
-
piracy-and-offensive-communications
-
analysing-personal-information
-
monitoring-behaviour
-
censorship-and-the-internet
-
artificial-intelligence
-
the-regulation-of-investigatory-powers-act-2000
-
the-copyright-design-and-patents-act-1988
-
the-computer-misuse-act-1990
-
the-data-protection-act-1998
-
adder-circuits
-
flip-flop-circuits
-
simplifying-boolean-algebra
-
environmental-effects
concurrent-processing
Benefits & Drawbacks of Concurrent Processing
What is concurrent processing?
-
Concurrent processing allows multiple processes/tasks to run on a single processor
-
Giving each process a fraction of time and control over the processor before swapping to another process
Advantages and disadvantages of concurrent processing
|
Advantages |
Disadvantages |
|---|---|
|
Increased program throughput as the number of tasks completed in a timeframe are increased. For example, ten programs could be half finished versus two that may finish to completion |
If large numbers of users or processes are running that involve high quantities of computation, these processes will take longer to complete as each is allocated a certain timeslice |
|
Time spent waiting for user input or react to output is minimised by swapping to another task and waiting for an operating system interrupt before swapping back to the waiting task |
|
Examiner Tips and Tricks
It is important to note that some operating system scheduling algorithms can prioritise some concurrent processes over others, meaning larger processes could finish sooner
Advantages and disadvantages of parallel processing
|
Advantages |
Disadvantages |
|---|---|
|
When performing repetitive calculations on large quantities of data such as image or video editing, parallel processing can speed up performance by splitting processes over several processors |
Different processors running programs simultaneously may need to communicate, leading to overhead and delays on processing |
|
Graphical processing units can render 3D objects quickly by splitting the computations of a scene between multiple cores |
Some tasks may run faster or may be optimised to run on a single processor rather than multiple processors
|
|
Multiple different programs or browser web pages can run on different processors at the same time |
|
Worked Example
A flight simulator allows a user to take control of a simulated aeroplane. The user can fly the plane in an environment that can simulate different weather conditions and additional planes in the sky.
Explain what is meant by ‘concurrent processing’ and describe one example of how the simulator could make use of it.
4 marks
Answer:
Concurrent processing is where multiple processes are allocated timeslices of processor time and are pipelined to allow multiple processes to make progress in the same time frame. [1]
Example:
An example of concurrent processing in a simulator would be the plane moving independently of other planes or weather conditions [1]. Individual planes or weather do not always interact with each other allowing them to operate separately [1]. This allows multiple objects and events to occur in the program “at the same time” and react to different events [1]
Examiner Tips and Tricks
Remember to state your example, say how it acts concurrently and why it is necessary that it is concurrent
Responses