What is the output of an AND Logic Gate if both inputs are 1?

Logic & Sensors Quiz

Quiz
•
Computers
•
6th Grade
•
Hard

TONY MARTENS
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 3 pts
0
1
It depends on the situation
None of the above
2.
MULTIPLE CHOICE QUESTION
20 sec • 3 pts
Which of the following best describes an IF-ELSE statement?
It performs an action only if a condition is true.
It performs one action if a condition is true and another action if the condition is false.
It repeats an action multiple times.
It decides which function to call.
Answer explanation
An IF-ELSE statement performs one action if a condition is true and another action if the condition is false, making it the best description among the options provided.
3.
MULTIPLE CHOICE QUESTION
20 sec • 3 pts
What is the output of a NAND Logic Gate if both inputs are 0?
0
1
It depends on the situation
None of the above
Answer explanation
The output of a NAND Logic Gate is 1 when both inputs are 0, as NAND gate gives 1 as output only when both inputs are not 1.
4.
MULTIPLE CHOICE QUESTION
20 sec • 3 pts
What is the output of an OR Logic Gate when at least one input is 1?
0
1
It depends on the situation
None of the above
Answer explanation
The output of an OR Logic Gate is 1 when at least one input is 1. Therefore, the correct answer is 1.
5.
MULTIPLE CHOICE QUESTION
20 sec • 3 pts
Which sensor is NOT a part of the Lego Spike Prime kit?
Color Sensor
Gyroscope Sensor
Temperature Sensor
Ultrasonic Sensor
Answer explanation
The Temperature Sensor is NOT a part of the Lego Spike Prime kit, as it is not included in the sensor options provided in the kit.
6.
MULTIPLE CHOICE QUESTION
20 sec • 3 pts
What is the output of an AND Logic Gate if one input is 1 and the other is 0?
0
1
It depends on the situation
None of the above
Answer explanation
The output of an AND Logic Gate is 0 if one input is 1 and the other is 0. Therefore, the correct answer is 0.
7.
MULTIPLE CHOICE QUESTION
20 sec • 3 pts
In an IF-ELSE statement, what happens if the IF condition is false?
The program stops.
The ELSE part is executed.
The program repeats the IF condition.
Nothing happens.
Answer explanation
If the IF condition is false in an IF-ELSE statement, the ELSE part is executed.
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
Hummingbird Robotics

Quiz
•
6th - 9th Grade
18 questions
Robotics Vocabulary I

Quiz
•
6th - 8th Grade
10 questions
Programming - Syntax & Logic Errors

Quiz
•
3rd - 12th Grade
10 questions
Gerbang Logika

Quiz
•
1st - 10th Grade
10 questions
Brainpop Logic Gates

Quiz
•
5th - 8th Grade
10 questions
IGCSE Logic gates

Quiz
•
6th - 8th Grade
10 questions
Truth Tables

Quiz
•
5th - 12th Grade
12 questions
Control Systems

Quiz
•
6th - 9th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary

Quiz
•
6th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
49 questions
How Well Do You Know Your 6th Grade Teachers?

Quiz
•
6th Grade
5 questions
Multiply Decimals

Lesson
•
5th - 6th Grade
10 questions
Adding and Subtracting Decimals

Quiz
•
6th Grade
33 questions
Mechanical Energy Transfer

Quiz
•
6th Grade