TactivergeLite

Lite / Discovering How the World Works / Term 3 worksheet

Worksheet: Discovering How the World Works, term 3

Your First Intelligent System · Questions only. Check your answers in each Lite lesson, where they are graded on our server.

Name:   Date:

Week 19: Automatic or intelligent?

1. Which of these machines is intelligent rather than just automatic?

2. A machine has an excellent camera but no rules. Is it intelligent?

3. A night light switches on when the room gets dark. What does it sense, and what does it do?

4. Put these lights in order from least to most intelligent: (A) on at 7 pm daily, (B) on when it gets dark, (C) on when it's dark AND someone is in the room.

Check these in the lesson

Week 19: Sense, think, act

1. A robot counts how many times its wheel has turned. Which stage is that?

2. 'If the soil is drier than 30%, open the water valve.' Which stage is this sentence?

3. Why must the sense–think–act loop keep repeating?

4. A robot runs its sense–think–act loop 50 times every second. How many times does it run the loop in 3 seconds?

Answer:

Check these in the lesson

Week 19: Who decides: the robot or the human?

1. A rover's camera sees the ground drop away in front of it. Who should decide to stop?

2. Which decision is fine to leave to scientists on Earth?

3. A radio message takes 12 minutes to travel from Mars to Earth. What is the shortest time, in minutes, to send a photo to Earth and get a reply back?

Answer: min

4. A slow rover moves 5 cm every second. How many centimetres would it travel during a 60-second wait?

Answer: cm

Check these in the lesson

Week 20: What is an algorithm?

1. Which of these is NOT a good algorithm for a robot?

2. 'Step 1: Forward 1. Step 2: go back to step 1.' What is wrong with this as an algorithm?

3. Two learners write different programs that both take the robot to the flag safely. Which is true?

4. A robot starts at (0, 0) facing north on an open grid (east is +x, north is +y). It runs: turn left, turn left, turn right, forward 1, turn left, forward 1. What is its final x (east–west) coordinate? Use a negative number for west.

Answer:

Check these in the lesson

Week 20: Drawing algorithms as flowcharts

1. Which flowchart shape asks a yes/no question?

2. A flowchart diamond asks 'Door open?' and has only a Yes arrow. What's the problem?

3. Flowchart: Start → 'Temperature below 18 °C?' Yes → 'Heater on'; No → 'Heater off' → back to Start. The thermometer reads 20 °C. What happens?

4. A flowchart has a start, an end, three action rectangles and two decision diamonds. How many arrows leave the decision diamonds altogether?

Answer:

Check these in the lesson

Week 20: Some algorithms are better than others

1. How many counts does it take to count 36 people in groups of 3?

Answer:

2. You count 25 people in pairs. How many counts do you need, including the last person on their own?

Answer:

3. Algorithm X takes 5 steps and is wrong for one input in ten. Algorithm Y takes 50 steps and is always right. For a lift's safety check, which should you choose?

4. A robot's counter starts at x = 2. The loop is: repeat until x ≥ 24: x = x + 4. How many times does the loop body run?

Answer:

Check these in the lesson

Week 21: Order matters

1. Which pair of steps can safely be done in either order?

2. A robot at (0, 0) faces north. It runs: Turn right, Forward 1, Forward 1. Where does it end?

3. What must happen before a washing machine's door is allowed to unlock?

4. A robot starts at (0, 0) facing north on an open grid (east is +x, north is +y). It runs: turn left, turn left, turn right, forward 1, turn left, forward 1. What is its final x (east–west) coordinate? Use a negative number for west.

Answer:

Check these in the lesson

Week 21: Instructions a robot can't misunderstand

1. Which instruction is exact enough for a robot?

2. A robot at (3, 2) facing east does 'Turn left'. Where is it now, and which way does it face?

3. A robot starts at (0, 0) facing north on an open grid (east is +x, north is +y). It runs: forward 1, forward 1, forward 1, forward 1, forward 1, forward 1. What is its final y (north–south) coordinate? Use a negative number for south.

Answer:

4. A robot faces north (0°). Compass angles go clockwise: east 90°, south 180°, west 270°. It makes these 90° turns: right, right, right, left, right. Which compass angle does it face at the end (0 to 270)?

Answer:

Check these in the lesson

Week 21: Debugging: find the step that went wrong

1. A robot crashes into a wall on instruction 6. Which statement is true?

2. You fix instruction 3 of a 10-step program. What should you do next?

3. A robot faces north (0°). Compass angles go clockwise: east 90°, south 180°, west 270°. It makes these 90° turns: right, right, right, left. Which compass angle does it face at the end (0 to 270)?

Answer:

4. A robot starts at (0, 0) facing north on an open grid (east is +x, north is +y). It runs: turn left, turn left, turn right, forward 1, turn left, forward 1. What is its final x (east–west) coordinate? Use a negative number for west.

Answer:

Check these in the lesson

Week 22: IF this, THEN that, ELSE the other

1. IF light level < 30 THEN lamp on ELSE lamp off. The sensor reads 45. What happens?

2. IF speed > 50 THEN beep. The speed is exactly 50. Does it beep?

3. A night light's only rule is: IF dark THEN lamp on. What goes wrong?

4. Rule: IF distance < 30 cm THEN stop. The sensor reads 38 cm, 44 cm, 29 cm, 30 cm, 31 cm, 15 cm. For how many of these readings does the THEN branch run?

Answer:

Check these in the lesson

Week 22: Choosing a good threshold

1. Rule: IF temperature > 40 °C THEN switch the fan on. The sensor reads 41 °C, 55 °C, 40 °C, 33 °C, 43 °C, 47 °C. For how many of these readings does the THEN branch run?

Answer:

2. A doorbell camera alerts you when motion is above a threshold. Leaves blowing keep triggering it. What should you do?

3. For a smoke alarm, which mistake is worse?

4. Small parts measure between 40 and 55 mm. Large parts measure between 75 and 90 mm. A good threshold sits halfway across the gap between the groups. What value is that, in mm?

Answer: mm

Check these in the lesson

Week 22: AND, OR, NOT: combining conditions

1. A burglar alarm should sound if the door opens or a window breaks. Which word joins the two conditions?

2. A paper shredder should run only when the bin is in place and paper is detected. Which rule is right?

3. In the four-row truth table for A OR B, in how many rows is the result true?

Answer:

4. A rover's rule is 'drive IF NOT obstacle'. The obstacle sensor says true. Does it drive?

Check these in the lesson

Week 23: Repeat N times

1. x starts at 8. A loop runs "x = x + 2" exactly 6 times. What is x when the loop ends?

Answer:

2. x starts at 2. A loop runs "x = x + -1" exactly 4 times. What is x when the loop ends?

Answer:

3. Without a loop, how many instructions does it take to drive a square with 'Forward 1, Turn right' for each side?

Answer:

4. x starts at 7. A loop says 'repeat 0 times: x = x + 5'. What is x afterwards?

Check these in the lesson

Week 23: Repeat until: loops that decide when to stop

1. A robot's counter starts at x = 4. The loop is: repeat until x ≥ 21: x = x + 2. How many times does the loop body run?

Answer:

2. A robot's counter starts at x = 1. The loop is: repeat until x ≥ 12: x = x + 5. How many times does the loop body run?

Answer:

3. Repeat until distance < 10: beep. The robot isn't moving. What happens?

4. x starts at 25. Repeat until x ≥ 20: x = x + 2. How many times does the body run?

Check these in the lesson

Week 23: The forever loop inside every robot

1. When is a loop that never ends the right design?

2. Where should the IF rule 'IF too hot THEN fan on' go in a thermostat program?

3. A traffic light's cycle is green 30 s, amber 3 s, red 37 s, then repeats. How many full cycles does it complete in 7 minutes (420 s)?

Answer:

4. A robot's main loop runs every 20 milliseconds (0.02 s). How many passes does it make in one second?

Answer:

Check these in the lesson

Week 24: Sensors: how machines feel the world

1. A greenhouse needs to know when the soil is dry. Which sensor fits?

2. Which sensor gives only two possible answers?

3. Is a speaker a sensor or an actuator?

4. Sound travels 340 m/s. An echo comes back after 0.01 s. How far away is the object, in metres? (Remember: there and back.)

Answer: m

Check these in the lesson

Week 24: Sensors aren't perfect

1. A thermometer reads 18, 19, 17 and 18 °C. What is the average, in °C?

Answer: °C

2. A robot drives at 10 cm/s and checks its distance sensor 10 times a second. How far does it travel between one check and the next, in cm?

Answer: cm

3. A robot must never get closer than 10 cm to a wall. Its sensor can be off by up to 2 cm. Which stop rule is safest?

4. Averaging 20 readings instead of 2 makes the estimate steadier. What's the cost?

Check these in the lesson

Week 24: Actuators: how machines change the world

1. Which actuator is best for pointing a camera at a chosen angle and holding it there?

2. Which addition best helps a gripper hold both an egg and a bolt?

3. A robot arm has a shoulder, an elbow and a wrist, each turned by its own motor. How many degrees of freedom does it have?

Answer:

4. In a greenhouse, which of these is an actuator?

Check these in the lesson

Week 25: Open loop or closed loop?

1. Which of these is closed-loop?

2. A heater wants the room at 21 °C. The thermometer reads 17.5 °C. What is the gap (target − measured), in °C?

Answer: °C

3. A robot's target is 80 cm. It measures 86 cm. What is the gap, in cm? (It can be negative.)

Answer: cm

4. A closed-loop robot is pushed back 10 cm by a friend. What happens?

Check these in the lesson

Week 25: On/off control: the bang-bang thermostat

1. Why does a bang-bang thermostat never hold the temperature exactly on target?

2. A thermostat targets 22 °C with a 3 °C gap split evenly. Below what temperature does the heater switch on, in °C?

Answer: °C

3. An engineer shrinks the gap from 2 °C to 0.2 °C. What happens?

4. Gap set: on below 17 °C, off above 19 °C. The heater is ON and the room reaches 18 °C. What does it do?

Check these in the lesson

Week 25: Correct in proportion

1. A robot is at 0 cm and wants to stop at 80 cm. Each step it moves 0.5 of the remaining gap. Where is it after one step, in cm?

Answer: cm

2. A robot is at 20 cm and wants to stop at 40 cm. Each step it moves 0.25 of the remaining gap. Where is it after one step, in cm?

Answer: cm

3. Which value of k makes the robot overshoot the target and then settle?

4. A proportional heater targets 18 °C but the room settles at 16.6 °C. Why?

5. A robot at 0 cm targets 80 cm with k = 0.5. Where is it after three steps, in cm?

Answer: cm

Check these in the lesson

Week 26: Steering without a steering wheel

1. Left wheel 10 cm/s, right wheel 6 cm/s. What is the robot's forward speed, in cm/s?

Answer: cm/s

2. Left wheel 3 cm/s, right wheel 7 cm/s. Which way does the robot curve?

3. Which wheel speeds make the robot spin on the spot to the left?

4. A robot faces north (0°). Compass angles go clockwise: east 90°, south 180°, west 270°. It makes these 90° turns: right, right, right, left, right. Which compass angle does it face at the end (0 to 270)?

Answer:

Check these in the lesson

Week 26: Joints and arms: placing a robot hand

1. A robot arm has an upper arm 9 cm long and a forearm 2 cm long. What is the closest distance from the shoulder that the hand can reach, in cm?

Answer: cm

2. Our arm has links of 5 and 3 units. Which point can its hand NOT reach?

3. A robot arm has a waist that rotates, a shoulder, an elbow and a wrist that bends, each with its own motor. How many degrees of freedom is that?

Answer:

4. Why can a two-joint arm often reach the same point in two ways?

Check these in the lesson

Week 26: Planning a route before you move

1. A robot starts at (0, 0) facing north on an open grid (east is +x, north is +y). It runs: forward 1, forward 1, turn right, turn right, forward 1, turn left, turn left. What is its final x (east–west) coordinate? Use a negative number for west.

Answer:

2. On an open grid with no walls, what's the fewest Forward moves to get from (0, 0) to (3, 5)?

Answer:

3. Why do rovers stop at checkpoints along a planned route?

4. Route A is 10 moves and passes right beside a crater. Route B is 12 moves and stays well clear. Which would a careful engineer pick?

Check these in the lesson

Week 27: Design challenge 1: define the problem

1. Which requirement is testable?

2. Why include something the system must NEVER do?

3. Checking a sensor 100 times a second instead of once a second makes a robot react faster. What's the likely trade-off?

Check these in the lesson

Week 27: Design challenge 2: design the brain

1. A smart greenhouse has four yes/no sensors (too hot?, too cold?, soil dry?, daytime?). How many rows does its complete rule table need?

Answer:

2. Using the chain IF metal THEN Metal ELSE IF large THEN Reject ELSE IF red THEN Red ELSE Mixed, where does a small, red, metal part go?

3. A rule table for two sensors has only three rows filled in. What's the risk?

4. In your design, where do the sensor readings and rules go?

Check these in the lesson

Week 27: Design challenge 3: test it and make it better

1. Rule: IF temperature > 40 °C THEN switch the fan on. The sensor reads 41 °C, 55 °C, 40 °C, 33 °C, 43 °C, 47 °C. For how many of these readings does the THEN branch run?

Answer:

2. Why write the expected result before running a test?

3. You change your rule from < to ≤ to fix one failed test. What should you do next?

4. Good practice tests each threshold at just below, exactly on, and just above it. A design has 3 thresholds. How many boundary tests is that?

Answer:

Check these in the lesson