0% found this document useful (0 votes)
32 views5 pages

Xii Cs Pract 25

Uploaded by

Tanuja Pawar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views5 pages

Xii Cs Pract 25

Uploaded by

Tanuja Pawar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

A.I.S.S.C.

E (PRACTICAL EXAMINATION – (2024-2025)


CLASS: XII DATE: / /2025
TIME: 3 HR MAX MARKS: 30

Set 4

Q 1: a) Write a python program using function, where arr is a stack implemented by


a 6
list of numbers. Show result to Examiner. After successful execution of program
write program and output in your Answer Sheet.
MENU
1: PUSH
2: SHOW
3: EXIT
b) Write a program to count number of lines from stud.txt 2

Q 2: a) Write SQL queries based on following Table 4

(i) Add a primary key to a column name Vcode.


(ii) Increase the charges of all the cabs by 10%.
(iii) Delete all the cabs whose maker name is ‘Carus’

b) Write output for following SQL Commands


(i) select VName, make,charges from Rent_cab where VName like ‘%m%’;
(ii) select Color, sum (Charges) from Rent_cab group by Color;

Q.3: Report File 7

Q 4: Project 8

Q.5: Viva 3
A.I.S.S.C.E (PRACTICAL EXAMINATION – (2024-2025)
CLASS: XII DATE: / /2025
TIME: 3 HR MAX MARKS: 30

Set 2
Q.1) a) Write a python program to push 5 strings which do not include vowel and
pop
the stack 6
b) Write a python code that accepts a filename, and copies all lines that do not
start
with a lowercase letter from the first file into the second.
2
Q.2) a) Consider the table GAMES and PLYAERS. 4
Write SQL queries for (i) to (iv)

(i) Display the game type and average number of games played in each type.
(ii) Display prize money, name of the game and name of the players from the tables Games and Players
(iii) Display the types of games without repetition
(iv) Display the name of the game and prize money of those games whose prize money is known.

Q.3: Report File 7


Q 4: Project 8
Q.5: Viva 3
A.I.S.S.C.E (PRACTICAL EXAMINATION – (2024-2025)
CLASS: XII DATE: / /2025
TIME: 3 HR MAX MARKS: 30

Set 1
Q.1) Write a python program using function, where arr is a stack implemented by a
list 6
of string. Show result to Examiner. After successful execution of program
write program and output in your Answer Sheet.
MENU
1: PUSH
2: SHOW
3: EXIT
b) Write a python code to count vowels from text file abc.txt
2
Q.2) a) Consider the following DEPT and WORKER tables. 4
Write SQL queries for (i) to (iii) and find outputs for SQL queries (iv) to (v):

(i) Display minimum and maximum price from table computer.


(ii) Display number of companies with company name whose count is more than 1
(iii) Display product name, quantity sold for INPUT type.
(iv) Display product name, company, and quarter

Q.3: Report File 7


Q 4: Project 8
Q.5: Viva 3
A.I.S.S.C.E (PRACTICAL EXAMINATION – (2024-2025)
CLASS: XII DATE: / /2025
TIME: 3 HR MAX MARKS: 30
Set 3
Q.1) a) Write a python program to create stack “sport_stack” to store age of sportsman 6
using stack implementation as list. Write operation for push, pop and display. Show result to
Examiner. After successful execution of program, write program and output in your Answer
Sheet.
MENU
1: PUSH
2: POP
3: DISPLAY
b) Write a Python code to display line starting with ‘P’ from abc.txt. 2
Q.2) a) Consider the following DEPT and WORKER tables. 4
Write SQL queries for (i) to (iii) and find outputs for SQL queries (iv) to (v):

(i) To display the NAME of all the FEMALE workers from the table WORKER.
(ii) To display the WNO and NAME of those workers from the table WORKER, who are born between
‘1987-01-01’ and ‘1991-12-01’.
(iii) To count and display MALE workers who have joined after ‘1986-01-01’

b) Write output for following SQL Commands


(iv) SELECT DISTINCT DEPARTMENT FROM DEPT;
(v) SELECT NAME, DEPARTMENT, CITY FROM WORKER W, DEPT D
WHERE W. DC0DE=D.DCODE AND WNO<1003;

You might also like