Question 4

AQA Computer Science June 2017 Paper 2A level12 marks

On the specification

4.1
4.6 Fundamentals of computer systems
4.2
4.6 Fundamentals of computer systems
4.3
4.6 Fundamentals of computer systems
4.4
4.6 Fundamentals of computer systems
4.5
4.6 Fundamentals of computer systems
Question text

4 A computer process, X, can only start executing once processes A and B have finished executing and either communication channel C or communication channel D or both are available to use. The states of processes and communication channels can be read using the following Boolean variables: • A is set to TRUE if process A has completed and FALSE if process A is still running. • B is set to TRUE if process B has completed and FALSE if process B is still running. • C is set to TRUE if communication channel C is available and FALSE if it is not available. • D is set to TRUE if communication channel D is available and FALSE if it is not available. The Boolean variable X should be set to TRUE if the values of the variables A, B, C and D indicate that process X can start and to FALSE if they indicate that process X cannot start yet. 4.1 In the space below, draw a logic circuit that will represent the logic of the system described above for the inputs A, B, C and D and the output X. [3 marks] A B X C D 4.2 Write a Boolean expression to represent the logic used to start process X. [2 marks] X = 4.3 Using the rules of Boolean algebra, simplify the following Boolean expression. ��������������������������������������������������������� � + A ∙ (A + B)� � ∙ C�) �A + (B You must show your working. [4 marks] D-type flip-flops can be included in logic circuits. 4.4 Explain the general purpose of a D-type flip-flop. [1 mark] 4.5 One input to a D-type flip-flop is a data signal. State what the other input to a D-type flip-flop is and what it is used for. [2 marks]