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

SET 03 2023 New

This document contains instructions for a Computer Science practical exam for Class 12. It includes 4 questions worth a total of 30 marks. Question 1 involves implementing stack operations in Python. Question 2 tests knowledge of SQL by having students fill in blanks in code to insert data into a MySQL database table. Question 3 is submitting a practical report file. Question 4 involves a viva voce or oral exam. The exam is evaluated by an external and internal examiner who sign off and provide examiner numbers.

Uploaded by

sumitkum7795
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)
83 views1 page

SET 03 2023 New

This document contains instructions for a Computer Science practical exam for Class 12. It includes 4 questions worth a total of 30 marks. Question 1 involves implementing stack operations in Python. Question 2 tests knowledge of SQL by having students fill in blanks in code to insert data into a MySQL database table. Question 3 is submitting a practical report file. Question 4 involves a viva voce or oral exam. The exam is evaluated by an external and internal examiner who sign off and provide examiner numbers.

Uploaded by

sumitkum7795
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

JAI NARAYAN VIDYA ANDIR INTER COLLEGE

AISSCE Practical Examination 2022- 2023


Subject: Computer Science (083)
Class: XII
Time: 3:00 hrs. Max Marks: 30
SET – 3
Q1. a). Each node of a STACK contains the following information 4x2=8
1) Roll No 2) Student Name
Write a Program to implement following operation in above stack
a) Push() Display()
b) Write a function DISPLAYWORDS() in python to read lines from a text file story.txt
and display those words whose length is less than 4 character.
Q2.Observe the following code and fill in the given blanks as directed : 4

I import mysql.connector as mycon


cn =mycon.connect ( ) # Statement 1
cr=cn. # Statement 2
cust_id=int(input(“Enter ID :”))
cust_name=input(“Enter Customer Name:”)
city=input(“Enter City :”)
ba=float(input(“Enter Bill Amount:”))
mno=input(“Enter Mobile No:”)
sql=”________________________________________________________” # Statement 3
valva
val=(cust_id,cust_name,city,ba,mno)
cr.exectue (sql,val)
cn. # Statement 4

i. Write the parameters and values required to fill statement 1: The parameters values
are as follows:
Database Server User Password Database
localhost root root jnvmic

ii. Write function name to create cursor and fill in the gap for statement 2.
iii. Write a query to fill statement 3 with desired values
iv. Write a query to fill statement 4 to save the records into table.

Q2. Practical Report File 7


Q3. Project 8
Q4. Viva Voce 3

External Examiner Internal Examiner

Name:___________________ Name:_________________

Sig:______________ Sig_______________

Examiner No:_____________ Examiner No:___________

You might also like