
Line Tracking Code

Quiz
•
Computers
•
10th Grade
•
Hard
Charliemagne Rezare
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the #define statements at the beginning of the code?
To define functions
To define variables
To define constants
To define classes
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the Sensor_IO_Config() function?
To configure the input/output pins for the sensors
To read the values from the sensors
To control the speed of the motors
To control the direction of the motors
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the digitalRead() function do?
It reads an analog value from a pin
It reads a digital value from a pin
It writes an analog value to a pin
It writes a digital value to a pin
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the M_Control_IO_config() function?
To configure the input/output pins for the sensors
To read the values from the sensors
To control the speed of the motors
To control the direction of the motors
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does analogWrite() do?
It reads an analog value from a pin
It reads a digital value from a pin
It writes an analog value to a pin
It writes a digital value to a pin
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Lpwm_val and Rpwm_val used for?
To store the state of left and right sensors
To store the speed of left and right wheels
To store the direction of left and right wheels
To store the state of left and right motors
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Car_state used for?
To store the state of left and right sensors
To store the speed of left and right wheels
To store the direction of left and right wheels
To store the state of left and right motors
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
BTEC DIT C3 LAA - Communication Technologies

Quiz
•
10th - 11th Grade
11 questions
Impact of Technology

Quiz
•
10th Grade
10 questions
Input devices

Quiz
•
5th - 10th Grade
6 questions
Power Supply Quiz

Quiz
•
8th Grade - University
13 questions
Keep It Really Safe Lego SPIKE Prime Lesson Review

Quiz
•
7th Grade - University
6 questions
Monitoring and control systems

Quiz
•
9th - 12th Grade
10 questions
Understanding Arduino Basics

Quiz
•
9th - 12th Grade
8 questions
FIRST Tech Challenge Systems

Quiz
•
9th - 10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade