Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Community ▾
A
A
Quizzes
/
A robot moves forward one step at a time and reads its proximity sensor after each step, as in this pseudocode. The readings are 40, 25, 12, 8 and 30. What is output?
Computer Science
Hard
High School (9–10)
Computer Systems › Automated and Emerging Technologies
IGCSE
Created by
StemPy Lab
A robot moves forward one step at a time and reads its proximity sensor after each step, as in this pseudocode. The readings are
40
40
40
,
25
25
25
,
12
12
12
,
8
8
8
and
30
30
30
. What is output?
Steps ← 0 REPEAT INPUT Distance Steps ← Steps + 1 UNTIL Distance < 10 OUTPUT Steps
2
2
2
3
3
3
4
4
4
5
5
5
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A drone flies a programmed inspection route of 2700 m along a power line at 12 m/s. How many seconds does it fly?
A drone has a frame, a camera, sensors, a microprocessor and motors. It is flown only by a person with a hand controller and cannot store a route. Which statement is correct? →
More on
Computer Systems › Automated and Emerging Technologies
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
A filter calls an email unwanted when its score is greater than its dividing line T…
Hard
A bank wants software to decide which card payments might be fraud…
Hard
A learning filter is given eight emails that users have labelled…
Medium
An email service has a filter that moves unwanted messages into a separate folder…
Medium
All problems on this topic →