Paper 2: Logic Flashcards

1
Q

What is Logic?

A

Using rules and knowledge to make decisions

Logic is fundamental in computing and decision-making processes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define Binary.

A

The language the computer speaks, made up of 1s and 0s

Binary is essential for digital systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are Inputs in computing?

A

Data/Instructions entered into the computer

Inputs are crucial for the functioning of any computer system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are Outputs in computing?

A

The result of a process sent out of the computer

Outputs represent the outcome of computations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define Logic Gate.

A

An electrical switch that will produce a defined output based on the input it receives

Logic gates are the building blocks of digital circuits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a Truth Table?

A

Shows all possible combinations of inputs and outputs for a circuit

Truth tables help in understanding how logic gates operate.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Define Logic Circuit.

A

A combination of logic gates used together to make complex decisions

Logic circuits can perform various logical operations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the three main logic gates?

A
  • NOT
  • AND
  • OR

Each gate has specific rules governing its output.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the rule for the NOT gate?

A

Whatever is input, the opposite is output

The NOT gate is also known as an inverter.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the rule for the AND gate?

A

Both inputs must be ONE for the output to be ONE

The AND gate is crucial for conditions requiring both inputs to be true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the rule for the OR gate?

A

The output is ONE if either or both inputs are ONE

The OR gate allows for flexibility in decision-making.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How can logic circuits be represented?

A

As Diagrams or as Equations

Representations help visualize and calculate outputs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does the equation P = ¬A ^ B represent?

A

A represents the first switch (input), B represents the second switch (input), and P is the light bulb (output)

This equation illustrates the relationship between inputs and output in a logic circuit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is BIDMAS?

A

A rule for carrying out equations: Brackets, Indices, Division and Multiplication, Addition and Subtraction

BIDMAS is crucial for correctly evaluating logical expressions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the first step in evaluating the expression NOT A?

A

Store this in the output Q

This is the initial step for further calculations in logic circuits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Fill in the blank: Logic circuits also have ______ to show all of the possible outputs based on the inputs given.

A

truth tables

Truth tables are essential for verifying logic circuit functionality.