BREAKING
Student's code works, nobody knows why, including student★Local teen writes pseudocode, accidentally invents a language★Binary joke told in class, exactly 10 students laugh★
  1. Home
  2. A Level
  3. Computer Science
  4. OCR
  5. Logic diagrams

OCR A Level Computer Science

Topic questions Boolean logic Logic diagrams

Logic diagrams

6 questions · 57 marks · about 1 hour

Logic diagrams questions

TopicLogic diagrams

OCR H446 Logic diagrams 6 questions

Computer systems June 2024, Question 5 8 marks

Ben installs burglar alarms. The alarm is made up of a door sensor and a motion sensor. When the alarm is set, the siren will sound if either the door sensor or the motion sensor detect movement.

The alarm also has a test mode setting. When the test mode setting is enabled, an engineer can check the sensors are working without the siren going off.

(a)

The inputs to the alarm are as follows.

InputSystem
ADoor sensor
BMotion sensor
CAlarm has been set
DTest mode enabled

Draw a logic circuit to show the logic that is used in the burglar alarm to determine if the siren goes off.

[4]
Reveal mark scheme Mark scheme for question 5(a)
(b)
(b)(i)

Simplify the Boolean expression ¬A v ¬B using De Morgan’s First Law.

[1]
Reveal mark scheme Mark scheme for question 5(b)(i)
(b)(ii)

Simplify the Boolean expression ¬(¬B) using double negation.

[1]
Reveal mark scheme Mark scheme for question 5(b)(ii)
(b)(iii)

Simplify the Boolean expression (A v B) ˄ (A v C) using distribution.

[2]
Reveal mark scheme Mark scheme for question 5(b)(iii)

Computer systems June 2023, Question 6 9 marks

(a)

A computer scientist has created the following logic circuit shown in Fig. 6.

Figure for question 6
(a)(i)

Give the Boolean expression that represents the logic circuit shown in Fig. 6. Do not attempt to simplify the expression.

[2]
Reveal mark scheme Mark scheme for question 6(a)(i)
(a)(ii)

Complete the truth table for the logic circuit shown in Fig. 6.

ABCP
000
001
010
011
100
101
110
111
[3]
Reveal mark scheme Mark scheme for question 6(a)(ii)
(b)

The following Karnaugh map represents another logic circuit.

Figure for question 6

Use this Karnaugh map to find the simplified expression for this circuit.

You should highlight the map as appropriate and write the expression here.

[4]
Reveal mark scheme Mark scheme for question 6(b)

Computer systems November 2021, Question 5 13 marks

All users of a computer system have a unique username and password. The computer system has implemented two-factor authentication so that users must respond to either an email or text message containing a secret code to be able to access the system.

Let:

A be a Boolean value for if a user enters a valid username

B be a Boolean value for if a user enters a password that matches their username

C be a Boolean value for if a user is able to respond to an email containing a secret code

D be a Boolean value for if a user is able to respond to a text message containing a secret code

Q be a Boolean value for if entry to the computer system is allowed

(a)

Complete the Boolean expression below:

[3]
Reveal mark scheme Mark scheme for question 5(a)
(b)

Another Boolean expression for a logic system is shown below:

Q ≡ ¬ (¬ A maths symbol ¬ B)

(b)(i)

Simplify this Boolean expression so that it does not include any negation. You must explain which Boolean algebra rule(s) you are using at each step.

Figure for question 5
[2]
Reveal mark scheme Mark scheme for question 5(b)(i)
(c)

The logic circuit above has two inputs (A, B) and two outputs (S, C).

(c)(i)

Give the Boolean expressions for the outputs S and C.

[2]
Reveal mark scheme Mark scheme for question 5(c)(i)
(c)(ii)

Complete the truth table for this logic circuit.

Figure for question 5
[2]
Reveal mark scheme Mark scheme for question 5(c)(ii)
(c)(iii)

Describe how this logic circuit can be adapted to add together two 4-bit binary numbers.

[4]
Reveal mark scheme Mark scheme for question 5(c)(iii)

Computer systems June 2019, Question 1 13 marks

A company releases an in-home virtual assistant called ‘Bertie Butler’.

The device, when placed in a room, listens out for the phrase “Hey Bertie”. When someone says that phrase it then listens to the question that follows and tries to give a relevant answer.

Bertie Butler has a number of built-in input and output devices.

(a)

Name one input device and one output device that might be part of Bertie Butler. For each device give a reason for it being built into the virtual assistant.

Input Device Name:........

Input Device Reason:........

Output Device Name:........

Output Device Reason:........

[4]
Reveal mark scheme Mark scheme for question 1(a)
(b)

The Bertie Butler device runs off an embedded operating system.

Define the term ‘embedded operating system’.

[2]
Reveal mark scheme Mark scheme for question 1(b)
(c)

Bertie Butler’s circuitry is designed to only listen out for “Hey Bertie” under certain circumstances, which are:

The privacy button (P) must be off and the microphone must generate a signal (S) to say a sound has been heard.

(c)(i)

Complete the truth table for whether the device is listening (L).

PSL
FalseFalse
FalseTrue
TrueFalse
TrueTrue
[2]
Reveal mark scheme Mark scheme for question 1(c)(i)
(c)(ii)

Draw logic gates to represent the circuitry needed.

[3]
Reveal mark scheme Mark scheme for question 1(c)(ii)
(d)

The Bertie Butler machine uses a multicore processor.

Define the term ‘multicore processor’.

[2]
Reveal mark scheme Mark scheme for question 1(d)

Computer systems June 2018, Question 10 7 marks

(a)

Draw a logic gate diagram to represent the Boolean expression

Q ≡ ¬A∨B

[2]
Reveal mark scheme Mark scheme for question 10(a)
(b)
Figure for question 10
[5]
Reveal mark scheme Mark scheme for question 10(b)

Computer systems June 2017, Question 11 7 marks

A half adder has the truth table shown below:

ABSumCarry
1101
1010
0110
0000
(a)

Draw a half adder using logic gates.

[3]
Reveal mark scheme Mark scheme for question 11(a)
(b)

Draw the logic gates represented by the Karnaugh Map below. Show your working.

Figure for question 11
[4]
Reveal mark scheme Mark scheme for question 11(b)

Report a problem with a question on this page
What is wrong?

Goes to whoever maintains the question split. No account needed and nothing is published on this page.

Memes

Certified Computer Science memes. Peer-reviewed by nobody.

Laugh now. Cry in the exam hall later. Then come back and do a past paper.

Write a proper algorithm
Write ‘sort it’ and leave
Me on the 6-mark pseudocode question
Debugging with print statements
Using a trace table
Knowing the difference between = and ==
Explaining recursion by explaining recursion
Code enlightenment, ranked

Mum 💖

can you fix the wifi since you do computers 🥰

that's not what computer science is

so that's a no then

📱 Screen time this week · Discord8h 2m

Turned it off and on again

Computer Science starter pack

Laptop with 47 tabs openPython error on line 1Counting binary on fingersThis website
Compiled with zero errors