27/07/2026
๐ SEE COMPUTER SCIENCE | CDC NEW CURRICULUM โ 2083
๐ Python CSV File Handling โ Practical Programs (Questions 6โ10)
This post includes complete Python programs based on the SEE Computer Science curriculum (CDC 2083), covering:
1. Write a Python program to create a CSV file named students.csv.
2. Write a Python program to create a CSV file named students.csv and write the header Name, Age, and Marks.
3. Write a Python program to create a CSV file named students.csv and write one student record with the following details:
Name Age Marks
Ram 15 90
4. Write a Python program to create a CSV file named students.csv and write the following student records using writerow().
Name Age Marks
Ram 15 90
Sita 16 88
Hari 15 95
5. Write a Python program to create a CSV file named students.csv and write the following student records using writerows().
Name Age Marks
Ram 15 90
Sita 16 88
Hari 15 95
6. Write a Python program to append the following student record to an existing CSV file named students.csv.
Name Age Marks
Gita 16 91
7. Write a Python program to append the following student records to an existing CSV file named students.csv using writerows().
Name Age Marks
Gita 16 91
Rita 15 89
8. Write a Python program to create a CSV file named employees.csv. Accept the details of 5 employees from the user using a for loop and store them in the file. The file should contain the columns ID, Name, and Salary.
9. Write a Python program to create a CSV file named books.csv. Accept the details of 3 books from the user using a for loop and store them in the file. The file should contain the columns Book ID, Book Name, and Price.
10. Write a Python program to create a CSV file named result.csv. Accept the details of 5 students (Name, Age, Marks) from the user using a for loop and store them in the CSV file.
๐ฏ These programs are perfect for:
โข SEE Class 10 students
โข Computer Science teachers
โข Practical exam preparation
โข Python beginners learning CSV file handling
๐ก Practice each program by typing it yourself instead of just reading it. The best way to learn programming is to write code, make mistakes, fix them, and repeat. That's how real understanding is built, despite humanity's recurring hope that staring at code long enough will magically install it into the brain.
๐ Save this post for revision.
๐ค Share it with your classmates and friends.
๐ฌ Follow for more SEE Computer Science notes, practical programs, model questions, viva questions, and exam-focused learning materials.