Robots and Sensors
שאלות 10
מפתח התשובות מוצג למורים מחוברים.
-
-
-
Sensor Input Processing
A robot uses an ultrasonic distance sensor. When the sensor reads a value below 20 cm, the program makes the robot stop. What type of programming structure is most directly used to make this decision?
A conditional statement (if-then)
A loop that runs forever
A variable declaration
A function call with no parameters
The robot is choosing between two actions depending on whether a condition is true or false. -
Feedback Loop
A line-following robot constantly reads light sensors, checks whether it is still on the line, and corrects its direction. What is this repeated cycle of sensing, deciding, and acting called?
A data backup
A feedback loop
A compiler error
A binary search
The robot's output changes its next input, and the process repeats continuously. -
-
-
Converting Sensor Signals
An _____________________________ turns an analog voltage into a number.
voltage regulatordigital-to-analog converterpulse counteranalog-to-digital convertermotor driverA sensor's output is a continuous voltage, but the robot's processor works with numbers. Think about the device that changes the voltage into digital values. -
Checking Sensors Repeatedly or Responding Immediately
A robot can check a sensor again and again in a loop, a method called ___________. Another approach is an ___________ that pauses the main program when the sensor signal changes.
pollingschedulingbufferingencodinginterruptcalibrationIn the first method, the program keeps asking the sensor for its value. In the second, the sensor itself signals the processor when something happens. -
Sensor readings and program decisions
A robot has a light sensor. Its program reads the sensor value and, if the value is above a set level, the robot drives forward; otherwise it turns. Explain in your own words why the robot needs its program to read and check the sensor value before it acts, rather than acting on the sensor directly.
Think about what a sensor actually outputs and what step turns that output into a decision. -
Sensor input and response in a robot
A robot's distance sensor reports that an obstacle is 10 cm away. The robot's program is written to stop when an obstacle is closer than 15 cm. Describe what the robot does in response, and explain which two parts of the system made that response happen.
Consider the path an input follows: from the sensor, to the program's comparison, and finally to the motors.
פרטים
- מקצועות
- מדעי המחשב
- תגיות
- נוסף על ידי AI robot components נוסף על ידי AI sensors and actuators נוסף על ידי AI robot programming נוסף על ידי AI Polling and interrupts נוסף על ידי AI Analog-to-digital conversion
- קהל יעד
- חטיבת ביניים · כיתות ז׳–ח׳
- רמת קושי
- 5 מתוך 10
- שפה
- אנגלית
- מי יכול לראות
- כולם
- הושלם על ידי AI
- מה שמסומן בניצוץ נוסף על ידי AI.
- נוצר באמצעות AI
- Claude Haiku 5.5
- נוצר
תגובות