Professional Documents
Culture Documents
12th - Main - Practical Exam Question Paper
12th - Main - Practical Exam Question Paper
12th - Main - Practical Exam Question Paper
Set – 1
Part 1 Python Program 7
Q 1. Write a menu-driven program to implement stack operations.
1. Push
2. Pop
3. Peek
4. Display
5. Exit
mydb=mycon.connect(_____________________________________) # Statement 2
mycursor=mydb.___________ # Statement 3
mycursor.execute(_______________________________________) # Statement 4
mydb._____________ # Statement 5
The partial code is given for inserting a record in customer table created.
The customer table is given as following:
iii. Write function name to create cursor and fill in the gap for
statement 3.
Practical file 7
Project file 8
Viva-voce 3
************
Senior School Certificate Examination – 2022 - 23
Practical Exam Question Paper
Subject : Computer science (083) Class : 12
Time : 3.00 Hours Max.Marks : 30
Set – 2
Part 1 Python Program 7
Q 1. Write a program to create a binary file to store rollno and name, search
any rollno and display name if rollno found otherwise “Rollno not found”.
mydb=mycon.connect(_____________________________________) # Statement 2
mycursor=mydb.___________ # Statement 3
mycursor.execute(_______________________________________) # Statement 4
for x in myresult:
print(x)
The partial code is given for displaying all the records from customer table
created. . The customer table is given as following:
iii. Write function name to create cursor and fill in the gap for
statement 3.
iv. Write a query to fill statement 4 to display all records from customer
table.
Practical file 7
Project file 8
Viva-voce 3
************