Download as pdf or txt
Download as pdf or txt
You are on page 1of 40

COMPUTER SCIENCE

PRACTICAL
FILE

Aarav Malik
XII-A
Computer Science
Content
Practical: 1
Creating a menu driven program to perform arithematic
operation

Code:
Output:
Run - 1

Run - 2
Practical: 2
Creating a python program to display fibonacci series.

Code:
Output:
Run - 1

Run - 2
Practical: 3
Creating a menu driven program to find factorial and sum
of list of numbers using fucntion.

Code:
Output:
Run - 1
Practical: 4
Creating a python program to implement mathematical
functions.

Code:
Output:
Run - 1
Practical: 5
Creating a python prgram to generate random numbers.

Code:
Output:
Run - 1
Practical: 6
Creating a python program to read a text file line by line
and display each word separated by '#'.

Code:
Output:
Run - 1
Practical: 7
Creating a pyhton program to read a text file and display
the number of vowels/consonents/lower_case/upper_case
characters
Code:
Output:
Run - 1
Practical: 8
Creating a python program to copy particular lines of a text
file into an anther text file.

Code:
Output:
Run - 1
Practical: 9
Creating a python program to create and search records in
binary file.

Code:
Output:
Run - 1
Practical: 10
Creating a python program to create and update/modify
records in binary file

Code:
Output:
Run - 1
Practical: 11
Creating a python program to create and search employee
record in csv file.

Code:
Output:
Run - 1
Practical: 12
Creating a python program to implement stack
operations.

Code:
Output:
Run - 1
Practical: 13
Creating a python program to integrate MYSQL with python
(inserting records and Display Records)

Code:
Output:
Run - 1

SQL Output
Practical: 14
Creating a python program to integrate MYSQL with python
(Searching and displaying records)

Code:
Output:
Run - 1

SQL Output
Practical: 15
Creating a python program to integrate MYSQL with python
(Updating Records)

Code:
Output:
Run - 1

SQL Output
Practical: 16
To write queris for the following questions based on the
given table:
Practical: 17
To write queris for the following questions based on the
given table:
Practical: 18
To write queris for the following questions based on the
given table:
Practical: 19
To write queris for the following questions based on the
given table:

You might also like