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

Main Document

Uploaded by

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

Main Document

Uploaded by

asims982
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

CENTRAL BOARD OF SECONDARY EDUCATION

Session – 2024-25

Computer Science (083)


Practical Assignment file
DEPARTMENT OF COMPUTER SCIENCE

Submitted to – Submitted by -
Mr.Asim Sharma _______________________
PGT-Computer Science Class – 12th

CERTIFICATE
This is to certify that ___________________________
student of Class XII, [Mother’s Pride Sr.Sec.School] has completed
the PRACTICAL FILE during the academic year 2024-25 towards partial
fulfillment of credit for the Computer Science practical evaluation of CBSE
and submitted satisfactory report, as compiled in the following pages, under
my supervision.

Internal Examiner External Examiner

ACKNOWLEDGEMENT
I wish to express my deep sense of gratitude and indebtedness to
our learned teacher Mr.Asim Sharma Sir PGT COMPUTER SCIENCE,
Mother’s Pride Sr.Sec.School for his invaluable help, advice and guidance
in the preparation of this project.

I am also greatly indebted to our principal Dr.Uma Tiwari Mam


and school authorities for providing me with the facilities and requisite
laboratory conditions for making this practical file.

I also extend my thanks to a number of teachers, my classmates


and friends who helped me to complete this practical file successfully.

_________________

Class - 12th
S_N Program List
O
Python Section -
1. Write the python program to find the factorial of any number using recursion.

2. Write a python program to accept username "Admin" as default


argument and password 123 entered by user to allow login into the system.

3. Write a python program to demonstrate the concept of variable length


argument to calculate product and power of the first 10 numbers.
4.
Write a program to calculate the nth term of fibonic series.
5.
Write a python program to check the given string is palindrome or not.
6.
Write a program to replace all spaces from text with - (dash) from the file
intro.txt.
7.
Write a program to know the cursor position and print the text according
to the below-given specifications:
a) Print the initial position
b) Move the cursor to 4th position
c) Display next 5 characters
d) Move cursor to next 10 characters
e) Print the current cursor position
8. f) Print next 10 characters from current position

Read a text file line by line and display each word separated by #.
9
Read a text file and display the number of vowels/ consonants/ uppercase/
lowercase characters in the file.
10.
Create a binary file with name and roll number. Search for a given roll
number and display the name, if not found display appropriate message.
11.
Write a program to create binary file to store Rollno, Name and Marks
12. and update marks of entered Rollno.
Write a program to read the content of the file line by line it to another file
13.
except for the lines contains ‘a’ letter in it.
Write a random number generator that generates random numbers
14. between 1 and 6 (simulates a dice).
Write a Python program to implement a stack and queue using a list
15.
data-structure.
Create a CSV file by Entering user id and password, read and search the
password for given user id.
My-SQL Section
S.No Query list
1. (a) Create Databases (b)Use Database (c)Create Table:-Student (d)Insert Query

2. (a) Select command (b) Alter Command (Add Attribute)


(c) Alter -Drop Attribute
3. (a) Alter command (b) Update Command (c) Order by Command
4. (a) Delete Command (b) Aggregation Function
(c) Join Two Table
5. Write a python MY-SQL connectivity to perform - >

(a) Create a Table Student (b) Add a new column Marks.


(c) Display the Structure of table
6.
Write a python database connectivity program that performs the all operation
on a table student through a menu driven concept.
7.
To display the details of student using following ways:-

1. Order by marks of student.


2. Display city and marks according to marks.
3. Find the min,max,sum,count and average according to marks.
8.
Modify the above program and display the customer details based on the following menu :

1. Display customer details by city


2. Display customer details by bill amount
3. Display customer details by name
4. Display customer details by category

You might also like