AISSCE PRACTICALS (2023-2024) School Code: Code & Sub: (083) Computer Science - Lab Test Date: Duration: 3 Hrs Max Marks: 30
AISSCE PRACTICALS (2023-2024) School Code: Code & Sub: (083) Computer Science - Lab Test Date: Duration: 3 Hrs Max Marks: 30
AISSCE PRACTICALS (2023-2024) School Code: Code & Sub: (083) Computer Science - Lab Test Date: Duration: 3 Hrs Max Marks: 30
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:
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)
Name: Name:
Sign: Sign:
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).
Name: Name:
Sign: Sign:
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: