Boolean logic Flashcards
Learn bl (11 cards)
What is boolean logic
Boolean logic is a system of logic based on true and false values
How are computer systems designed
Current computer systems are designed to work using logic,, specifically, binary logic
Binary logic is the application of boolean logic in a binary number-based system where by 0 represents false, and 1 represents true
What is a logic gate
A logic gate is a special circuit in which transistors are used as special switches.Each logic gate reies input of electric current and produces an output of electric current. The output depends on the type of logic gates.Billions of interconnected logic gates are built into more complex circuits in processors, registers, computer memory and solid state drives.Computer systems perform logical operations using circuits of interconnected logic gates . The logic operations of logic gates can be understood in terms of switches in electrical circuits
What is a transistor
In a computer system, transistors function as special switches in the electronic circuits
Input and outputs and how to interput them
Input (state of the switch)
Output (state of the lamp)
Switch OPEN = “0”
Lamp OFF = “0”
Switch CLOSED = “1”
Lamp ON = “1”
The lamp will only light up when the switch is closed
What is truth table
A truth table shows all the possible inputs into a logic gate and their associated output
Working out the number of possible input combinations:
Number of input combinations = number of direct inputs to the power of 2
What types of logic gates are there
And, OR, Not
What is a AND Gate
It is a gate when both inputs are true the output will be true. Algebraic letter - A without the line in the middle
What is an OR Gate
It is a gate when 1 or more of the inputs are true the output will be true Algebraic letter - ) Wth like a rocket ship going out of it
What is a not gate
It is a gate when the output is reverse the input. It is when you have to Not have something in order for an output to be 1. Algebraic symbol - ¬