Advantage: accuracy and consistency

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

Advantage: accuracy and consistency

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Why can an automated system produce more consistent results than a person?
A It changes the way it does the task each time
B It repeats the task in exactly the same way every time
2. A worker on a production line gets tired after 8 hours. What happens in an automated system?
A It does not get tired, so its accuracy stays the same
B It gets tired too, so its accuracy drops each hour
3. A production line is fully automated. What is the likely result for the products?
A The products are identical to each other
B Each product is slightly different from the last
4. A greenhouse must stay at exactly 22 degrees. Which system keeps the temperature more accurate?
A A person who checks a thermometer now and then
B A temperature sensor and microprocessor that check the reading constantly
5. Which statement about human error is correct?
A Automation reduces human error because the computer follows its program exactly
B Automation increases human error because machines forget the instructions

Match the Pairs

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

Left columnRight column
1IF temp < 22 THEN heater ON AA random setting makes each product different, which removes the consistency of automation.
2WHILE running = TRUE BIF reading > 22 THEN coolerON
3Identical products on a production line: a robot follows the same steps for every item CThe system repeats its task again and again without getting tired, so the 1000th result is as good as the first.
4Sensors give precise measurements, so an exact target such as 22 degrees can be kept DFOR item ← 1 TO 500 weld(item)
5target ← 'about 22' EThe microprocessor compares the sensor reading with the stored value 22 and switches the heater on in exactly the same way every time.
6weld(item, RANDOM(1, 5)) FThe target is vague text, not an exact number, so the sensor reading cannot be compared precisely.

Definitions

consistency

Fill in the Blanks

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

1.
IF temperature _ 22 THEN heater ← ON ENDIF
2.
IF temperature > 22 THEN heater ← ___ ENDIF
3.
_____ running = TRUE CHECKTEMP() ENDWHILE
4.
FOR item ← 1 __ 100 CUT(50) NEXT item
5.
target ← 22 reading ← SENSOR() IF reading <> ______ THEN ADJUST()

Spot the Error

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

Question 1
A targt ← 22
B temp ← READ_SENSOR()
C IF temp < target THEN
D heater ON
E ENDIF
Question 2
A IF line_running = TRUE
B bottle ← FILL(500)
C CHECK(bottle)
D ENDWHILE
Question 3
A parts ← 0
B REPEAT
C CUT_PART(50)
D parts + 1 ← parts
E UNTIL parts = 100
Question 4
A WHILE TRUE
B temp ← READ_SENSOR()
C IF temp > 22 THEN
D cooler OFF
E ENDIF
F ENDWHILE
Question 5
A target = 22
B reading = sensor.read(
C diff = abs(reading - target)
D print(diff)

Answer Key

Advantage: accuracy and consistency
Section A: Quick Questions
Q1
B — It repeats the task in exactly the same way every time
Q2
A — It does not get tired, so its accuracy stays the same
Q3
A — The products are identical to each other
Q4
B — A temperature sensor and microprocessor that check the reading constantly
Q5
A — Automation reduces human error because the computer follows its program exactly
Section B: Match the Pairs
Q1
IF temp < 22 THEN heater ON → The microprocessor compares the sensor reading with the stored value 22 and switches the heater on in exactly the same way every time.
Q2
WHILE running = TRUE → The system repeats its task again and again without getting tired, so the 1000th result is as good as the first.
Q3
Identical products on a production line: a robot follows the same steps for every item → FOR item ← 1 TO 500 weld(item)
Q4
Sensors give precise measurements, so an exact target such as 22 degrees can be kept → IF reading > 22 THEN coolerON
Q5
target ← 'about 22' → The target is vague text, not an exact number, so the sensor reading cannot be compared precisely.
Q6
weld(item, RANDOM(1, 5)) → A random setting makes each product different, which removes the consistency of automation.
Section C: Definitions
Q1
consistency — An automated system repeats a task in exactly the same way every time, with no tiredness or human error, so its results are more accurate and consistent than human work.
Section D: Fill in the Blanks
Q1
IF temperature < 22 THEN heater ← ON ENDIF
Q2
IF temperature > 22 THEN heater ← OFF ENDIF
Q3
WHILE running = TRUE CHECKTEMP() ENDWHILE
Q4
FOR item ← 1 TO 100 CUT(50) NEXT item
Q5
target ← 22 reading ← SENSOR() IF reading <> target THEN ADJUST()
Section E: Spot the Error
Q1
A — The variable name is misspelled. The later lines use target, so the system would never hold the temperature at exactly 22. It should be target ← 22.
Q2
A — An automated production line must repeat the same task over and over, so it needs a WHILE loop. IF runs once and does not match ENDWHILE. It should be WHILE line_running = TRUE.
Q3
D — Assignment goes the wrong way. The new value must be stored in the variable on the left, so the line should be parts ← parts + 1. Then all 100 parts are cut identically.
Q4
D — If the temperature is above 22 the cooler must be switched ON to bring it back to 22. Switching it OFF would make the room even hotter. It should be cooler ON.
Q5
B — The closing bracket is missing, so the function call is not complete and gives a syntax error. It should be reading = sensor.read().