Practical question set
Practical question set
2025
School Code: 55882 Max. Marks: 30
Grade: XII Date: 06/01/2025
Subject: Computer Science Time: 3 Hrs.
Subject Code: 083
SET A
1. Write a python program to read a text file line by line and display each word separated by a # symbol. (8)
2. Write the MYSQL query for the following tables. (4)
Table: Stock
PNO P-Name D-Code Quantity U-Price Stock Date
P101 Pencil 102 100 10 2023-09-10
P102 Gel Pen 105 150 15 2023-10-20
P103 Scale 105 200 6 2023-08-15
P104 Sharpener 106 200 5 2023-07-01
P105 Ball point pen 106 300 10 2023-07-29
P106 Eraser 105 250 5 2023-08-10
(i) Display the total number of Quantity of all products whose Dcode is 105.
(ii) Display the details of stock whose Quantity is in the range 200 to 300( Both values included)
(iii) Add a new column Dealer_Name with varchar datatype.
(iv) Delete the column Stock Date from Stock table.
3. Record (7)
4. Project Report (8)
5. Viva (3)
______________________________________________________________________________________________
AISSCE PRACTICAL EXAMINATION 2024-
2025
School Code: 55882 Max. Marks: 30
Grade: XII Date: 06/01/2025
Subject: Computer Science Time: 3 Hrs.
Subject Code: 083
SET B
1. Write a python program to count the number of vowels, consonants, uppercase, lowercase and
other characters. (8)
2. Write the MYSQL query for the following tables (4)
Table : Student
3. Record (7)
4. Project Report (8)
5. Viva (3)
______________________________________________________________________________________________
AISSCE PRACTICAL EXAMINATION 2024-
2025
School Code: 55882 Max. Marks: 30
Grade: XII Date: 06/01/2025
Subject: Computer Science Time: 3 Hrs.
Subject Code: 083
SET C
1. Write a program in python to create menu driven and perform arithmetic operations. (8)
2. Write the MYSQL query for the following tables. (4)
Table: Books
(i) Display all First Publ. books name, Author name with its price.
(ii) Increase the price of all books of EPB publishers by 50.
(iii) Display the books name of Text type.
(iv) Display the book name and price from books in ascending order of their price.
3. Record (7)
4. Project Report (8)
5. Viva (3)
_____________________________________________________________________________________
AISSCE PRACTICAL EXAMINATION 2024-
2025
School Code: 55882 Max. Marks: 30
Grade: XII Date: 06/01/2025
Subject: Computer Science Time: 3 Hrs.
Subject Code: 083
SET D
1. Write a python program to generate random number. (8)
2. Write the MYSQL query for the following tables. (4)
Table : Flight
Table: Passenger
(i) Change the fare to 2000 of the flight whose FNO is F104.
(ii) Display the total number of male and female passengers.
(iii) Display the name, corresponding fare and f-Date of all passengers whose flight is start from
“Delhi”
(iv) Delete the records of flights which is end at “Mumbai”
6. Record (7)
7. Project Report (8)
8. Viva (3)
____________________________________________________________________________________________
AISSCE PRACTICAL EXAMINATION 2024-
2025
School Code: 55882 Max. Marks: 30
Grade: XII Date: 06/01/2025
Subject: Computer Science Time: 3 Hrs.
Subject Code: 083
SET E
1. Write a python program to remove all the lines that contain the character ‘a’ in that file and write
about lines into separate file. (8)
2. Write the MYSQL query for the following tables. (4)
Table: School
Table: Admin
3. Record (7)
4. Project Report (8)
5. Viva (3)
_______________________________________________________________________________________