NEW
Font size
WorksheetsLogic Gates Quiz
Total questions: 15
Worksheet time: 8mins
What is Boolean logic?
A type of programming language
A system of rules for making calculations
A way to compare statements and return true or false
A method of creating complex databases
Which logic gate outputs 1 only when both inputs are 1?
OR gate
AND gate
NOT gate
XOR gate
How many inputs does an AND gate have?
1
2
3
Any number
What will be the output of an AND gate if one input is 1 and the other is 0?
1
0
2
It depends
What is the function of an OR gate?
It outputs 1 only when both inputs are 1
It outputs 1 if at least one input is 1
It inverts the input
It adds the input values
If both inputs to an OR gate are 0, what will be the output?
1
0
2
It cannot be determined
How does a NOT gate function?
It adds the inputs
It outputs the same value as the input
It inverts the input
It outputs 1 only when both inputs are 1
How many inputs does a NOT gate have?
1
2
3
Any number
If the input to a NOT gate is 1, what is the output?
1
0
2
It depends
Which logic gate can be used to check if both conditions are true?
OR
AND
NOT
XOR
What is an example of an AND gate in real life?
Deciding to turn on an alarm system
Checking if either of your friends is online to play a game
Deciding if you can have a cheese sandwich based on having bread and cheese
Turning off a switch when the light is already on
What is an example of an OR gate in real life?
Checking if a system alarm should turn on
Checking if you can play online if at least one of your friends is available
Deciding if you can eat a sandwich when you have all ingredients
Choosing between tea and coffee
What is an example of a NOT gate in real life?
Turning on an alarm system when no one is home
Checking if both inputs are 1
Choosing between two options
Adding two numbers
If the inputs to an OR gate are both 1, what will be the output?
0
1
2
It depends
Which logic gate will always output the opposite of the input?
AND
OR
NOT
XOR
