Gen AI Quiz
Check what you learned in the Gen AI tutorial with these questions.
Before You Start
Here is a quick summary of the key ideas:
| Idea | One-line meaning |
|---|---|
| Generative AI | AI that creates new content from a prompt |
| Diffusion | Turning noise into an image step by step |
| Token | A small chunk of text the model reads and writes |
| Context window | How many tokens the model can consider at once |
| Temperature | How predictable or creative the output is |
| Hallucination | A confident but false answer |
A reminder of the generation loop in code:
Example
words = ["Gen", "AI", "writes", "one", "token", "at", "a", "time"]
sentence = ""
for w in words:
sentence += w + " "
print(sentence.strip())Gen AI writes one token at a time
And a grounded prompt that reduces hallucinations:
Example
Use only the text below. If the answer is missing, say "Not in the text."Questions
Exercise
What is a prompt?
Exercise
Most modern image generators are based on which method?
Exercise
What is a deepfake?
Exercise
Roughly how many characters of English text make one token?
Exercise
Why might a chatbot "forget" instructions in a very long conversation?
Exercise
Which setting is best for extracting exact data from an invoice?
Exercise
An AI gives you a research paper title and author for your assignment. What should you do?
Exercise
Which is NOT a responsible use of Gen AI?
