0% found this document useful (0 votes)
31 views26 pages

Front Page f5132150

This document contains a practical file submission for a computer science project. It includes 14 Python programs covering topics like arithmetic operations, checking if a number is perfect or Armstrong, Fibonacci series, checking palindromes using loops, working with lists, Floyd's triangle, and more. It also includes one question on performing CRUD operations on an MySQL 'Employee' table using Python connectivity. The file was submitted by Rudra Dogra and Divyansh Sharma to fulfill their Class 12 board requirements, guided by their computer science teacher Mr. Surender Kumar Yadav.

Uploaded by

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

Front Page f5132150

This document contains a practical file submission for a computer science project. It includes 14 Python programs covering topics like arithmetic operations, checking if a number is perfect or Armstrong, Fibonacci series, checking palindromes using loops, working with lists, Floyd's triangle, and more. It also includes one question on performing CRUD operations on an MySQL 'Employee' table using Python connectivity. The file was submitted by Rudra Dogra and Divyansh Sharma to fulfill their Class 12 board requirements, guided by their computer science teacher Mr. Surender Kumar Yadav.

Uploaded by

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

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:.

You might also like