Boolean Algebra (OCR A Level Computer Science): Exam Questions

Exam code: H446

33 mins9 questions
12 marks

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

Logic circuit diagram with three inputs A, B, and C. It includes an AND gate, a NOT gate, and an OR gate, producing output P.

Fig 6

Give the Boolean expression that represents the logic circuit shown in Fig. 6.

Do not attempt to simplify the expression.

Did this page help you?

22 marks

State the purpose of a D-type flip-flop circuit.

Did this page help you?

33 marks

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

Logic circuit diagram with three inputs A, B, and C. It includes an AND gate, a NOT gate, and an OR gate, producing output P.

Fig 6

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

A

B

C

P

0

0

0

0

0

1

0

1

0

0

1

1

1

0

0

1

0

1

1

1

0

1

1

1

Did this page help you?

43 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

Complete the Boolean expression below:

Q ≡ .................................................................................

Did this page help you?

53 marks

A Boolean expression for a logic system is shown below:

Q ≡ ¬ (¬ A ∧ ¬ B)

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.

Did this page help you?

6a2 marks
Logic circuit diagram with two inputs, A and B. A feeds an OR gate producing output S, and both A and B feed an AND gate producing output C.

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

Give the Boolean expressions for the outputs S and C.

6b2 marks

Complete the truth table for this logic circuit

A

B

S

C

0

0

0

1

1

0

1

1

6c4 marks

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

Did this page help you?

7a3 marks

Complete the Karnaugh map below for the Boolean expression (¬ A ∧ ¬ B) ∨ ( A ∧ ¬ B)

Karnaugh map with variables AB on top and CD on the side, each ranging from 00 to 11, showing a 4x4 grid of empty cells.
7b2 marks

Use the Karnaugh map to find a simplified Boolean expression that is equivalent to (¬ A ∧ ¬ B) ∨ ( A ∧ ¬ B)

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

Did this page help you?

83 marks

Describe the inputs and outputs used by a D-type flip-flop circuit, explaining how the inputs are used to control the outputs.

Did this page help you?

94 marks

The following Karnaugh map represents another logic circuit.

Karnaugh map with binary labels AB and CD on axes. Contains 16 cells with numbers 1 and 0, representing logical values in a grid format.

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

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

Did this page help you?