0% found this document useful (0 votes)
8 views7 pages

AISSCE CS PRACTICAL Exam QP - Total - 6 Sets 2023-24

The document outlines the practical examination format for Computer Science (Code: 083) for the AISSCE 2024, detailing various programming tasks, SQL queries, report file requirements, project work, and viva voce components across six different sets. Each set includes specific programming assignments in Python and SQL related to student records and soft drink data. The total marks for each set are 30, with a time limit of 3 hours.

Uploaded by

adibhai1511
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)
8 views7 pages

AISSCE CS PRACTICAL Exam QP - Total - 6 Sets 2023-24

The document outlines the practical examination format for Computer Science (Code: 083) for the AISSCE 2024, detailing various programming tasks, SQL queries, report file requirements, project work, and viva voce components across six different sets. Each set includes specific programming assignments in Python and SQL related to student records and soft drink data. The total marks for each set are 30, with a time limit of 3 hours.

Uploaded by

adibhai1511
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/ 7

AISSCE PRACTICAL EXAMINATION, 2024

SUB: COMPUTER SCIENCE (CODE: 083)

SET – 1

MAX. MARKS – 30 TIME – 3 HOURS

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

ROLL_NO STUDENT_NAME GENDER DOB FEES


S1 MEENA SAHANI F 2007-03-24 2400
S2 ROHIT OJHA M 2006-09-17 3200
S3 B KANNAN M 2006-12-29 2700
S4 DIVYA SEN F 2007-02-03 2300
S5 AYUSH SINHA M 2006-10-21 3600

i. Write a DDL statement to create the above table.


ii. Write a DML statement to insert any one record in the above table.
iii. Write query to display STUDENT_NAME and FEES of those students whose DOB is
earlier than 31-12-2006
iv. SELECT STUDENT_NAME, FEES*0.1 “DISCOUNT” FROM STUDENT WHERE
FEES BETWEEN 2500 AND 3500;
v. SELECT GENDER, MAX(FEES) FROM STUDENT GROUP BY GENDER;

3. Report File 7
4. Project 8

5. Viva voce 3

____________
AISSCE TERM-II PRACTICAL EXAMINATION, 2024
SUB: COMPUTER SCIENCE (CODE: 083)

SET – 2

MAX. MARKS – 30 TIME – 3 HOURS

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

ROLL_NO STUDENT_NAME GENDER DOB FEES


S1 MEENA SAHANI F 2007-03-24 2400
S2 ROHIT OJHA M 2006-09-17 3200
S3 B KANNAN M 2006-12-29 2700
S4 DIVYA SEN F 2007-02-03 2300
S5 AYUSH SINHA M 2006-10-21 3600

i. Write a DDL statement to create the above table.


ii. Write a DML statement to insert any one record in the above table.
iii. Write query to display STUDENT_NAME and DOB of those students whose
STUDENT_NAME ends with ‘A’.
iv. SELECT STUDENT_NAME, FEES FROM STUDENT WHERE GENDER =’M’
ORDER BY DOB;
v. SELECT COUNT(DISTINCT GENDER) FROM STUDENT;

3. Report File 7

4. Project 8

5. Viva voce 3

____________
AISSCE TERM-II PRACTICAL EXAMINATION, 2024
SUB: COMPUTER SCIENCE (CODE: 083)

SET – 3

MAX. MARKS – 30 TIME – 3 HOURS

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

ROLL_NO STUDENT_NAME GENDER DOB FEES


S1 MEENA SAHANI F 2007-03-24 2400
S2 ROHIT OJHA M 2006-09-17 3200
S3 B KANNAN M 2006-12-29 2700
S4 DIVYA SEN F 2007-02-03 2300
S5 AYUSH SINHA M 2006-10-21 3600

i. Write a DDL statement to create the above table.


ii. Write a DML statement to insert any one record in the above table.
iii. Write query to display student records in descending order of name.
iv. SELECT STUDENT_NAME, FEES FROM STUDENT WHERE NAME LIKE “%E%’;
v. SELECT GENDER,SUM(FEES) FROM STUDENT GROUP BY GENDER;

3. Report File 7

4. Project 8

5. Viva voce 3

____________
AISSCE TERM-II PRACTICAL EXAMINATION, 2024
SUB: COMPUTER SCIENCE (CODE: 083)

SET – 4

MAX. MARKS – 30 TIME – 3 HOURS

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

ROLL_NO STUDENT_NAME GENDER DOB FEES


S1 MEENA SAHANI F 2007-03-24 2400
S2 ROHIT OJHA M 2006-09-17 3200
S3 B KANNAN M 2006-12-29 2700
S4 DIVYA SEN F 2007-02-03 2300
S5 AYUSH SINHA M 2006-10-21 3600

i. Write a DDL statement to create the above table.


ii. Write a DML statement to insert any one record in the above table.
iii. Write query to display STUDENT_NAME and DOB of those students whose
STUDENT_NAME starts with ‘D’.
iv. SELECT STUDENT_NAME, FEES FROM STUDENT WHERE FEES>2500;
v. SELECT COUNT(*) FROM STUDENT WHERE DOB>’2006-12-01’;

3. Report File 7

4. Project 8

5. Viva voce 3

____________
AISSCE TERM-II PRACTICAL EXAMINATION, 2024
SUB: COMPUTER SCIENCE (CODE: 083)

SET – 5

MAX. MARKS – 30 TIME – 3 HOURS

1. a. Write a Python program to implement a stack using list (POP


Operation on Stack).
4

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

MAX. MARKS – 30 TIME – 3 HOURS

1. a.Write a Python program to implement a stack using list (PUSH


Operation on Stack).
4

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
____________

You might also like