XII-CS_24-25 pract ques

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

AISSCE - PRACTICAL EXAMINATION (2024-25)

COMPUTER SCIENCE (083)


SCHOOL CODE : ROLL NO:
DATE : 03. 01 .2025 MAX.MARK: 30
Set-1
1) Write a python code to perform following Push() and Peek() stack operation
by using list. [8]
2) Write a query for following statements. [4]
Table : Product
S_No Pname Brand Qty Price
S1 Ice cream Ibaco 150 60.00
S2 Cake Britania 250 20.00
S3 Coffee Nestle 170 120.00
Dairy
S4 Chocolate 380 40.00
Milk
S5 Sauce Kissan 470 90.00
S6 Noodle Maggi 340 60.00
S7 Biscuit Britania 560 20.00
Questions:
1. Create database named “Store”.
2. To create a table named “Product” using the above table
description.
3. Insert all values to the table “Product”.
4. Write a command to display the structure of table.
3. Practical Report File [7]
4. Project [8]
5. Viva [3]
Total 30
AISSCE - PRACTICAL EXAMINATION (2024-25)
COMPUTER SCIENCE (083)
SCHOOL CODE : ROLL NO :
DATE : 03. 01 .2025 MAX.MARK : 30
Set-2
1. Write a python program by considering dvd.csv file, to create user define function
a) newcsv() to create a csv file and write 10 records in it as below format [8]
[Dvdid, dvd name, qty, price] .
b) display() to display those dvd details whose dvd price is more than 25.

3. Write a query for following statements. [4]


Table : Pets
Name Owner Species Sex Birth
Fluffy Harold Cat f 1993-02-04
Claws Gwen Cat m 1994-03-17
Buffy Harold Dog f NULL
Tricky Diane Dog m 1990-08-27
Bowser Benny Hamster f 1979-07-31
Chirpy Gwen Bird f 1996-04-29

Questions:
1. Display “name” and “species” from the table pets .
2. To display Name and owner of the species which has unknown date of birth.
3. List all unique species in table pets .
4. Write a query to display the name contains ‘y’ as the last alphabet.
3. Practical Report File [7]
4. Project [8]
5. Viva [3]
Total 30
AISSCE - PRACTICAL EXAMINATION (2024-25)
COMPUTER SCIENCE (083)
SCHOOL CODE : ROLL NO :
DATE : 03. 01 .2025 MAX.MARK : 30
Set-3
1. Write a Python program to find the frequency of ‘He’ or ‘She’ in a text ‘data.txt ‘ file
given below . [4]

2. Write a python program to perform arithmetic operation for an input values [4]

3. Write a query for following statements. [4]

Table : Pictures

No Movies Genre Rating Stars Qty Price


Gone with the
1 Drama G Gable 4 39.95
Wind
2 Friday Horror R Jason 2 69.95
3 Top Gun Drama PG Cruise 2 49.95
4 Splash Comedy PG Hanks 3 29.95
Independence
5 Drama R Turner 3 19.95
Day
6 Risky Business Comedy R Cruise 2 44.95
7 Cocoon Horror PG Ameche 2 31.95
8 Crocodile Dundee Comedy PG Harris 2 69.95
Questions:
1. Display all the movies sorted by QTY in ascending order.
2. Display the list of movies with PRICE more than 30.
3. To show all information about the movies of GENRE Drama.
4. To display number of movies rating wise from the table.
3. Practical Report File [7]
4. Project [8]
5. Viva [3]
Total 30

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy