file open modeswith clauseread methodswrite methodsseek() and tell()
Board Notes for Students
File Handling - Text File
Open modes: r, r+, w, w+, a, a+. with clause. write(), writelines(). read(), readline(), readlines(). seek() and tell(). Manipulation of text file data.
PYQ INSIGHT: This topic has appeared 11 times across 6 papers, carrying ~23 marks. Weightage in analysed papers: 4.3%.
High-yield concepts: file open modes, with clause, read methods, write methods, seek() and tell().
Homework
1. Solve 5 previous-year questions on File Handling - Text File.
2. Prepare a 1-page formula / syntax cheat sheet.
Teaching Ideas
Moderate frequency – use a worked example + one practice problem. Highlight the exam pattern seen in PYQs.