Professional Documents
Culture Documents
3. Report file 7
4. Project 8
5. Viva voce 3
SSCE PRACTICAL EXAMINATION 2023
Subject: Computer Science (083) New
1. Create a binary file with name and roll number. Search for a given roll 8
number and display the name, if not found display appropriate message.
2. The code given below reads the following record from the table named 4
emp and displays only those records who have salary greater than
15000
ENo – integer
Name – string
Desig – string
Salary – integer
Note the following to establish connectivity between Python and
MYSQL:
• Username is root
• Password is tiger
• The table exists in a MYSQL database named organization. Write the
following missing statements to complete the code:
Statement 1 – to form the cursor object
Statement 2 – to execute the query that extracts records of those
employees whose salary is greater than 15000.
Statement 3- to read the complete result of the query (records whose
salary is greater than 15000) into the object named data, from the table
emp in the database.