CSV FILES PROJECT DATA FILE HANDLING 12 CS DISPLAY, SEARCH, CALCULATE, MENU DRIVEN PROGRAM

Опубликовано: 29 Июль 2026
на канале: NANDINI DAS
2,913
31

DATA FILE HANDLING
File handling: Need for a data file, Types of file: Text files, Binary files and CSV (Comma separated values) files.
● Text File: Basic operations on a text file: Open (filename – absolute or relative path, mode) / Close a text file, Reading and Manipulation of data from a text file, Appending data into a text file, standard input / output and error streams, relative and absolute paths.
f.read(), f.read().split(), f.readline(), f.readlines()
   • TEXT FILE | COPY FROM ONE FILE TO OTHER IN...  
● Binary File: Basic operations on a binary file: Open (filename –absolute or relative path, mode) / Close a binary file, Pickle Module –methods load and dump; Read, Write/Create, Search, Append and Update operations in a binary file.
● CSV File: Import csv module, functions – Open / Close a csv file, Read from a csv file and Write into a csv file using csv.reader ( ) and csv.writerow( ).
COMPUTER SCIENCE CLASS 12 FILE HANDLING
TEXT FILE-    • 12 COMPUTER SCIENCE CBSE PRACTICAL 1 Seper...  
   • 12 COMPUTER SCIENCE CBSE PRACTICAL NO 2 CO...  
BINARY FILES-    • BINARY FILE || 12 COMPUTER SCIENCE CBSE PR...  
UPDATE IN BINARY FILE-    • UPDATE IN BINARY FILE | CLASS 12 COMPUTER ...  
DELETE IN BINARY FILE-    • DELETE IN BINARY FILE || CLASS 12 COMPUTER...  
INVENTORY MANAGEMENT SYSTEM-    • INVENTORY MANAGEMENT SYSTEM || CLASS 12 CO...  
CSV FILES-    • CSV FILES || CLASS 12 COMPUTER SCIENCE AND...  
AISSCE PRACTICAL EXAM 2021
BANK MANAGEMENT USING CSV FILES-    • CSV FILE|| BANK MANAGEMENT SYSTEM || PYTHO...  
PRACTICAL LIST as per CBSE curriculum
PYTHON PROGRAMS
Read a text file line by line and display each word separated by a #.
Read a text file and display the number of vowels/ consonants/uppercase/ lowercase characters in the file.
Create a binary file with name and roll number. Search for a given roll number and display the name, if not found display appropriate message.
Create a binary file with roll number, name and marks. Input a roll number and update the marks.
Remove all the lines that contain the character `a' in a file and write it to another file.