# Quiz — Session 3: The language of machines 🟢

**Program:** Applied AI — Beginner Level · Instructor: Yann Isola
**10 questions · only one correct answer per question · corrected at the end of the document**

---

**Q1. When you send a message to an AI, what does it actually “see”?**

- A. Your words, exactly as you wrote them
- B. A sequence of numbers corresponding to pieces of text
- C. An image of your screen
- D. The sound of your voice

---

**Q2. What is a token?**

- A. A virtual coin to pay the AI
- B. A security password
- C. A piece of text (whole word, part of a word or punctuation) that the AI processes at once
- D. The name of the robot that answers the questions

---

**Q3. The word “today” will probably be cut by AI into…**

- A. A single token, like all words
- B. Several tokens, for example `aujourd` + `'` + `hui`
- C. Twenty-six tokens, one per letter of the alphabet
- D. Zero token: the AI ignores words with apostrophe

---

**Q4. Why does the AI cut words into pieces instead of numbering each word in the dictionary?**

- A. Because the pieces recombine like LEGOs and allow you to manage even never-before-seen words
- B. Because computers don't like long words
- C. To make responses slower and more thoughtful
- D. Because it is an international law

---

**Q5. An embedding is the idea of…**

- A. Hide secret messages in text
- B. Transform each word into coordinates, where words close in meaning are close on the map
- C. Compress the text so that it takes up less space
- D. Automatically translate text into English

---

**Q6. In the famous “word equation”, king − man + woman gives a result close to…**

- A. Castle
-B.Prince
- C. Queen
- D. Crown

---

**Q7. The context window of an AI is…**

- A. The small chat window on the screen
- B. Her working memory: everything she can “keep in mind” at once, measured in tokens
- C. His infinite memory of all the conversations in the world
- D. The time she takes to respond

---

**Q8. Your conversation with the AI ​​becomes very, very long. What is likely to happen?**

- A. AI is getting smarter and smarter
- B. The AI can “forget” what was said at the beginning, because it goes out of its context window
- C. The computer explodes
- D. Nothing, the AI remembers everything forever

---

**Q9. The AI ​​gives you a book with its title, its author and its date... but this book does not exist. What is this phenomenon called, and why does it occur?**

- A. A screen bug: just restart the computer
- B. A lie: the AI wants to deceive you on purpose
- C. A hallucination: the AI produces the most *plausible* text, not necessarily the most *true*
- D. A computer virus caught on the Internet

---

**Q10. You want AI to accurately translate an important document. What temperature is best?**

- A. Low temperature, for reliable and predictable responses
- B. A very high temperature, for a translation full of surprises
- C. Temperature does not exist for AI
- D. 37.2 °C, like the human body

---

---

## ✅ Answer key and explanations

| # | Answer | Quick explainer |
|---|---------|-------------------|
| Q1 | **B** | The AI ​​never sees your letters: the text is converted into token numbers before any calculation.|
| Q2 | **C** | A token = a block of text. Sometimes a whole word (“cat”), sometimes a piece (“intelli” + “gence”), sometimes punctuation. |
| Q3 | **B** | Compound words or words with an apostrophe are often split into several tokens. ⚠ The exact cutting varies depending on the model. |
| Q4 | **A** | Impossible to number all the possible forms (conjugations, plurals, invented words). The pieces recombine endlessly. |
| Q5 | **B** | Embedding = direction coordinates. “Cat” and “dog” are neighbors on the map; “cat” and “bill” are far away. |
| Q6 | **C** | The direction “masculine → feminine” is an arrow on the map: king − man + woman ≈ queen. 👑 |
| Q7 | **B** | This is its working memory, limited and measured in tokens. Large, but not infinite. |
| Q8 | **B** | What comes out of the window is forgotten - like a leaf that falls from an overly full table. |
| Q9 | **C** | The AI ​​calculates the most probable sequence, not the truest one. No intention to deceive: it's a hallucination, and it's true! |
| Q10 | **A** | Precision task = low temperature. Creativity (high temperature) is for brainstorming and poetry. |

**Suggested scale:** 1 point per correct answer.
- 9–10: 🏆 Elite tokenizer — the machine no longer has any secrets for you
- 7–8: 🥈 Very solid — some tokens to consolidate
- 5–6: 🥉 Good basis — reread the context window and hallucinations parts
- < 5: 🔁 Let's take another look at the interactive page and here we go again!