Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
24 views10 pages

STD Xii C.S Practical (2024-25) Final

The document is a practical question paper for the Senior School Certificate Examination in Computer Science for Class 12, covering various programming tasks and SQL queries across multiple sets. Each set includes tasks such as writing Python programs for string manipulation, client record management, and database operations, along with practical report files and projects. The examination is scheduled for January 29, 2025, with a total duration of 3 hours and a maximum score of 30 marks.

Uploaded by

haneeshstudies
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)
24 views10 pages

STD Xii C.S Practical (2024-25) Final

The document is a practical question paper for the Senior School Certificate Examination in Computer Science for Class 12, covering various programming tasks and SQL queries across multiple sets. Each set includes tasks such as writing Python programs for string manipulation, client record management, and database operations, along with practical report files and projects. The examination is scheduled for January 29, 2025, with a total duration of 3 hours and a maximum score of 30 marks.

Uploaded by

haneeshstudies
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/ 10

Senior School Certificate Examination (2024 – 25)

Practical Question Paper


Subject: Computer Science(083) Class: 12
Time: 3:00 Hours Max. Marks: 30
Date: 29-01-2025 Batch: I

SET-1
Q-1 Write a Menu driven python program with user defined functions for implementing the following string
operation using string manipulation function 8
I. Accept a string as input and replace the characters ‘a’ with ‘*’ in the given string and display the result.
II. Accept the string in form of a sentence and display the same sentence in which each and every word
is reversed.

b) Write the query for the statements given below.


4
TABLE: EMPLOYEE
ECODE ENAME GENDER DEPARTMENT GRADE GROSS
1001 KARTHIK M MANAGER A1 50000
1002 SAAISURYA M ADMIN B1 20000
1003 KAVITHA F ADMIN B1 30000
1004 ARUN M CLERK C1 45000
1005 THOMAS F CLERK C1 70000

1. To create the database named Company.


2. To create a table EMPLOYEE with the specified fields.
3. To insert the values into the table EMPLOYEE as given above.
4. To display all the records from the table EMPLOYEE.

Q – 2 Practical Report File 7


Q – 3 Project 8
Q – 4 Viva Voce 3
Senior School Certificate Examination(2024 – 25)
Practical Question Paper
Subject: Computer Science (083) Class: 12
Time: 3:00 Hours Max. Marks: 30
Date: 29-01-2025 Batch: I

SET-2
Q-1 a) Write a menu driven program to create a client record management in a stack using list to
perform the following

8
1. Push record
2. Pop record
3. Display record
4. Peek
5. Exit
The structure of stack is [client_id, client_name, con_num]

b) Write the query for the statements given below. 4

CustomerID CustomerName City BillAmt MobileNo


111 Abhishek Ahmadabad 3000 9999999999
222 Ramkumar Chennai 2500 8888888888
333 Ashwin Coimbatore 6000 7777777777
444 Shyamganesh pune 12000 6666666666

1. To apply Unique constraint to the field CustomerID in the table CUSTOMER


2. To display all the details from table CUSTOMER in which the BillAmt is more than 2500 in ascending
order of CustomerName
3. To Add a column Address in the table with datatype as varchar with 20 characters.
4. Write a query to Delete a column City from the table Customer

Q – 2 Practical Report File 7


Q – 3 Project 8
Q – 4 Viva Voice 3
Senior School Certificate Examination(2024 – 25)
Practical Question Paper
Subject: Computer Science(083) Class: 12
Time: 3:00 Hours Max. Marks: 30
Date: 29-01-2025 Batch: I

SET-3
Q-1 a) Write a program with separate user defined functions to count the number of words and to
display the longest word from the text file.

b) Write the query for the statements given below. 4

i. To display the structure of Table EMPLOYEE.


ii. To update GROSS=50000 for the Employee whose ECODE=1004 into the table Employee.
iii. To display the Count of Employees whose GROSS>30000.
iv. To delete the record whose name is “Neela” from the table employee.

Q – 2 Practical Report File 7


Q – 3 Project 8
Q – 4 Viva Voice 3
Senior School Certificate Examination(2024 – 25)
Practical Question Paper
Subject: Computer Science(083) Class: 12
Time: 3:00 Hours Max. Marks: 30
Date: 29-01-2025 Batch: I

SET-4
Q-1 a) Write a program to Create a CSV file client.csv to hold records with detail user_id and password. 8
Search the password for the given user_id.

b)

1. To open a database EMPLOYEE. 4


2. Write a query to display the fields ECODE,ENAME and GROSS from the
Table EMPLOYEE order by ENAME
3. Write a query to add PRIMARY KEY to the column ECODE in the table Employee.
4. Write a query to UPDATE ENAME=”WILLIAM” in the Table EMPLOYEE
whose ECODE=1009

Q – 2 Practical Report File 7


Q – 3 Project 8
Q – 4 Viva Voce 3
Senior School Certificate Examination(2024 – 25)
Practical Question Paper
Subject: Computer Science(083) Class: 12
Time: 3:00 Hours Max. Marks: 30
Date: 29-01-2025 Batch: I

SET-5
Q-1 Write a program to create a csv file with separate user defined functions to perform the following 8
a) To create a csv file named student.csv and add rollno,name and 5 marks of the student ,total and average
for each student.
b) To update grade for each student
c) To display all the records.

b) Write the query for the statements given below. 4

TABLE:EMPLOYEE

ECODE ENAME GENDER DEPARTMENT GRADE GROSS


1001 KARTHIK M MANAGER A1 50000
1002 RAM M ADMIN B1 20000
1003 KAVITHA F ADMIN B1 30000
1004 ARUN M CLERK C1 45000
1005 SACHINSAAI M CLERK C1 70000
1006 RANI F ADMIN B1 55000

i. To display the sum of gross and average of gross from the table EMPLOYEE.
ii. To increase the gross of employee by 2% whose department is admin.
iii. To display the maximum salary of the EMPLOYEE whose department is admin from the table EMPLOYEE .
iv. To display all the records from the table EMPLOYEE.

Q – 2 Practical Report File 7


Q – 3 Project 8
Q – 4 Viva Voce 3
Senior School Certificate Examination(2024 – 25)
Practical Question Paper
Subject: Computer Science(083) Class: 12
Time: 3:00 Hours Max. Marks: 30
Date: 29-01-2025 Batch: I

SET-6
Q-1 a) Write a program to Create a binary file with separate user defined function to perform the
following.
a) To create a binary file named employee.dat with empno, emp_name and salary
b) To search for the employee number and update the salary
c) To display the content of the binary file.

b) Write the query for the statements given below. 4

TABLE: CUSTOMER
CustomerID CustomerName City Email
111 Abhishek Ahmedabad [email protected]
222 Ram kumar Chennai [email protected]
333 Ashwin Coimbatore [email protected]
444 Shyam ganesh Pune [email protected]

TABLE: C_DETAIL
CustomerID CustomerName BillAmt
111 Abhishek 1500
222 Ram kumar 1501
333 Ashwin 1502
444 Shyam ganesh 1503

i. To display the cartesian product of the above two tables.


ii. To create the table CUSTOMER with the fields given above.
iii. To insert the record with CustomerID=111 as given above in to the table CUSTOMER.
iv. To update Email as [email protected] in the table CUSTOMER whose CustomerID is 111.

Q – 2 Practical Report File 7


Q – 3 Project 8
Q – 4 Viva Voce 3
Senior School Certificate Examination (2024 - 25)
Practical Question Paper
Subject: Computer Science (083) Class 12
Time: 3:00 Hours Max. Marks: 30
Date: 29-01-2025 Batch I

SET-7

Q-1 a) Write a program to create a random number generator that generates random numbers
Between 1 and 6. 8

b) Write the query for the statements given below.


4
TABLE: EMPLOYEE
ECODE ENAME GENDER DEPARTMENT GRADE GROSS
1001 KARTHIK M MANAGER A1 50000
1002 RAM M ADMIN B1 20000
1003 KAVITHA F ADMIN B1 30000
1004 ARUN M CLERK C1 45000
1005 ANU F CLERK C1 70000

1. To create the database named Company.


2. To create a table EMPLOYEE with the specified fields.
3. To insert the values into the table EMPLOYEE as given above.
4. To display all the records from the table EMPLOYEE.

Q – 2 Practical Report File 7


Q – 3 Project 8
Q – 4 Viva Voce 3
Senior School Certificate Examination (2024 – 25)
Practical Question Paper
Subject: Computer Science(083) Class 12
Time: 3:00 Hours Max. Marks: 30
Date: 29-01-2025 Batch I

SET- 8
Q-1 a) Write a program to create a stack to perform the following operations. 8
1. Create a student dictionary containing names and marks as key-value pairs for 5 students.
2. To push the names of the students from dictionary into the stack whose marks>=75.
3. To display the student detail stored in the stack.

b) Write the query for the statements given below. 4

CustomerID CustomerName City BillAmt MobileNo


111 Abhishek Ahmadabad 3000 9999999999
222 Ram kumar Chennai 2500 8888888888
333 Ashwin Coimbatore 6000 7777777777
444 Shyam ganesh pune 12000 6666666666

1. To apply Unique constraint to the field CustomerID in the table CUSTOMER


2. To display all the details from table CUSTOMER in which the BillAmt is more than 2500 in ascending
order of CustomerName
3. To Add a column Address in the table with datatype as varchar with 20 characters.
4. Write a query to Delete a column City from the table Customer

Q – 2 Practical Report File 7


Q – 3 Project 8
Q – 4 Viva Voce 3
Senior School Certificate Examination(2024 - 25)
Practical Question Paper
Subject: Computer Science(083) Class: 12
Time: 3:00 Hours Max. Marks: 30
Date: 29-01-2025 Batch: I
SET- 9
Q-1 a) Write a Python program to integrate MYSQL with Python by importing Mysql module.
Create a database named ‘Librarydb’ and Table named ‘Books’ with fields
bookid(primaryKey), bookname, author and price to perform the operations like Create,Insert and
Retieve records from the Table. 8

b) Write the query for the statements given below. 4

CustomerID CustomerName City BillAmt MobileNo


111 Abhishek Ahmadabad 3000 9999999999
222 Ramkumar Chennai 2500 8888888888
333 Ashwin Coimbatore 6000 7777777777
444 Shyamganesh pune 12000 6666666666

1. To apply Unique constraint to the field CustomerID in the table CUSTOMER


2. To display all the details from table CUSTOMER in which the BillAmt is more than 2500 in ascending
order of CustomerName
3. To Add a column Address in the table with datatype as varchar with 20 characters.
4. Write a query to Delete a column City from the table Customer

Q – 2 Practical Report File 7


Q – 3 Project 8
Q – 4 Viva Voice 3
Senior School Certificate Examination(2024 – 25)
Practical Question Paper
Subject: Computer Science(083) Class: 12
Time: 3:00 Hours Max. Marks: 30
Date: 29-01-2025 Batch: I

SET- 10

Q-1 a) Write a program to create a CSV file client.csv to hold records with detail user_id and password. 8
Search the password for the given user_id.

b) Write the query for the statements given below. 4

TABLE: CUSTOMER
CustomerID CustomerName City Email
111 Abhishek Ahmedabad [email protected]
222 Ram kumar Chennai [email protected]
333 Ashwin Coimbatore [email protected]
444 Shyam ganesh Pune [email protected]

TABLE: C_DETAIL
CustomerID CustomerName BillAmt
111 Abhishek 1500
222 Ram kumar 1501
333 Ashwin 1502
444 Shyam ganesh 1503

i. To display the cartesian product of the above two tables.


ii. To create the table CUSTOMER with the fields given above.
iii. To insert the record with CustomerID=111 as given above in to the table CUSTOMER.
iv. To update Email as [email protected] in the table CUSTOMER whose CustomerID is 111.

Q – 2 Practical Report File 7


Q – 3 Project 8
Q – 4 Viva Voce 3

You might also like