0% found this document useful (0 votes)
63 views

Practical File

This document outlines 19 Python programming practical assignments completed by Aarav Malik for his 12th grade Computer Science course. The practicals involve creating programs to perform arithmetic operations, display the Fibonacci series, implement functions, generate random numbers, read and manipulate text files, implement binary and CSV files, implement stack operations, and integrate Python with MySQL to insert, search, display, and update records in databases. For each practical, the code and sample outputs are listed.

Uploaded by

Mehul Jindal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views

Practical File

This document outlines 19 Python programming practical assignments completed by Aarav Malik for his 12th grade Computer Science course. The practicals involve creating programs to perform arithmetic operations, display the Fibonacci series, implement functions, generate random numbers, read and manipulate text files, implement binary and CSV files, implement stack operations, and integrate Python with MySQL to insert, search, display, and update records in databases. For each practical, the code and sample outputs are listed.

Uploaded by

Mehul Jindal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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