HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Problems
  2. /A small robot on a test bench drives at 0.25 m/s towards a wall 3.2 m away…
EasyComputer ScienceHigh School (9–10)Computer Science › Automated and Emerging TechnologiesNumericalIGCSE

A small robot on a test bench drives at 0.25 m/s towards a wall 3.2 m away…

StemPy LabContributed by StemPy Lab

Try it on paper first. A hint, the key idea and the worked solution are here when you need them.

A small robot on a test bench drives at 0.25 m/s0.25\ \text{m/s}0.25 m/s towards a wall 3.2 m3.2\ \text{m}3.2 m away. Its proximity sensor is read 101010 times each second. The microprocessor stops the motors when a reading shows the wall is 0.2 m0.2\ \text{m}0.2 m away.

How long does the robot drive, and how many sensor readings are taken in that time?

Check your answer

Work it out on paper, then type your number. The answer itself stays hidden.

Need a reminder? The key ideaShowHide

A robot has three characteristics: a mechanical structure or framework; electrical components, such as sensors, microprocessors and actuators; and it is programmable. A machine needs all three. A remote-controlled toy is not programmable, and a chat program has no mechanical structure, so neither is a robot.

The worked solution

Have you tried it?

Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.

Step 1. Distance. 3.2−0.2=3.03.2 - 0.2 = 3.03.2−0.2=3.0 m.

Step 2. Time. 3.0÷0.25=123.0 \div 0.25 = 123.0÷0.25=12 s.

Step 3. Readings. 101010 each second for 121212 s is 12×10=12012 \times 10 = 12012×10=120 readings.

Check. In 121212 s at 0.250.250.25 m/s the robot goes 333 m, and it stops 0.20.20.2 m from the wall.

What if? If the sensor were read only once a second, the robot could travel 0.250.250.25 m between two readings, so it might stop too late. Reading often matters.

Log in to save this for later
← All Problems
← A robot lawn mower cuts the grass in a garden by itself…A robot vacuum is controlled by this pseudocode… →
More onComputer Science › Automated and Emerging Technologies

Discussion (0)

Log in to join the discussion.

Loading…

More on this topic

  1. A filter calls an email unwanted when its score is greater than its dividing line T…Hard
  2. A bank wants software to decide which card payments might be fraud…Hard
  3. A learning filter is given eight emails that users have labelled…Medium
  4. An email service has a filter that moves unwanted messages into a separate folder…Medium
  5. A health centre in a remote area uses an expert system to help a nurse decide whether a patient…Hard
All problems on this topic →