0% found this document useful (0 votes)
3 views1 page

class 12 practical paper2023

The document outlines the All India Senior Secondary Certificate Examination 2023 for Computer Science (subject code 083) for Class 12, with a maximum score of 30 marks. It includes programming tasks such as implementing stack operations in Python, working with binary files, SQL queries, and database connectivity. Additionally, it mentions practical file, project work, and viva-voce components of the assessment.

Uploaded by

krishjai369
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

class 12 practical paper2023

The document outlines the All India Senior Secondary Certificate Examination 2023 for Computer Science (subject code 083) for Class 12, with a maximum score of 30 marks. It includes programming tasks such as implementing stack operations in Python, working with binary files, SQL queries, and database connectivity. Additionally, it mentions practical file, project work, and viva-voce components of the assessment.

Uploaded by

krishjai369
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

ALL INDIA SENIOR SECONDARY CERTIFICATE EXAMINATAION 2023

SUBJECT-COMPUTER SCIENCE (083)


Time: 03:00 HRS CLASS-12 Maximum Marks-30

1. Write a menu driven python program to implement stack operations (PUSH AND POP) 3

(A) Write a function in Python PUSH(Arr), where Arr is a list of numbers. From this list push all numbers divisible
by 5 into a stack implemented by using a list. Display the stack if it has at least one element, otherwise display
appropriate error message.
OR
(B) Write a function in Python POP(Arr), where Arr is a stack implemented by a list of numbers. The function
returns the value deleted from the stack.

2. (A) A binary file “Book.dat” has structure [BookNo, Book_Name, Author, Price]. 4
i. Write a user defined function CreateFile() to input data for a record and add to Book.dat .
ii. Write a function CountRec(Author) in Python which accepts the Author name as parameter and count and
return number of books by the given Author are stored in the binary file “Book.dat”
OR
(B) A binary file “STUDENT.DAT” has structure (admission_number, Name, Percentage). Write a function
countrec () in Python that would read contents of the file “STUDENT.DAT” and display the details of those
students whose percentage is above 75. Also display number of students scoring above 75%

3. (A) Write the outputs of the SQL queries (i) to (iii) based on the relations Teacher and Posting given below: 5

I. SELECT Department, count(*) FROM Teacher GROUP BY Department;


II. SELECT Max(Date_of_Join),Min(Date_of_Join) FROM Teacher;
III. SELECT Teacher.name,Teacher.Department, Posting.Place FROM Teachr, Posting
where Teacher Department = Posting.Department AND, Posting.Place=”Delhi”;
(B) Write a program to connect Python with MySQL using database connectivity and perform the any one of
the following operations on data in database: Fetch, Update and delete the data.

4. Practical File 7
5. Project Work 8
6. Viva – Voce 3

INTERNAL SIGN EXTERNAL SIGN

You might also like