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 | |
|---|---|---|
| 1password = "Tr0ub4dor&3" | AReal personal data was pasted into the prompt. Use a few fake sample rows instead, and check the tool's data policy first. | |
| 2name = "Sample User" | BA real password hard-coded in a script. Never paste this into an AI tool, as the prompt may be stored or used to train the model. | |
| 3Replace real customer details with fake sample data before asking an AI tool for help | CAnonymous sample data. It is safe to use in a prompt because it identifies no real person. | |
| 4Keep secrets such as API keys out of the code you paste, and load them from a safe place instead | DThe prompt contains a real password. Replace it with a placeholder such as "PASSWORD" before pasting. | |
| 5Prompt: Fix this code. db_password = "Sch00l#2024" | Eemail = "student@example.com" | |
| 6Prompt: Here is our client database export with real names and phone numbers. Find the bug. | Fapi_key = "YOUR_KEY_HERE" |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
confidential data — Private information like personal data, passwords or secret code. Never paste it into an AI tool, as it may be stored or used to train the model. Use fake sample data and check the data policy.import os
key = os.getenv("KEY")
print("Key is not in the prompt")# Fake data only: no real names or emails
name = "Student A"safe = text.replace("Ava", "Student A")if "password" in prompt:
print("Remove it before sending")if not fake:
print("Do not paste this into AI")