Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 24

ST.

XAVIER’S HIGH SCHOOL


Computer Science- 083
REPORT FILE
Name - Nandika Agarwal
Class - 12th A
Roll No. – 18

Submitted To:
Ms. Bharti Yadav
INDEX
1. Replacing spaces with #
2. Counting no. of files in text file
3. Counting no. of words and no. of characters in
file
4. Counting how many sentences start with
particular character
5. Replacing India in small cases to capital
6. Counting no. of vowels in text file
7. Writing to binary file
8. Searching one student from roll no.
9. Appending record in binary file
10. Updating record in binary file
11. Storing student’s info and display it on the
basis of admission no.
12. Reading byte by byte from a file using seek()
and tell()
13. Bubble sort
14. Insertion sort
15. Factorial of a number
16. SQL codes
1.Replacing spaces with #

CODE

OUTPUT

2.Counting no. of files in text file


TEXT FILE

CODE

OUTPUT

3.Counting no. of words and no. of characters in file


TEXT FILE

CODE

OUTPUT

4.Counting how many sentences start with particular character


TEXT FILE

CODE

OUPUT

5.Replacing India in small cases to capital


TEXT FILE

CODE

OUPUT

6.Counting no. of vowels in text file


TEXT FILE

CODE

OUTPUT

7. Writing to binary file


CODE

OUTPUT

8. Searching one student from roll no.

CODE
OUTPUT

9.Appending record in binary file

CODE
OUPUT

10.Updating record in binary file

CODE
OUTPUT

11. Storing student’s info and display it on the basis of


admission no.
CODE
OUTPUT

12.Reading byte by byte from a file using seek() and tell()

TEXT FILE
CODE

OUTPUT

13. Bubble Sort


CODE
OUTPUT

14. Insertion Sort


CODE
OUTPUT
15.Factorial of a number
CODE

OUTPUT
SQL CODES
1.CODE:

OUTPUT:

2.CODE:
OUTPUT:

3.CODE:

OUTPUT:
4.CODE:

OUTPUT:

5. CODE:

OUTPUT:
6. CODE:

OUTPUT:

7. CODE:

OUTPUT:

8.CODE:
OUTPUT:

9.CODE:

OUTPUT:

10.CODE:

OUTPUT:

You might also like