Robots: Sensors and Actions
שאלות 10
מפתח התשובות מוצג למורים מחוברים.
-
-
-
Conditional decisions in programs
A robot must turn its wheels forward if the distance to an obstacle is greater than 20 cm, and stop them otherwise. Which programming structure is most suitable for choosing between these two actions?
A variable declaration
A while loop with no condition
An if-else statement
A function definition
The robot must pick one of two actions depending on whether a condition is true or false. -
Analog and digital signals
A microcontroller reads the output of a sensor whose voltage can take any value between 0 V and 5 V, such as a temperature sensor. What type of signal is this?
Binary signal only
Analog signal
Digital signal
Constant signal
Consider whether the signal can take many continuous values or only a small set of fixed levels such as HIGH and LOW. -
Feedback control
A robot continuously reads its sensors and adjusts its motor speed based on the readings so that it stays on a line. What is this type of control called?
Manual control
Static control
Open-loop control
Closed-loop control
The key idea is that the system uses information about its own output to correct its behaviour. -
Meaning of a variable
In a robot program, what is a variable best described as?
A type of motor used to move the robot
A named storage location whose value can be changed while the program runs
A fixed value that can never change
A loop that repeats a block of code
Think about the word 'variable' itself: what is it that varies, and what holds it? -
Calculating distance from echo time
An ultrasonic sensor sends a pulse and receives the echo after 0.002 s. The speed of sound in air is 340 m/s. Using \(d = \frac{v \times t}{2}\), what is the distance to the object?
0.17 m
0.34 m
3.4 m
0.68 m
The sound travels to the object and back, so the total distance travelled is divided by 2 to get the one-way distance. -
-
-
פרטים
- מקצועות
- מדע וטכנולוגיה
- תגיות
- נוסף על ידי AI ultrasonic sensors נוסף על ידי AI analog signals נוסף על ידי AI motor control נוסף על ידי AI actuators נוסף על ידי AI if-else logic
- קהל יעד
- חטיבת ביניים · כיתות ז׳–ט׳
- רמת קושי
- 5 מתוך 10
- שפה
- אנגלית
- מי יכול לראות
- כולם
- הושלם על ידי AI
- מה שמסומן בניצוץ נוסף על ידי AI.
- נוצר באמצעות AI
- Claude Haiku 5.5
- נוצר
תגובות