12 Cs Practical QP-final
12 Cs Practical QP-final
Item Description
e_no Employee Number
e_name Employee Name
e_salary Employee Salary
Note:- By using Python.
Q.2. In a Database, there are two tables given below:- [4]
Table:- EMPLOYEE
Table:- JOB
(i) Write a SQL command to create above mentioned tables. Also insert values.
(ii) To display employee ids, name of employees, job ids with corresponding job titles.
(iii) To display names of employees, sales and corresponding job titles who have achieved sales more
than 130000.
(iv) To display names and corresponding job titles of those employees who have ‘SINGH’ in their
names.
(v) Write SQL command to change the JOBID to 104 of the EMPLOYEE with EMPLOYEEID as ‘E4’ in the
table ‘EMPLOYEE’.
Q.3 Report File [3]
Q.4 Project File [5]
Q.5 Viva [1]
Internal Examiner External Examiner
Signature Signature
( ) ( )
Examiner Code:- Examiner Code:-
AISSCE PRACTICAL EXAMINATION 2021-22
SUBJECT – COMPUTER SCIENCE (083)
CLASS XII
Duration:- 3 Hours Total Marks 15
Q.1. Write a menu driven program to perform Push, Pop and Display operations for stack using [2]
List as per the following structure:-
Item Description
b_no Book Number
b_name Book Name
b_price Book Price
Note:- By using Python.
Q.2. In a Database, there is table given below:- [4]
Table: PLAYER
(i) Write a SQL command to create above mentioned tables. Also insert values.
(ii) To display player name and game whose rank is 5 to 10
(iii) Show PID PName and RANK whose game is either Tennis or Cricket.
(iv) Display unique game from the table
Signature Signature
( ) ( )
Examiner Code:- Examiner Code:-
AISSCE PRACTICAL EXAMINATION 2021-22
SUBJECT – COMPUTER SCIENCE (083)
CLASS XII
Duration:- 3 Hours Total Marks 15
Q.1. Write a menu based program to add, delete and display the record of hostel
using list as stack data structure in python. Record of hostel contains the fields : Hostel
number, Total Students and Total Rooms.
Item Description
Hostel_no Hostel number
Total_stud Total Student
Total_room Total Rooms
s
Note:- By using Python.
Q.2. In a Database, is table given below:- [4]
Table: BOOK
(i) Write a SQL command to create above mentioned tables. Also insert values.
(ii) To display details of the books whose price not mentioned
(iii) Display title and date of purchase of the books having “IP” in their title
(iv) Display all the details of books by NCERT in the descending order of their price
(v) Add Rs. 50 in the price of all the books by CBSE
Signature Signature
( ) ( )
Examiner Code:- Examiner Code:-
AISSCE PRACTICAL EXAMINATION 2021-22
SUBJECT – COMPUTER SCIENCE (083)
CLASS XII
Duration:- 3 Hours Total Marks 15
Q.1. Program to connect with database and store record of employee and display records.
(i) Write a SQL command to create above mentioned tables. Also insert values.
(ii) To display details of the books which have been purchased before 01-01-2022
(iii) Display BNO,TITLE And PRICE of the books which book no is P01,P03,P05
(iv) Delete all the books whose price is not given
(v) Increase the price of all the books by 10% whose price is below 300
Signature Signature
( ) ( )
Examiner Code:- Examiner Code:-
AISSCE PRACTICAL EXAMINATION 2021-22
SUBJECT – COMPUTER SCIENCE (083)
CLASS XII
Duration:- 3 Hours Total Marks 15
Q.1 Write a menu based program to Maintaining Book details like bcode, btitle
and price using stacks in python. (implement push(),pop(), and trarverse() function.
(i) Write a SQL command to create above mentioned tables. Also insert values.
(ii) To increase the salary of player by 50% if he scored a century
(iii) To list the names of those players whose name length is characters and end with ‘ESH’
(iv) Mr. Ram wants to add one more column”coach_name”.Help ram to write commands
(v) List the names of players who belong to city Jaipur or tonk
Signature Signature
( ) ( )
Examiner Code:- Examiner Code:-
AISSCE PRACTICAL EXAMINATION 2021-22
SUBJECT – COMPUTER SCIENCE (083)
CLASS XII
Duration:- 3 Hours Total Marks 15
Q.1. Program to connect with database and and store records of employee and display record..
(i) Write a SQL command to create above mentioned tables. Also insert values.
(ii) To increase the salary of player by 50% if he scored a century
(iii) To list the names of those players whose name length is characters and end with ‘ESH’
(iv) Mr. Ram wants to add one more column”coach_name”.Help ram to write commands
(v) List the names of players who belong to city Jaipur or tonk
Signature Signature
( ) ( )
Examiner Code:- Examiner Code:-
AISSCE PRACTICAL EXAMINATION 2021-22
SUBJECT – COMPUTER SCIENCE (083)
CLASS XII
Duration:- 3 Hours Total Marks 15
Q.1. Program to connect with database and search employee number in table employee and
display record, if empno not found display appropriate message.
Signature Signature
( ) ( )
Examiner Code:- Examiner Code:-
AISSCE PRACTICAL EXAMINATION 2021-22
SUBJECT – COMPUTER SCIENCE (083)
CLASS XII
Duration:- 3 Hours Total Marks 15
Q.1. Program to connect with database and update the employee record of entered empno
Signature Signature
( ) ( )
Examiner Code:- Examiner Code:-
AISSCE PRACTICAL EXAMINATION 2021-22
SUBJECT – COMPUTER SCIENCE (083)
CLASS XII
Duration:- 3 Hours Total Marks 15
Q.1. Program to connect with database and delete the employee record of entered empno
DEPARTMENT
DNO DNAME LOCATION MANAGER
D01 PRODUCTION GROUND FLOOR D K JAIN
D02 ACCOUNTS 1ST FLOOR S ARORA
D03 SECURITY 1ST FLOOR R K SINGH
(i) Display Worker ID and job who are working under D K JAIN
(ii) Display Worker name and their respective department names who are working as ELECTRITION.
(iii) Display the average salary of workers who are working in the PRODUCTION department.
(iv) Display Worker name, job and their respective manager.
Signature Signature
( ) ( )
Examiner Code:- Examiner Code:-
DEPARTMENT
DNO DNAME LOCATION MANAGER
D01 PRODUCTION GROUND FLOOR D K JAIN
D02 ACCOUNTS 1ST FLOOR S ARORA
D03 SECURITY 1ST FLOOR R K SINGH
(i) Display the total salary of workers who are working under CLERK.
(ii) Display no. of workers working in each department.
(iii) Display average, highest salary of workers who are working in the departments located at 1 st floor.
(iv) Display WNAME, Annual salary (assuming given salary is monthly), department whose
department no. is D01 or D03.
Signature Signature
( ) ( )
Examiner Code:- Examiner Code:-