Topic 2.4 - Computational Thinking Flashcards
What are logic gates?
Logic gates are electronic devices that perform basic logic functions.
What are the basic logic gates?
The basic logic gates are AND, OR, and NOT gates.
What is the truth table for an AND gate?
A AND B = Output: 0 0 = 0, 0 1 = 0, 1 0 = 0, 1 1 = 1
What is the truth table for an OR gate?
A OR B = Output: 0 0 = 0, 0 1 = 1, 1 0 = 1, 1 1 = 1
What is the truth table for a NOT gate?
NOT A = Output: 0 = 1, 1 = 0
What is the symbol for an AND gate?
The symbol for an AND gate is ^
What is the symbol for an OR gate?
The symbol for an OR gate is V
What is the symbol for a NOT gate?
The symbol for a NOT gate is ¬
What is the output of an AND gate if A = 1 and B = 0?
The output of an AND gate with A = 1 and B = 0 is 0
What is the output of a NOT gate if the input is 1?
The output of a NOT gate with input 1 is 0