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

Practical question set

Uploaded by

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

Practical question set

Uploaded by

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

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

Roll No Name Gender Age Department DOB Fees


1 Arun M 24 Computer 1997-01-10 1200
2 Amit M 21 History 1998-08-24 1000
3 Anu F 20 Hindi 1999-04-29 900
4 Deepam F 19 History 1999-10-10 1000
5 Dinesh M 22 Computer 1996-01-01 1200
6 Usha F 23 Computer 1996-10-10 1200

(i) Display the name of the students in descending order.


(ii) Display Roll no, Student‟s Name, Age and fees of Computer department students.
(iii) Count the number of students whose age is less than 20.
(iv) Display the name of students whose name is start with “A‟

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

Book Id Book Name Author Publishers Price Type Quantity


Name
C0001 Fast cook Lata EPB 355 Cookery 5
Kapoor
F0001 The Tears William Firsr Publ 650 Fiction 20
Hopkins
T0001 My First C++ Brain and EPB 350 Text 10
Brooke
T0002 C++ Brain A.W TDH 350 Text 15
works Rossaine
F0002 Thunderbolts Anna First Publ. 750 Fiction 50
Roberts

(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

FNO START END F-DATE FARE


F101 Mumbai Chennai 2024-12-25 4500
F102 Mumbai Bangalore 2024-11-20 4500
F103 Delhi Chennai 2024-12-10 550
F104 Kolkata Mumbai 2024-12-20 1000

Table: Passenger

PNO NAME GENDER FNO


1001 Suresh M F101
1002 Anita F F104
1003 Haridas M F102
1004 Nita F F103

(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

Code Teachername Subject DOJ Periods Experience


1001 Ravi English 12/03/2000 24 10
1009 Priya Physics 03/09/1998 26 12
1203 Lisa English 09/04/2000 27 5
1045 Yashraj Maths 24/08/2000 24 15
1123 Umesh Physics 11/05/1998 22 16

Table: Admin

Code Gender Designation


1001 M Vice principal
1009 F Co ordinator
1203 F Co ordinator
1045 M HOD
1123 M HOD

(i) Display the subject wise total no. of teachers.


(ii) Display the name and experience of teachers whose name starts from ‘P’ and ends ‘a’.
(iii) Add the following record in the school table
(1743,”Manoj”,”computer science”, 10/05/2004, 20, 6)
(iv) Display the subject and HOD of all departments.

3. Record (7)
4. Project Report (8)
5. Viva (3)
_______________________________________________________________________________________

You might also like