wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

2.4. Boolean Logic

Total questions: 61

Worksheet time: 33mins

Name
Class
Date
1.

What do binary digits (0s and 1s) in a computer system represent?

a)

The amount of data that can be stored

b)

The flow of electricity through wires and switches

c)

The speed of the processor

d)

The size of the memory chips

2.

Why are computers considered electrical devices?

a)

Because they require a battery to operate

b)

Because they can only be used when plugged into an outlet

c)

Because they process information by controlling the flow of electricity

d)

Because they emit electrical waves

3.

What is the role of transistors in a computer system?

a)

They increase the speed of data processing

b)

They store large amounts of data

c)

They control the flow of electricity and process information

d)

They convert binary data into human-readable form

4.

How is the flow of electricity represented in binary when it goes through a cable or switch?

a)

As a 1 when there is no electricity and as a 0 when there is electricity

b)

As a 0 when there is no electricity and as a 1 when there is electricity

c)

As a 2 when there is a strong current and as a 1 when there is a weak current

d)

As a 1 for both cases, regardless of the flow of electricity

5.

Transistors are electrical components made from which type of materials?

a)

Insulator materials

b)

Conductor materials

c)

Semiconductor materials

d)

Composite materials

6.

What is the function of transistors in electrical circuits?

a)

To store electrical energy

b)

To act as electrically-controlled switches

c)

To increase the voltage of a circuit

d)

To provide insulation between different circuit parts

7.

What analogy is commonly used to describe the function of a transistor?

a)

A bridge

b)

A tap

c)

A door

d)

A battery

8.

In a transistor, what happens when the "base" input is turned on?

a)

The current is stopped completely.

b)

The current bypasses the collector and emitter.

c)

A small current allows a larger current to flow from the collector to the emitter.

d)

The transistor overheats and shuts down.

9.

What are transistors in a CPU configured into to perform operations?

a)

Algorithms

b)

Circuits

c)

Programs

d)

Systems

10.

What is an example of a circuit that transistors can form?

a)

Multiplier

b)

Adder

c)

Divider

d)

Subtractor

11.

Approximately how many transistors do modern CPUs contain?

a)

Over 300 million

b)

Over 3 billion

c)

Over 30 billion

d)

Over 300 billion

12.

What does Moore's Law state about the number of transistors in integrated circuits?

a)

It will halve every 18-months to 2 years

b)

It will remain constant

c)

It will double every 18-months to 2 years

d)

It will quadruple every 4 years

13.

What are logic gates in the context of transistors?

a)

Devices that amplify signals

b)

Simple on/off switches

c)

Complex "switches" that allow electricity to flow based on certain logical conditions

d)

Connectors that join multiple circuits together

14.

Which of the following is NOT one of the three types of logic gates mentioned that students must be familiar with at GCSE?

a)

AND

b)

OR

c)

NOT

d)

XOR

15.

What condition must be met for electricity to flow out of the output in an AND logic gate?

a)

Only one input is "on"

b)

Both inputs are "off"

c)

Both inputs are "on"

d)

At least one input is "off"

16.

How many inputs and outputs does an AND gate have?

a)

Two inputs and two outputs

b)

One input and one output

c)

Two inputs and one output

d)

Three inputs and one output

17.

When will an AND gate output current?

a)

When at least one input is on

b)

When both inputs are off

c)

When both inputs are on

d)

When either input is off

18.

How is an AND gate represented in Boolean equations?

a)

OR

b)

NOT

c)

NAND

d)

AND

19.

What is the Boolean representation for the logical statement "A and B"?

a)

A OR B

b)

A + B

c)

A AND B

d)

A XOR B

20.

According to the truth table, what is the output Q when both Input A and Input B are ON (1)?

a)

OFF (0)

b)

ON (1)

c)

The output cannot be determined

d)

The output alternates between ON and OFF

21.

What is the output Q when Input A is OFF (0) and Input B is ON (1)?

a)

OFF (0)

b)

ON (1)

c)

The output cannot be determined

d)

The output alternates between ON and OFF

22.

How many inputs and outputs does an OR gate have?

a)

One input and one output

b)

Two inputs and two outputs

c)

Two inputs and one output

d)

Multiple inputs and multiple outputs

23.

When will an OR gate output current?

a)

Only if both inputs are off

b)

Only if one input is on

c)

If either or both inputs are on

d)

If both inputs are on

24.

Which symbol is used to represent OR gates in Boolean equations?

a)

b)

c)

d)

25.

How is the logical statement "A or B" represented in Boolean equations?

a)

A ∧ B

b)

A ∨ B

c)

A → B

d)

A ⊕ B

26.

What is the output Q of an OR gate when both Input A and Input B are ON (1)?

a)

OFF (0)

b)

ON (1)

c)

The output cannot be determined

d)

The output alternates between ON and OFF

27.

How many inputs and outputs does a NOT gate have?

a)

One input and two outputs

b)

Two inputs and one output

c)

One input and one output

d)

Two inputs and two outputs

28.

What does a NOT gate do to the input signal?

a)

It amplifies the input signal.

b)

It inverts the input signal.

c)

It passes the input signal unchanged.

d)

It disables the input signal.

29.

Which symbol is used to represent a NOT gate in Boolean equations?

a)

b)

c)

¬

d)

30.

How is the logical statement "not A" represented?

a)

A →

b)

¬A

c)

A ∧

d)

A ∨

31.

According to the truth table, what is the output when the input A is ON (1)?

a)

ON (1)

b)

OFF (0)

c)

The output is unpredictable.

d)

The output is the same as the input.

32.

According to the truth table, what is the output when the input A is OFF (0)?

a)

ON (1)

b)

OFF (0)

c)

The output is unpredictable.

d)

The output is the same as the input.

33.

What is the correct representation of the logic circuit shown in the image?

a)

A AND (B OR C)

b)

A OR (B AND C)

c)

A OR (B OR C)

d)

A AND (B AND C)

34.

How are input labels conventionally started in logic circuits?

a)

Starting at Q (Q, R, S, etc.)

b)

Starting at X (X, Y, Z, etc.)

c)

Starting at A (A, B, C, etc.)

d)

Starting at I (I, II, III, etc.)

35.

What must be evaluated first in logic statements that use brackets?

a)

The 'outer' logical operations

b)

The expressions inside the brackets

c)

The output labels

d)

The input labels

36.

What do output labels in logic circuits conventionally start with?

a)

Starting at A (A, B, C, etc.)

b)

Starting at X (X, Y, Z, etc.)

c)

Starting at I (I, II, III, etc.)

d)

Starting at Q (Q, R, S, etc.)

37.

What is the correct representation of the logic circuit for the expression A AND (B OR C)?

a)

A OR (B AND C)

b)

A AND (B AND C)

c)

A OR (B OR C)

d)

A AND (B OR C)

38.

When evaluating logic circuits, the output of logic statements in brackets must be evaluated when?

a)

After the 'outer' logical operations

b)

Simultaneously with the 'outer' logical operations

c)

Before the 'outer' logical operations

d)

Without considering the 'outer' logical operations

39.

According to the convention mentioned, what do output labels in logic circuits start with?

a)

A (A, B, C, etc.)

b)

B (B, C, D, etc.)

c)

Q (Q, R, S, etc.)

d)

X (X, Y, Z, etc.)

40.

What is the result of applying a NOT gate to the output of the expression (A OR B)?

a)

A) A AND B

b)

B) A OR B

c)

C) NOT A AND NOT B

d)

D) NOT (A OR B)

41.

How should you evaluate an expression with a NOT gate applied to it?

a)

A) Evaluate the expression in brackets and pass it as an input to the outer logic gate.

b)

B) Ignore the NOT gate and evaluate the expression as is.

c)

C) Evaluate the NOT gate first before the expression in brackets.

d)

D) Pass the expression in brackets directly to the output without evaluation.

42.

What does the logic circuit in the image represent?

a)

A) A AND B

b)

B) A OR B

c)

C) NOT A AND NOT B

d)

D) NOT (A OR B)

43.

What do truth tables show in the context of logic circuits?

a)

The design of the circuit

b)

Each possible combination of inputs and the resulting output

c)

The physical layout of the circuit components

d)

The cost of producing the circuit

44.

How many rows should a truth table have for a circuit with n inputs?

a)

n rows

b)

2^n rows

c)

n^2 rows

d)

2n rows

45.

What is the purpose of including a column for the output of each gate in a complex circuit's truth table?

a)

To show the cost of each gate

b)

To indicate the color coding of the wires

c)

To show the output of each gate as well as the overall output of the circuit

d)

To display the manufacturer of the gates

46.

What is the output Q for the input combination A=1, B=0, and C=1 in the given truth table?

a)

0

b)

1

c)

2

d)

It cannot be determined from the given information

47.

What is the output P when Input A is 0 and Input B is 1 for the expression NOT (A AND B)?

a)

0

b)

1

c)

The output cannot be determined with the given inputs.

d)

The output is always 1 regardless of the inputs.

48.

What is the output R when Input A is 1 and Input B is 0 for the expression NOT (A AND B)?

a)

0

b)

1

c)

The output cannot be determined with the given inputs.

d)

The output is always 0 regardless of the inputs.

49.

If both Input A and Input B are 1, what is the output R for the expression NOT (A AND B)?

a)

0

b)

1

c)

The output cannot be determined with the given inputs.

d)

The output alternates between 0 and 1.

50.

For the expression NOT (A AND B), if the output P is 0, what are the possible values of Input A and Input B?

4 lines
51.

What is the output P when Input A is 0 and Input B is 1 for the expression NOT (A AND B)?

a)

0

b)

1

c)

The output cannot be determined with the given inputs

d)

The output is always 1 regardless of the inputs

52.

What is the output R when Input A is 1 and Input B is 0 for the expression NOT (A AND B)?

a)

0

b)

1

c)

The output is always 0 regardless of the inputs

d)

The output cannot be determined with the given inputs

53.

Which logic gate is used to calculate Output P in the diagram?

a)

OR gate

b)

AND gate

c)

NOT gate

d)

NAND gate

54.

Which logic gate is used to calculate Output R in the diagram?

a)

OR gate

b)

AND gate

c)

NOT gate

d)

NAND gate

55.

What is the output R when both input A and input B are 1 in the expression NOT (A AND B)?

a)

0

b)

1

c)

2

d)

3

56.

According to the truth table, what is the output P when input A is 0 and input B is 1?

a)

0

b)

1

c)

2

d)

3

57.

What is the output R when input A is 1 and input B is 0 in the expression NOT (A AND B)?

a)

0

b)

1

c)

2

d)

3

58.

Which logical operation is performed first in the expression NOT (A AND B)?

a)

NOT

b)

AND

c)

OR

d)

NAND

59.

What is the purpose of the logic circuit presented in the example?

a)

To activate the buzzer when the car is running

b)

To activate the buzzer when the lights are switched on and the key is in the ignition

c)

To activate the buzzer when the lights are switched on and the key is not in the ignition

d)

To deactivate the buzzer when the lights are switched off

60.

Which logic gate is used in the example to represent the condition that the lights are switched on and the key is not in the ignition?

a)

AND gate

b)

OR gate

c)

NOT gate

d)

NAND gate

61.

What components are used as inputs for the logic gate in the example?

a)

Battery level and door status

b)

Light switch and key in ignition

c)

Engine status and light switch

d)

Brake pedal and key in ignition