AISSCE PRACTICALS (2023-2024) School Code: Code & Sub: (083) Computer Science - Lab Test Date: Duration: 3 Hrs Max Marks: 30

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

AISSCE PRACTICALS (2023-2024)

SCHOOL CODE:
CODE & SUB: (083) COMPUTER SCIENCE – LAB TEST
Date: Duration: 3 Hrs Max Marks: 30

1 Creating a python program named “Mycsv.py” to store the details of Empno, Name and Salary in “Emp.csv” and 8
search for an Empno entered by the user. If found, display the details of the Employee else display Empno is not
present.
2 Write SQL queries for (i) to (iv) 4

(i) To display details of all Trains which Start from New Delhi.
(ii) To display the PNR, PNAME, GENDER and AGE of all Passengers whose AGE is below 50.
(iii) To display total number of MALE and FEMALE Passengers.
(iv) To display details of all Passengers travelling in Trains whose TNO is 12015.
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:


AISSCE PRACTICALS (2023-2024)
SCHOOL CODE:
CODE & SUB: (083) COMPUTER SCIENCE – LAB TEST
Date: Duration: 3 Hrs Max Marks: 30

1 Create a python program named Count.py to read a text file – Mytext.txt and display the number of 8
vowels/consonants/lower case/ upper case characters.
2 Consider the following tables FACULTY and COURSES. Write SQL commands for the 4
statements (i) to (iv)

i) To display details of those Faculties whose salary is greater than 12000.


ii) To display the details of courses whose fees is in the range of 15000 to 50000 (both values included).
iii) To increase the fees of all courses by 500 of “System Design” Course.
iv) To display details of those courses which are taught by ‘Sulekha’ in descending order of courses.
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:


AISSCE PRACTICALS (2023-2024)
SCHOOL CODE:
CODE & SUB: (083) COMPUTER SCIENCE – LAB TEST
Date: Duration: 3 Hrs Max Marks: 30

1 Create a python program named One.py and copy the lines that are starting with ‘V’ in another file named 8
“Vaasavi.txt”
2 Consider the following tables Stationary and Consumer. Write SQL commands for the statement (i) to 4
(iv).

(i) To display the details of those consumers whose Address is Delhi.


(ii) To display the details of Stationary whose Price is in the range of 8 to 15. (Both Value included)
(iii) To display the ConsumerName, Address from Table Consumer, and Company and Price from table
Stationary, with their corresponding matching S_ID.
(iv) To increase the Price of all stationary by 2.
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:


AISSCE PRACTICALS (2023-2024)
SCHOOL CODE:
CODE & SUB: (083) COMPUTER SCIENCE – LAB TEST
Date: Duration: 3 Hrs Max Marks: 30

1 Write a python program using list to implement stack data structure and perform the following 8
operations: a. Push(), b. Pop(), c. Display()
2 Write SQL queries for (i) to (iv) 4

(i) Display the Trainer Name, City & Salary in descending order of their Hiredate.
(ii) To display the TNAME and CITY of Trainer who joined the Institute in the month of December 2001.
(iii)To display TNAME, HIREDATE, CNAME, STARTDATE from tables TRAINER and COURSE of all
those courses whose FEES is less than or equal to 10000.
(iv)To display number of Trainers from each city.
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