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 lamp is controlled by this pseudocode. The light sensor gives a reading of 40. What is output?
Computer Science
Hard
High School (9–10)
Computer Systems › Automated and Emerging Technologies
IGCSE
Created by
StemPy Lab
A lamp is controlled by this pseudocode. The light sensor gives a reading of
40
40
40
. What is output?
INPUT Light IF Light < 40 THEN OUTPUT "Lamp on" ELSE OUTPUT "Lamp off" ENDIF
Nothing is output
"Lamp on"
"Lamp off"
"Lamp on" first, then "Lamp off"
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← Engineers check the pressure in a water main with a sensor that is read three times every minute. How many readings does it give over 2 hours?
A shop wants its front door to slide open when a customer walks up to it. Which pair is the best choice of sensor and actuator? →
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 →