Advantage: safety in dangerous places

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Advantage: safety in dangerous places

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Why might a company use an automated system in a room full of toxic chemicals?
A So the chemicals become safe to touch
B So people are not put at risk from the chemicals
2. Which is a safety advantage of using an automated system?
A It can work in hazardous places so people stay out of danger
B It never needs to be switched on
3. A robot is sent to collect gas samples near an active volcano. What is the main advantage?
A Scientists are not put at risk from heat and toxic gases
B The volcano will stop erupting
4. Which place is hard to reach or dangerous for people, so an automated system is useful there?
A A classroom
B The deep sea
5. Why are automated probes used in space exploration?
A They can work where people cannot easily survive or reach
B They are cheaper than every other type of computer

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1robot_arm.handle(toxic_chemical) Asubmarine.dive(depth_m=4000)
2probe.explore(volcano_crater) BA person is sent into the toxic room. An automated system should do this job so that the person is not put at risk.
3An automated submersible can work in the deep sea, where the pressure would harm a human diver CA probe collects data inside a volcano so that scientists do not have to enter the danger zone
4Automated machines can work in very high temperatures so that workers are not burned DIF temp > 500 THEN robot.work()
5worker.enter(toxic_room) EA person is sent into danger. The system should send a robot or machine to the hazardous or hard-to-reach place.
6IF danger = TRUE THEN person.go() FA robot handles a dangerous chemical so that no person is exposed to the poison

Definitions

safety in dangerous places

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
__ gasLevel > 50 THEN sendRobot ← TRUE ENDIF
2.
IF temperature > 900 ____ robotEnters ← TRUE ENDIF
3.
IF depth _ 200 THEN sendRobot ← TRUE ENDIF
4.
IF lavaNear = TRUE THEN ______ "Send drone" ENDIF
5.
IF chemicalLeak = TRUE THEN sendRobot ← TRUE _____

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A gas ← GAS_SENSOR()
B IF gas > 50
C SEND_ROBOT()
D ENDIF
Question 2
A depth ← 0
B WHILE depth < 3000
C ROV.DIVE(10)
D depth ← depth - 10
E ENDWHILE
Question 3
A radiation ← READ_SENSOR()
B IF radiation ← 5 THEN
C alarm ← TRUE
D ROBOT.RETREAT()
E ENDIF
Question 4
A pressure ← READ_PRESSURE()
B IF pressure > 200 THEN
C STOP_MACHINE()
D OUTPUT Machine stopped
E ENDIF
Question 5
A leak ← LEAK_SENSOR()
B IF leak = TRUE THEN
C worker.SEAL_PIPE()
D ENDIF

Answer Key

Advantage: safety in dangerous places
Section A: Quick Questions
Q1
B — So people are not put at risk from the chemicals
Q2
A — It can work in hazardous places so people stay out of danger
Q3
A — Scientists are not put at risk from heat and toxic gases
Q4
B — The deep sea
Q5
A — They can work where people cannot easily survive or reach
Section B: Match the Pairs
Q1
robot_arm.handle(toxic_chemical) → A robot handles a dangerous chemical so that no person is exposed to the poison
Q2
probe.explore(volcano_crater) → A probe collects data inside a volcano so that scientists do not have to enter the danger zone
Q3
An automated submersible can work in the deep sea, where the pressure would harm a human diver → submarine.dive(depth_m=4000)
Q4
Automated machines can work in very high temperatures so that workers are not burned → IF temp > 500 THEN robot.work()
Q5
worker.enter(toxic_room) → A person is sent into the toxic room. An automated system should do this job so that the person is not put at risk.
Q6
IF danger = TRUE THEN person.go() → A person is sent into danger. The system should send a robot or machine to the hazardous or hard-to-reach place.
Section C: Definitions
Q1
safety in dangerous places — An automated system can work in hazardous or hard-to-reach places, such as toxic chemicals, volcanoes, deep sea or space, so people are not put at risk.
Section D: Fill in the Blanks
Q1
IF gasLevel > 50 THEN sendRobot ← TRUE ENDIF
Q2
IF temperature > 900 THEN robotEnters ← TRUE ENDIF
Q3
IF depth > 200 THEN sendRobot ← TRUE ENDIF
Q4
IF lavaNear = TRUE THEN OUTPUT "Send drone" ENDIF
Q5
IF chemicalLeak = TRUE THEN sendRobot ← TRUE ENDIF
Section E: Spot the Error
Q1
B — An IF statement must end its condition with THEN. It should be IF gas > 50 THEN, so the robot is sent into the toxic area instead of a person.
Q2
D — The depth must increase so the loop ends at 3000. Subtracting 10 makes an endless loop. It should be depth ← depth + 10, so the underwater robot dives and no diver is at risk.
Q3
B — The line uses the assignment arrow instead of a comparison. It should be IF radiation > 5 THEN, so the alarm and retreat only happen when radiation is high.
Q4
D — Text to be displayed must be inside quotation marks. It should be OUTPUT "Machine stopped". The system stops the heavy machinery itself, so no worker is put at risk.
Q5
C — The point of the system is that a robot does the dangerous job in the chemical plant, not a person. It should be robot.SEAL_PIPE() so no worker is exposed to toxic chemicals.