| Question No | Title | Type | Marks |
|---|---|---|---|
| 472. | What is a generator? | MCQ | 5 |
| 473. | How is a generator function different from a regular function? | MCQ | 5 |
| 474. | How can you create a generator object? | MCQ | 5 |
| 475. | What happens when a generator function encounters theyieldkeyword? | MCQ | 5 |
| 476. | What is the primary advantage of using generators? | MCQ | 5 |