Home › Class 12 Computer Science › Chapter 6
Class 12 · Computer Science · Chapter 6
CSV Files: complete notes
Neat, exam-ready notebook-style notes for CSV Files, following your NCERT book. This chapter is part of the complete Complete Computer Science Notes for Class 12 (CBSE 083, 2026-27).
Board questions: CSV Files: CBSE previous year questions with solutions →
Free preview: CSV Files notes
A quick look at the chapter from our Class 12 Computer Science notes. The full chapter notes have the detailed explanations, diagrams and practice questions with answers.
Topics in this chapter ★★★ very important · ★★ important · ★ asked sometimes
- 6.1 CSV files ★
- 6.2 Writing a CSV file ★★★
- 6.3 Reading a CSV file ★★★
- Multiple choice: 20 MCQs
Last-night summary
- Write: open(name, 'w'/'a', newline='') → w = csv.writer(f) → w.writerow(list) / w.writerows(list of lists).
- Read: r = csv.reader(f) → for row in r (list of strings) or list(r); skip header with next(r) or [1:]; convert with int()/float().
What you get in the pack
- For CBSE Class 12 Computer Science (083), 2026-27: all three units (Python 40, Networks 10, Database 20 marks)
- All 14 chapters complete
- Every program and every output verified by actually running the code; SQL outputs checked on sample tables
- All NCERT exercises (Class XII, plus the Class XI Functions chapter) solved in full
- Every CBSE board question of 2024, 2025 and 2026 (Set 4, Q.P. code 91) solved chapter-wise as per the official marking scheme
- Network design case studies with cable-layout diagrams; SQL tables with worked outputs
- Practice sets, 20 MCQs and 6 Assertion-Reason questions with answers in every chapter, plus a last-night summary
- Single-column layout with clear code boxes, plus a print (B/W) version of every chapter
All chapters in this pack
- Python Revision Tour
- Functions
- Exception Handling
- File Handling: Text Files
- Binary Files (pickle)
- CSV Files
- Data Structure: Stack
- Networks I: Data Communication and Media
- Networks II: Devices, Topologies, Types
- Network Protocols and Web Services
- Database Concepts and the Relational Model
- SQL I: DDL, DML and Queries
- SQL II: Aggregates, GROUP BY, Joins
- Interface of Python with MySQL
