Review the diagram, then answer the MCQs before Practice.
Always prefer with so the file closes itself.
Teach with visuals, then verify with questions — same pattern as AI Workshop.
Answer all questions, then click Check answers. Use this before Practice in the editor.
Q1. Safest everyday pattern to open files?
Q2. Mode 'r' means…
Q3. Mode 'a' is for…
Q4. Why close files?