
Logic & Sensors Quiz
Authored by TONY MARTENS
Computers
6th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 3 pts
What is the output of an AND Logic Gate if both inputs are 1?
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.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Microsoft Teams
Quiz
•
KG - 12th Grade
15 questions
Code.org Express Course Quiz 2
Quiz
•
6th - 8th Grade
20 questions
Google SketchUp Tool
Quiz
•
KG - University
10 questions
Website Evaluation
Quiz
•
3rd - 6th Grade
20 questions
Letters
Quiz
•
6th - 8th Grade
16 questions
Programming and Logic Lesson 2
Quiz
•
6th - 8th Grade
18 questions
PC Component Identification
Quiz
•
6th - 12th Grade
11 questions
Typing words on keyboard (colours)
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade