Visitorid Visitorname Gender Comingfrom Amountpaid

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

School Code:-70977

AISSCE (XII) 2021-22


Subject: Computer Science (083) Set-I
Practical Exam Paper

Time: 3 hrs. MM: 15

Q1.Write a Python program to implement stack operations using List. [2]

Q2. Write SQL Queries for a) to c) and write output for d) to e) based on the following table [4]

Table: Visitor
VisitorID VisitorName Gender ComingFrom AmountPaid
1 Suman F Kanpur 2500
2 Indu F Lucknow 3000
3 Rachana F Varanasi 2000
4 Vikram M Kanpur 4000
5 Rajesh M Kanpur 3000
6 Suresh M Prayagraj 3600
7 Dinesh M Lucknow 4200
8 Shikha F Varanasi 5000

a) Write a query to display VisitorName, ComingFrom details of Female visitor with amount paid
more than 3000.

b) To display all ComingFrom location uniquely.

c) To display all details of visitors in order of their AmountPaid from highest to lowest.

d) SELECT VisitorName FROM Visitor WHERE Gender=’M’;

e) SELECT SUM(AmountPaid) FROM Visitor WHERE ComingFrom=”Kanpur”;

Q3. Lab File. [3]

Q4. Project File [5]

Q5. Viva-Voce. [1]

Sign:- …………………… Sign:- ……………………

(Internal Examiner) (External Examiner)


School Code:-70977
AISSCE (XII) 2021-22
Subject: Computer Science (083) Set-II
Practical Exam Paper

Time: 3 hrs. MM: 15

Q1. Write a Python program to implement stack operations using List. [2]

Q2.Write SQL Queries for i) to iii) and write output for iv) to v) based on the following table [4]

Table: STUDENT
SNO NAME STREAM FEES AGE SEX

1 VARUN SINGH COMPUTER 750 17 M


2 DIVYA GUPTA COMPUTER 750 18 F
3 AKRITI SINGH BIOLOGY 500 16 M
4 HARISH SINGH ACCOUNTANCY 350 18 M
5 PRACHI VERMA ECONOMICS 300 19 F
6 NISHA ARORA COMPUTER 750 15 F
7 DEEPAK KUMAR ECONOMICS 300 16 M
8 SARIKA VASWANI BIOLOGY 500 15 F

(i) List the name of all the students who have taken stream as COMPUTER.
(ii) To count the number of female students.
(iii) To display all the records in sorted order of name.
(iv) SELECT COUNT (DISTINCT STREAM) FROM STUDENT;
(v) SELECT SUM(FEES) FROM STUDENT GROUP BY STREAM;

Q3. Lab File. [3]

Q4. Project File [5]

Q5. Viva-Voce. [1]

Sign:- …………………… Sign:- ……………………

(Internal Examiner) (External Examiner)

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