2.4 Computational Logic COMPLETE Flashcards
How do you get a positive output from an AND gate?
Both inputs = 1.
How go you get a positive output from an OR gate?
At least one of the inputs = 1.
How do you get a positive output from a NOT gate?
Input = 0.
How do you calculate how many rows you need in your truth table?
2 to the power of no. of inputs.
In computational logic, all possible outcomes are either…
TRUE or FALSE
Why is it important for computers that all possible outcomes in computational logic are either TRUE or FALSE?
Computers can also only have two states - on or off - represented by 1 and 0 in binary
What are the two states “on” and “off” represented by in binary?
1 and 0
What is boolean logic?
A form of algebra in which all values are reduced to one or two states, TRUE or FALSE
Why is boolean logic especially important for computer science?
It fits with the binary system in which each bit has a value of either 1 or 0, that is, each bit has a value of either TRUE or FALSE
A processor contains over 1 billion t__________
transistors
What to transistors transmit when they are on?
An electrical current
Do transistors transmit an electrical current when they are off?
No
What are the two states of transistors?
On or off
What can the two states of transistors be used to represent?
The conditions true (on) or false (off)
How are logic gates represented?
By symbols in logic diagrams
Logic gates use transistors that…
carry out all of the calculations and execute program instructions in the processor