Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1# Generated by ChatGPT, checked and edited by me | AThe code was not read or tested against the requirements, so errors could remain and the student may not understand it | |
| 2Test table: input 50, expected 50, actual 45 | BA comment that acknowledges the AI tool used, and states that the student has checked the code | |
| 3Read the AI code and explain each line before you run it | C# Line 3: loop through each mark and add it to total | |
| 4Check the code for bias, such as unfair rules built into a decision | DA test shows the code does not meet the requirements, because the actual output differs from the expected output | |
| 5Pasted the AI code into my program and handed it in without running it | Eif gender == "female": discount = 0 | |
| 6# Code written by me (it was copied from an AI tool) | FThe AI tool is not acknowledged, so the comment wrongly claims the student wrote it all |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
Check AI code — Read AI-generated code, test it against the requirements and check it for errors, bias and copyright issues before you use it. Then acknowledge the AI tool you used.# Code generated by ChatGPT, checked by meprint(average([2, 4, 6])) # expected: 4def average(nums):
return sum(nums) / len(nums)def average(nums):
if len(nums) == 0:
return 0tests = [(2, 3, 5), (0, 0, 0)]
for a, b, expected in tests:
print(add(a, b) == expected)