You are on page 1of 71

VIDYA WORLD

SCHOOL
Project file
Submitted to
C.B.S.E. in partial fulfillment of the requirements for
The 2023-24 Board practical examination.

Under guidance of Submitted by


Mr. Ankit sir Yashika chauhan
XII PCM
CERTIFICATE

It is to be certified that the ‘Practical Record’ submitted by


Yashika chauhan class12 th for the 2023-24 C.B.S.E. Board
Practical Examination in computer science, embodies the
original work done by the candidate. The candidate carried out
her work sincerely.
We have carefully gone through the contents of the project &
are fully satisfied with the work carried out by her.
It is further certified that the candidate has completed all the
prescribed requirements governing syllabus of C.B.S.E. sec
board.

Signature Signature
Mr. Ankit sir Dr. Youhan Konwar
principal
acknowledgement

In the ‘odyssey’ of ‘life’ the reverie to subjugate the zenith of


goal to many known & unknown hands obtrude me learnt souls
put be on right path & enlightened with their knowledge &
experience. I shall ever remain grateful to them. Words are
inadequate to express my sincere & deepest sense of gratitude to
my guide & teacher ANKIT SIR for his benevolent guidance,
constructive counsel, & meticulous supervision, constant
inspirations & wholehearted encouragement throughout the year.

At last I shall heartily thank to my parents & teachers for their


love, care, concern & lots of inspirations

Yashika Chauhan
Class XII
VIDYAA WORLD SCHOOL

INDEX
s.no. Program remarks
1 Write a Program to find
factorial of the entered
number.
2 Find the largest/smallest
number in a list/tuple.
3 Wap to store students
detail in a dictionary and
display on the basis of
admission no.
4 wap to enter no. And
print Fibonacci series.

5 Wap to enter string and


check if its palindrome or
not using loop.
6 Wap to read data from
data file and show data
file.
7 wap to read data from
data file in append mode.

8 wap to read data from


data file in append mode.

9 Wap to read data from


data file in read and
append mode.
10 Wap to perform basic
arithmetic operatons.
11 Wap to read and display
the no. of
vowels/consonants etc.
12 Create a binary file with
name and roll no.
13 Create a binary file with
roll number, name and
marks. Input a roll
number and update
details.
14 Write a program to
perform read and write
operation onto a
student.csv file having
fields as roll number,
name, stream and
percentage.
15 Program to search the
record of a particular
student from CSV file on
the basis of inputted
name.
16 Consider the following
tables MobileMaster and
MobileStock to write the
following queries
17 Consider the following
tables TRAINER and
COURSE to write the
following queries
18 Consider the following
tables FACULTY and
COURSE to write the
following queries
19 Consider the following
tables WATCHES and
SALES to write the
following queries.
20 Consider the following
table STUDENT to write
the following queries
21 Consider the following
table STUDENT to write
the following queries
22 Write a python database
connectivity script that
deletes records from
category table of
database items that have
name= ‘stockable’
23 Write a python database
connectivity script that
perform the updation of
any records in database.
24 Write a python database
connectivity script that
perform the updation of
any records in database.
1)Write a Program to find factorial of the entered number

Example -

num = int(input("Enter a number: "))


factorial = 1
if num < 0:
print(" Factorial does not exist for negative numbers")
elif num == 0:
print("The factorial of 0 is 1")

Output:
Enter a number: 10
The factorial of 10 is 3628800

_____________
2) Find the largest/smallest number in a list/tuple.

# list of numbers
list1 = [7, 10, 12, 3, 100, 95]
# sorting the list
list1.sort()
# printing the first element
print("Smallest element is:", list1[:1])

Output:

('Smallest element is:', [3])

You might also like