COMP
UTER SCIENCE PROJECT
ON
TITLE: __PRACTICLE FILE OF COMPUTER SCIENCE
SUBMITTED TO CBSE FOR THE FULLFILLMENT
OF AISSCE 2023-24
GUIDED BY:.
SUBMITTED BY :. Mr. Surender
Kumar Yadav Name:.RUDRA DOGRA & DIVYANSHU SHARMA
PGT COMPUTER SCIENCE Class:. XII B
Board Roll no:.
Python Codes
Program1:. Program to enter two number and print
the arithmetic operations like +,-,*,/,// & %
INPUT:.
OUTPUT:.
Program 2:. Write a program to find whether an inputted
number is perfect or not.
INPUT:.
OUTPUT:.
Program3:. Write a program to check if entered number
is Armstrong or not.
INPUT:.
OUTPUT:.
Program4:. Write a Program to find factorial pf the
entered number.
INPUT:.
OUTPUT:.
Program5:.Write a program to enter the number of
terms and to print the Fibonacci series.
INPUT:.
OUTPUT:.
Program6:.Write a program to enter the string and to
check if it’s palindrome or not using loop.
INPUT:.
OUTPUT:.
Program7:. Write a program to show the outputs based
on entered list.
INPUT:.
OUTPUT:.
Program8:. Write a Program to enter the number in list
using split() and to use all the functions related to list.
INPUT:.
OUTPUT:.
Program9:. Write a Program to enter the number and
print the floyd’s triangle in decreasing order.
INPUT:.
OUTPUT:.
Program10:. Write a program to find factorial of
entered number using user-defined module fact().
INPUT:.
OUTPUT:.
Program11:. Write a program to enter the number and
find linear search, binary search , lowest number &
Selection sort using list/array code.
INPUT:.
OUTPUT:.
Program12:.Write a program to read data from data
file and show data file handling related fuctions utility in
python.
INPUT:.
OUTPUT:.
Program13:. Write a Program to read data from data
file in append mode and use writeLines function untility in
python.
INPUT:.
OUTPUT:.
Program14: Write a program to read data from data file
in read mode and count the particular word occurances in
given string, number of times in python.
INPUT:.
OUTPUT:.
Program 15:. Write a program to display unique vowels
present in the given word using stack.
INPUT:.
OUTPUT:.
MySQL Codes
Question :. Perform all the operations with reference to
table ‘Employee’ through MySQL-Python connectivity.
INPUT:.
Inserting a record in ‘emp’
Fetching all the records from EMP table
having salary more than 70000:.
Updating record(s) of the table using
UPDATE:.
Deleting recor(s) from table using DELETE:.