Practical Set A 2025
Practical Set A 2025
AISSCE-2024-2025
Subject: Computer Science
Subject code:083
Class: XII
Date:05-02-2025 School Code:60176
Set-A
Maximum Marks: 30
Q-1(a) Write a menu drive program to python to implement stack using a list and
perform the following functions: (8)
1. Push
2. Pop
3. Display
4. Exit
b) Consider the tables books and issue write SQL command for given statements: (4)
Table: BOOKS
BID BNAME AUNAME PRICE TYPE QTY
COMP11 LET US C YASHWANT 350 COMPUTER 15
GEOG33 INDIA MAP RANJEET P 150 GEOGRAPHY 20
HIST66 HISTORY R BALA 210 HISTORY 25
COMP12 MY FIRST C VINOD DUA 330 COMPUTER 18
LITR88 MY DREAMS ARVIND AD 470 NOBEL 24
Table: ISSUED
BID QTY_ISSUED
HIST66 10
COMP11 5
LITR88 15
(i) Write command to add primary key and foreign key in tables using alter.
(ii) Increase the price of all computer books by 70
(iii) Display the book id, book name and quantity issued for all books which have been
issued.
(iv)Display the book id, book name, author name, quantity issued for all books which
price are 200 to 400.
Q-3 Practical report file (7)
Q-4 Project (8)
Q-5 Viva (3)