Paper 2: Logic Flashcards
What is Logic?
Using rules and knowledge to make decisions
Logic is fundamental in computing and decision-making processes.
Define Binary.
The language the computer speaks, made up of 1s and 0s
Binary is essential for digital systems.
What are Inputs in computing?
Data/Instructions entered into the computer
Inputs are crucial for the functioning of any computer system.
What are Outputs in computing?
The result of a process sent out of the computer
Outputs represent the outcome of computations.
Define Logic Gate.
An electrical switch that will produce a defined output based on the input it receives
Logic gates are the building blocks of digital circuits.
What is a Truth Table?
Shows all possible combinations of inputs and outputs for a circuit
Truth tables help in understanding how logic gates operate.
Define Logic Circuit.
A combination of logic gates used together to make complex decisions
Logic circuits can perform various logical operations.
What are the three main logic gates?
- NOT
- AND
- OR
Each gate has specific rules governing its output.
What is the rule for the NOT gate?
Whatever is input, the opposite is output
The NOT gate is also known as an inverter.
What is the rule for the AND gate?
Both inputs must be ONE for the output to be ONE
The AND gate is crucial for conditions requiring both inputs to be true.
What is the rule for the OR gate?
The output is ONE if either or both inputs are ONE
The OR gate allows for flexibility in decision-making.
How can logic circuits be represented?
As Diagrams or as Equations
Representations help visualize and calculate outputs.
What does the equation P = ¬A ^ B represent?
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.
What is BIDMAS?
A rule for carrying out equations: Brackets, Indices, Division and Multiplication, Addition and Subtraction
BIDMAS is crucial for correctly evaluating logical expressions.
What is the first step in evaluating the expression NOT A?
Store this in the output Q
This is the initial step for further calculations in logic circuits.
Fill in the blank: Logic circuits also have ______ to show all of the possible outputs based on the inputs given.
truth tables
Truth tables are essential for verifying logic circuit functionality.