From Mock A · Paper 1: Written examination
81 mark
Which of the following is a sensor on a robot vacuum cleaner?
WHILE game_running IF player_visible THEN chase(player) ELSE IF heard_noise THEN move_to(noise_location) ELSE patrol() ENDIFENDWHILEIdentify two inputs from the environment that the guard uses.| Left sensor | Right sensor | Action |
|---|---|---|
| white | white | move forward |
| black | white | ? |
| white | black | ? |
| black | black | ? |
This paper is written by Plasmo in the style of the LRN GCSE Artificial Intelligence exam. It is not a past paper and is not produced or endorsed by the exam board.