0% found this document useful (0 votes)
16 views8 pages

Exam Prac CS

The document outlines the requirements for a practical examination in Computer Science including two lab tests. The first lab test involves creating a Python program to analyze a text file and count vowels, consonants, lowercase and uppercase letters. The second lab test involves writing SQL queries on tables containing stationary item and dealer data. Students are evaluated based on their Python program, SQL queries, report file, project, and viva voce. Marks are awarded out of a total of 30.
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)
16 views8 pages

Exam Prac CS

The document outlines the requirements for a practical examination in Computer Science including two lab tests. The first lab test involves creating a Python program to analyze a text file and count vowels, consonants, lowercase and uppercase letters. The second lab test involves writing SQL queries on tables containing stationary item and dealer data. Students are evaluated based on their Python program, SQL queries, report file, project, and viva voce. Marks are awarded out of a total of 30.
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/ 8

SET-A

AISSCE PRACTICAL EXAMINATION 2023-24


SCHOOL CODE: 55191 TOTAL MARKS: 30
SUBJECT & CODE : COMPUTER SCIENCE (083) DURATION : 3 Hrs
______________________________________________________________________________________

LAB TEST :
1. Create a menu driven program in Python using Pickle library and 8
• Create a binary file with following structure
 Employee name
 Employee no
 Employee salary
• Display the contents of the binary file.

2. Consider the following tables STOCK and DEALERS. Write SQL commands for 4
the statements (i) to (iv)

TABLE: STOCK
ITEMNO ITEM DCODE QTY UNITPRICE
5005 BALL PEN 0.5 102 100 16
5003 BALL PEN 0.25 102 150 20
5002 GEL PEN PREMIUM 101 125 14
5006 GEL PEN CLASSIC 101 200 22
5001 ERASER SMALL 102 210 5
5004 ERASER BIG 102 60 10
5009 SHARPENER 103 160 8
CLASSIC

TABLE : DEALERS
DCODE DNAME
101 RELIABLE STATIONERS
103 CLASSIC PLASTICS
102 CLEAR DEALS

(i) To display the details of all Items in the STOCK table in ascending order of
itemno.
(ii) To display ItemNo and Item name of those items from STOCK table whose
UnitPrice is more than Rupees 10.
(iii) To display the details of those items whose dealer code (Dcode) is 102 or
quantity in STOCK (Qty) is more than 100 from the table Stock.
(iv) To display maximum UnitPrice of items for each dealer individually as per
Dcode from the table STOCK.
Marks Scored Max Marks

Python Program 8

SQL Queries 4

Report File 7

Project 8

Viva Voce 3

Total 30

Internal Examiner External Examiner

Name : ______________________ Name : ______________________

Sign : ______________________ Sign : ______________________

Examiner no. :________________ Examiner no. :________________

SET-B
AISSCE PRACTICAL EXAMINATION 2023-24
SCHOOL CODE: 55191 TOTAL MARKS: 30
SUBJECT & CODE :COMPUTER SCIENCE (083) DURATION : 3 Hrs
______________________________________________________________________________________

LAB TEST :
1. Create a Python based Stack Program on implementation of stack using list data 8
structure.
 Push a stack
 Pop a stack
 Display a stack
2. Consider the following tables PRODUCTS and SUPPLIERS. Write SQL 4
commands for the statements (i) to (iv)

TABLE : PRODUCTS
PID PNAME QTY PRICE COMPANY SUPCOD
E
101 DIGITAL CAMERA 120 12000 RENBIX S01
14X
102 DIGITAL PAD 11i 100 22000 DIGI POP S02
104 PEN DRIVE 16 GB 500 1100 STOREKING S01
106 LED SCREEN 32 70 28000 DISPEXPERT S02
S
105 CAR GPS SYSTEM 60 12000 MOVEON S03

TABLE :SUPPLIERS
SUPCOD SNAME CITY
E
S01 GET ALL INC KOLKATA
S03 EASY MARKET CORP DELHI
S02 DIGI BUSY GROUP CHENNAI
(i) To display the details of all the products in ascending order of product names
(i.e., PNAME).
(ii) To display the price, product name and quantity (i.e., qty) of those products
which have quantity more then 100.
(iii) To display the names of those suppliers, who are either from DELHI or from
CHENNAI.
(iv) To display the name of the companies and the name of the products in
descending order of company names.
Marks Scored Max Marks

Python Program 8

SQL Queries 4

Report File 7

Project 8

Viva Voce 3

Total 30

Internal Examiner External Examiner

Name : ______________________ Name : ______________________

Sign : ______________________ Sign : ______________________

Examiner no. :________________ Examiner no. :________________


SET-C

AISSCE PRACTICAL EXAMINATION 2023-24


SCHOOL CODE: 55191 TOTAL MARKS: 30
SUBJECT & CODE : COMPUTER SCIENCE (083) DURATION : 3 Hrs
______________________________________________________________________________________

LAB TEST :
1. Create a Python program to read a text file and display. 8
 Vowels
 Consonants
 Lowercase
 Uppercase

2. Consider the following tables STATIONARY and DEALERS. Write SQL 4


commands for the statements (i) to (iv)

TABLE: STATIONARY
ITEMNO ITEM DCODE QTY UNITPRICE
5005 BALL PEN 0.5 102 100 16
5003 BALL PEN 0.25 102 150 20
5002 GEL PEN PREMIUM 101 125 14
5006 GEL PEN CLASSIC 101 200 22
5001 ERASER SMALL 102 210 5
5004 ERASER BIG 102 60 10
5009 SHARPENER 103 160 8
CLASSIC

TABLE : DEALERS
DCODE DNAME
101 RELIABLE STATIONERS
103 CLASSIC PLASTICS
102 CLEAR DEALS

(i) To display the details of all Items in the STATIONARY table in descending
order of itemno.
(ii) To display ItemNo and Item name of those items from STATIONARY table
whose UnitPrice is more than Rupees 10.
(iii) To display the details of those items whose dealer code (Dcode) is 102 or
quantity in STATIONARY (Qty) is more than 100 from the table Stock.
(iv) To display minimum UnitPrice of items for each dealer individually as per
Dcode from the table STATIONARY.
Marks Scored Max Marks

Python Program 8

SQL Queries 4

Report File 7

Project 8

Viva Voce 3

Total 30

Internal Examiner External Examiner

Name : ______________________ Name : ______________________

Sign : ______________________ Sign : ______________________

Examiner no. :________________ Examiner no. :________________


SET-D

AISSCE PRACTICAL EXAMINATION 2023-24


SCHOOL CODE: 55191 TOTAL MARKS: 30
SUBJECT & CODE : COMPUTER SCIENCE (083) DURATION : 3 Hrs
______________________________________________________________________________________

LAB TEST :
1. Create a menu driven Python program to calculate and return the values of 8
• Area of triangle
• Area of a circle
• Area of regular polygon

2. Consider the following tables ITEM and CUSTOMER. Write SQL commands for 4
the statements (i) to (iv)

TABLE: ITEM
CID ITEMNAME MANUFACTUR PRICE
E
PC01 PERSONAL COMPUTER ABC 35000
LC05 LAPTOP ABC 55000
PC03 PERSONAL COMPUTER XYZ 32000
PC06 PERSONAL COMPUTER COMP 37000
LC03 LAPTOP PQR 57000

TABLE :CUSTOMER
CID CNAME CITY PID
01 ROY DELHI LC03
06 SINGH MUMBAI PC03
12 PANDEY DELHI PC06
15 SHARMA DELHI LC03
16 AGARWAL BANGLORE PC01

(i) To display the details of those Customers whose city is Delhi.


(ii) To display the details of Item whose Price is in the range of 35000 to 55000
(Both values included).
(iii) To display the CustomerName, City from table Customer, and ItemName and
Price from table Item, with their corresponding matching I_ID.
(iv) To increase the Price of all Items by 1000 in the table Item.
Marks Scored Max Marks

Python Program 8

SQL Queries 4

Report File 7

Project 8

Viva Voce 3

Total 30

Internal Examiner External Examiner

Name : ______________________ Name : ______________________

Sign : ______________________ Sign : ______________________

Examiner no. :________________ Examiner no. :________________

You might also like