Session 1 · Generative AI: Foundations and Applications · TCE — 50 minutes · pairs (both partners run everything) · Goal: your code talks to a frontier AI model.
Runs entirely in your browser (Google Colab). Any laptop or lab PC works — nothing to install, no GPU, no payment. See
ZERO-SETUP.
AI coding assistants (Copilot, ChatGPT, Gemini) are allowed and encouraged in every lab. One rule: your eval set judges their code too.
Stuck after 5 minutes (college account blocked, phone verification loop)? Take a spare key from the instructor and create your own at home tonight.
session_1_lab.ipynb).✓ Checkpoint 1: the notebook prints a response written by Gemini. Read it out loud to your partner.
Run each prompt in Cell 4 (one function call each). After each, write one line in the notebook's observation cell: what was good, what was off?
| # | Skill | Prompt |
|---|---|---|
| 1 | Explain | "Explain how UPI works to a 10-year-old, in 5 sentences." |
| 2 | Summarize | "Summarize the plot of Ponniyin Selvan in exactly 3 bullet points." |
| 3 | Translate | "Translate to formal Tamil: 'The exam has been postponed to next Monday.'" |
| 4 | Extract | "Extract name, degree, year as JSON from: 'Hi, I'm Priya, third year BE CSE at TCE.'" |
| 5 | Roleplay | "You are a strict interviewer at a product company. Ask me one DSA question, wait for my answer." |
✓ Checkpoint 2: all 5 ran; you wrote 5 one-line observations.
Pick one prompt from Part C (or write your own). Run the same text on:
Fill this table (also in the notebook):
| Gemini | ChatGPT | Third model | |
|---|---|---|---|
| Length / format | |||
| Tone / personality | |||
| Accuracy issues? | |||
| Which would you ship to a user? |
✓ Checkpoint 3 (show instructor): your printed Gemini response + the one difference that surprised you most.
Sessions run back-to-back, so do this now, before the break:
Pick one subject you know cold — DSA, cricket stats, Tamil cinema, Ilaiyaraaja discography, your hometown, anything. In a text file, write 10 questions with their correct answers. Keep it open — this is your ammunition for Session 2's lie-detector lab, where you'll measure how often the AI gets your subject right.
temperature=0.0 three times, then temperature=1.5 three times. What changed?Day 2 starts with "chat with your own notes" (RAG). Put 2–3 documents you actually care about on your laptop or Drive: lecture notes, a textbook chapter PDF, your own study notes. Your Day 2 apps are only as interesting as the documents you bring.