AISSCE CS PRACTICAL Exam QP - Total - 6 Sets 2023-24
AISSCE CS PRACTICAL Exam QP - Total - 6 Sets 2023-24
SET – 1
1. a. Write a program in python to accept a string and create a dictionary that stores each letter(once)
as a key and its frequency in given string as the value. 4
b. Write a program using function to add the record of an employee in a binary file “emp.dat”.
i.e. [emp_no,emp_name,department] 4
2. Consider the following table STUDENT and write SQL statements for the question no (i) to (iii)
and find outputs for the queries (iv) and (v): (any 4) 4
3. Report File 7
4. Project 8
5. Viva voce 3
____________
AISSCE TERM-II PRACTICAL EXAMINATION, 2024
SUB: COMPUTER SCIENCE (CODE: 083)
SET – 2
1. a. Write a Python program to create Lpop( ) function to do pop operation on a stack using a list
e.g. take a student information and pop the details. 4
b. Write a function to count the number of vowels present in a text file “BOOK.txt” 4
2. Consider the following table STUDENT and write SQL statements for the question no (i) to (iii)
and find outputs for the queries (iv) and (v): (any 4) 4
3. Report File 7
4. Project 8
5. Viva voce 3
____________
AISSCE TERM-II PRACTICAL EXAMINATION, 2024
SUB: COMPUTER SCIENCE (CODE: 083)
SET – 3
1. a. Write a Python program to create Lpush( ) function to do push operation on a stack using a list
e.g. take a student information and push the details. 4
b. Write a program using function to count the number of spaces present in a text file “BOOK.txt” 4
2. Consider the following table STUDENT and write SQL statements for the question no (i) to (iii)
and find outputs for the queries (iv) and (v): (any 4)
4
3. Report File 7
4. Project 8
5. Viva voce 3
____________
AISSCE TERM-II PRACTICAL EXAMINATION, 2024
SUB: COMPUTER SCIENCE (CODE: 083)
SET – 4
1. a. Write a python program using function to count number of words starts with vowels and make a
separate list of those words. 4
b. Write a function to WriteRec() to write the 5 Employee Records (id, name, salary) in a binary file
name Emp.dat and ReadRec() function to read the all records from a binary file Emp.dat and display
them. 4
2. Consider the following table STUDENT and write SQL statements for the question no (i) to (iii)
and find outputs for the queries (iv) and (v): (any 4)
4
3. Report File 7
4. Project 8
5. Viva voce 3
____________
AISSCE TERM-II PRACTICAL EXAMINATION, 2024
SUB: COMPUTER SCIENCE (CODE: 083)
SET – 5
b. Write a Python Program read a text file line by line and display line started with T. 4
2 Consider the following table named ‘‘SOFTDRINK’’. Write commands of SQL for (i) to (iii)
and output for (iv) to (v). (ANY 4)
4
Table : SOFTDRINK
i. To update price of those drinks that have less than 130 calories.
ii. To display drink codes, names and calories of all drinks, in ascending order of calories.
iii. To display the name of all drinks those names starts with ‘A’.
iv. SELECT SUM(PRICE) FROM SOFTDRINK WHERE calories>120;
v. SELECT * FROM SOFTDRINK WHERE DNAME IN(‘Aam Panna’,’Green Mango’)”;
3. Report File 7
4. Project 8
5. Viva voce 3
____________
AISSCE TERM-II PRACTICAL EXAMINATION, 2024
SUB: COMPUTER SCIENCE (CODE: 083)
SET – 6
b. Write a function in Python that counts the number of Me or My words present in a text file
STORY.TXT 4
2. Consider the following table named ‘‘SOFTDRINK’’. Write commands of SQL for (i) to (iii)
and output for (iv) to (v). (any 4) 4
Table : SOFTDRINK
i. To display names and drink codes of those drinks that have more than 120
calories.
ii. To display drink codes, names and calories of all drinks, in descending order of
calories.
iii. Increase the price of all drinks in the given table by 10%.
iv. SELECT COUNT(DISTINCT(PRICE)) FROM SOFTDRINK;
v. SELECT DNAME FROM SOFTDRINK WHERE DNAME LIKE “%Mango%”;
3. Report File 7
4. Project 8
5. Viva voce 3
____________