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. Combining Boolean operators

OCR A Level Computer Science

Topic questions Boolean logic Combining Boolean operators

Combining Boolean operators

6 questions · 58 marks · about 1 hour

Combining Boolean operators questions

TopicCombining Boolean operators

OCR H446 Combining Boolean operators 6 questions

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 November 2020, Question 4 11 marks

(a)(i)
Figure for question 4
[3]
Reveal mark scheme Mark scheme for question 4(a)(i)
(a)(ii)

Use the Karnaugh map to find a simplified Boolean expression that is equivalent to (Β¬ A maths symbol Β¬ B) maths symbol (A maths symbol Β¬ B)

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

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

[2]
Reveal mark scheme Mark scheme for question 4(b)(i)
(b)(ii)

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

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

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 4 11 marks

A cinema offers discounted tickets, but only under one of the following conditions:

β€’ Customer is under 18 and has a student card.

β€’ Customer is over 60 and has ID which proves this.

Let:

A be Customer is under 18

B be Customer has a student card

C be Customer is over 60

D be Customer has ID

Q be Discount ticket issued

(a)

Complete the Boolean expression below:

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

The cinema has a voucher which promises free popcorn when the voucher is produced whilst buying a soft drink or bottle of water.

Let:

E be Voucher is shown

F be Soft drink is bought

G be Bottle of water is bought

R be Free popcorn given.

This could be written as:

R ≑ (E ∧ F) ∨ (E ∧ G)

(b)(i)

Complete the truth table below.

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

Simplify the expression

(E ∧ F) ∨ (E ∧ G)

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

Most films are now distributed to cinemas digitally. A studio allows cinemas to download its latest film 5 days before the release date via a private download. It wants to ensure that no cinema shows it before the release date.

Describe one technical measure the studio could use to ensure that films are not shown early.

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

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