11 mark
ELIZA, created in the 1960s, was an early example of:
for i in range(3): print(i)| Customer | Visits per month | Average spend (£) |
|---|---|---|
| A | 2 | 15 |
| B | 3 | 12 |
| C | 15 | 18 |
| D | 14 | 20 |
| E | 3 | 95 |
| F | 2 | 110 |
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.names = ["Ana", "Ben", "Cal"]scores = [72, 58, 91]for i in range(len(names)): if scores[i] >= 60: print(names[i], "pass") else: print(names[i], "retake")State the output of this program.Answer every question to finish (34 left), or finish when the time’s up.
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.