stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Future Programmers Week 1 Review Flashcards | StudBud
Explore
/
Future Programmers Week 1 Review
Future Programmers Week 1 Review
18 terms
·
StudBud Administration
·
76 plays
Future Programmers Week 1 Review
Flashcards
18 cards
F
Practice quiz
P
Host live
L
Questions
18
Answers
1
What is the command to make the smart car move forward?
move_forward()
advance()
go(100, 100,1)
drive_forward()
2
How do you control the smart car to move backward under 20% force for 1 second?
go(20, 20, 1)
go(20-, 20, 1)
go(20-, 20-, 1)
go(20, 20-, 1)
3
In programming, what is a common use of the 'if' statement?
To end the program
To define variables
To make decisions based on conditions
To create a loop
4
What is the purpose of using variables in the programming activities of the course?
To design the car's exterior
To control the speed of the car
To communicate with other devices
To store data in a computer
5
What is a key application of color sensors in industry?
Time travel research
Automatic sorting based on color
Music composition
Writing novels
6
The value needed to judge the color is
100
128
0
255
7
What is the main purpose of Learning Artificial Intelligence (AI) in this unit?
To teach about computer hardware
To focus solely on programming skills
To understand the development and application of AI technology
To study only the history of computers
8
How is the front ultrasonic sensor accessed in the programming code?
get_ultrasound()[1]
get_ultrasound()[3]
get_ultrasound()[2]
get_ultrasound()[0]
9
What is the primary function of smart homes?
To provide luxurious living
To connect various devices for automation
To increase property values
To display modern art
10
What is the maximum power percentage allowed for controlling the Smart Car in the course?
50%
120%
80%
100%
11
What is the principle of an ultrasonic sensor?
Infrared waves
Radio waves
Magnetic field
Ultrasonic waves
12
What is an example of an AI application in everyday life?
Manual car driving
Using a landline phone
Typing on a typewriter
Face recognition in phones
13
What does the `for` loop primarily help with in programming?
Enhancing graphical interface
Repeating code execution efficiently
Managing databases
Networking protocols
14
The color system that uses three colors in order is:
RBG
GBR
RGB
BRG
15
What is the purpose of using the range() function in loops?
To establish network connections
To control the number of loop iterations
To manage user inputs
To enhance graphics
16
What is the main function to get the distance from an obstacle in ultrasonic sensor programming?
get_distance()
read_sensor()
get_ultrasound()
measure_distance()
17
In the smart car tasks, what is the primary function of the `setTarget()` command?
To adjust the brightness of the headlights
To choose the map
To choose the parking stall
To set the speed of the car
18
What is the primary language used for programming in the course "Basic Control of Smart Car"?
JavaScript
Java
Python
C++