
Obstacle-Avoiding Car Code Quiz
Quiz
•
Other
•
11th Grade
•
Practice Problem
•
Easy
Kingsley Ogbonna
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the primary function of this Arduino code?
Controlling an LED strip based on distance measurements
Allowing a robot car to autonomously navigate and avoid obstacles
Measuring temperature and displaying results on an LCD screen
Controlling a robotic arm using servo motors
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What component is responsible for detecting obstacles?
Servo motor (SG90)
L293B motor driver
Ultrasonic sensor (HC-SR04)
Breadboard
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does the following block of code do?
Moves the robot forward when there is no obstacle
Rotates the servo to the right, measures the distance, and returns the value
Makes the robot turn right al the time it detects an obstacle
Stops the robot and resets the sensor
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which function is responsible for stopping the motors?
moveStop ( )
moveForward ( )
moveBackward ( )
turnLeft ( )
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the purpose of the readPing ( ) function?
To control the servo motor's rotation when it is rotating
To activate the DC motors
To read and return the measured distance from the ultrasonic sensor
To reset the Arduino UNO when an obstacle is detected
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which Arduino pins are used for the ultrasonic sensor’s trigger and echo signals?
A0 and A1
3 and 5
8 and 9
10 and 11
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What happens if the ultrasonic sensor does NOT detect any obstacles?
The robot moves forward continuously
The robot stops and waits for an obstacle
The robot starts moving backward
The robot beeps and shuts down
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
20 questions
Warm and Cold Fronts
Quiz
•
6th - 12th Grade
15 questions
Your Family
Quiz
•
9th - 12th Grade
17 questions
Fundamental Rights Bharat #12
Quiz
•
7th - 12th Grade
10 questions
EFFECTIVE GROUP DISCUSSION
Quiz
•
9th Grade - University
10 questions
3 . Leadership
Quiz
•
4th Grade - University
15 questions
What I Know (Pretest)
Quiz
•
11th Grade
15 questions
The UN
Quiz
•
11th - 12th Grade
15 questions
21st Century Literature (Midterms Reviewer)
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
7 questions
Amoeba Sisters Dihybrid Cross Punnett Square
Interactive video
•
9th - 12th Grade
10 questions
The Holocaust: Historical Overview
Interactive video
•
9th - 12th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
