Which of the following functions is NOT defined in the initial navigation function definitions of the escaping_corners.py script?
Escaping Corners Quiz

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Rob Mathis
Used 1+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
forward()
left()
right()
stop()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the variable counter in the escaping_corners.py script?
To store the current speed of the robot.
To keep track of alternate whisker presses.
To record the total distance traveled by the robot.
To control the duration of the robot's movements.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The variables o_w_l and o_w_r are used to store what?
The desired whisker states.
The current motor speeds.
The previous whisker states.
The number of times the robot has turned.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The outermost "if" statement in the main loop checks if which of the following is true?
Both whiskers are pressed simultaneously.
Neither whisker is pressed.
w_l and w_r are different.
Both previous whisker states were the same.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When is the counter variable incremented?
When both whiskers are pressed simultaneously.
When neither whisker is pressed.
When both current whisker input states are different from their previous input states.
Every time the main loop runs.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if the counter exceeds four?
The robot stops moving.
The robot moves forward at a faster speed.
A tone plays, and the robot attempts to escape the corner by moving backward and turning left twice.
The whisker input values are reset to zero.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Before the robot attempts to escape a corner, what are the values assigned to counter, w_l, and w_r?
1, 1, 1
5, 0, 0
0, 1, 1
1, 1, 15
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
QUIZ 4 EMPOWERMENT TECHNOLOGY

Quiz
•
11th Grade
20 questions
Lego EV3 Robotics Quiz (Multiple Choice)

Quiz
•
9th - 12th Grade
21 questions
Typing

Quiz
•
9th - 12th Grade
24 questions
1A Quiz on Game Design with Scratch

Quiz
•
5th - 9th Grade
20 questions
RobotC Review

Quiz
•
9th - 12th Grade
20 questions
artificial intelligence

Quiz
•
10th Grade
20 questions
J808 4.1 Types of threats

Quiz
•
9th - 11th Grade
14 questions
AP Computer Science Principles Unit 5 Vocabulary A

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade