0% found this document useful (0 votes)
4 views5 pages

CS Project 2

The document is a computer science project by Rajdeep Swarnakar from Aditya Academy, detailing various programming tasks related to file handling and data management. It includes an index of ten tasks, such as creating files, reading file contents, and writing student data to files. Each task is assigned a page number for easy reference.

Uploaded by

ayushseal015
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views5 pages

CS Project 2

The document is a computer science project by Rajdeep Swarnakar from Aditya Academy, detailing various programming tasks related to file handling and data management. It includes an index of ten tasks, such as creating files, reading file contents, and writing student data to files. Each task is assigned a page number for easy reference.

Uploaded by

ayushseal015
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

ADITYA ACADEMY

SECONDARY

COMPUTER SCIENCE PROJECT

Name –Rajdeep Swarnakar


Class –XII
Sec –H
Roll No - 50
INDEX
TOPIC Page
SL.NO
NO.
1 Create a file to hold some data 1
2 Create a file to hold some data, separated as lines. 3
3 Write a program to read a file’s entire content. 5
4 Write a program to read a complete file in a list. 7
5 Write a program to display the size of a file after 9
removing EOL characters leading and trailing
white spaces and blank lines.

6 Write a program to get roll numbers, names and 11


marks of the students of a class (get from user)
and store these in a file called “Marks.txt”.

7 Write a program to a binary file called emp.dat 13


and write into employee details of some
employees, available in the form of dictionaries.
Q.8. Write a program with function called absolute that
8 takes one parameter(x) and returns absolute value of x.
15
9 Create a binary file namely myfile.info and write a 17
string having wo lines in it.

10 Write a program to get student data (roll no, name 19
and marks) from user and write onto a binary file.
The program should be able to get data from user
andu write onto the file as the user wants.
Q.8. Write a program with function called absolute that takes one parameter(x) and
returns absolute value of x.
Output:-

You might also like