0% found this document useful (0 votes)
8 views9 pages

CSC Practicalfinal

The document outlines the practical examination format for Computer Science under CBSE-SSCE for the academic year 2024-2025, detailing various sets of programming and SQL query tasks. Each set includes a menu-driven Python program and SQL queries related to different tables, with a total of 30 marks allocated for each set, including sections for report files, projects, and viva. The tasks cover a range of topics including file handling, data manipulation, and database management.

Uploaded by

TVIS Juniors
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)
8 views9 pages

CSC Practicalfinal

The document outlines the practical examination format for Computer Science under CBSE-SSCE for the academic year 2024-2025, detailing various sets of programming and SQL query tasks. Each set includes a menu-driven Python program and SQL queries related to different tables, with a total of 30 marks allocated for each set, including sections for report files, projects, and viva. The tasks cover a range of topics including file handling, data manipulation, and database management.

Uploaded by

TVIS Juniors
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/ 9

CBSE-SSCE PRACTICAL EXAMINATION 2024-2025

SCHOOL CODE:55759
SUBJECT: COMPUTER SCIENCE DURATION:3 HRS
SUBJECT CODE:083 MAX MARKS:30
SET 1 MARKS
ALLOTTED

1.Write a menu driven code python program to calculate and return the values of 8
following shapes.
● Area of triangle
● Area of a circle
● Area of rectangle
2. Write SQL queries for (a) to (d) using the PRODUCT table details given below 4

a) Write the query to display details of all the product whose quantity must be greater than
100.
b) Write the query to increase the price of all the products by 5%.
c) Write the query to display details of the product where the Product name starts with ‘P’.
d) Write the query to delete the record whose company name is ‘TOSHIBA’.
REPORT FILE 7
PROJECT 8
VIVA 3
TOTAL 30

CBSE-SSCE PRACTICAL EXAMINATION 2024-2025


SCHOOL CODE: 55759
SUBJECT: COMPUTER SCIENCE DURATION:3 HRS
SUBJECT CODE:083 MAX MARK:30
SET-3 MARKS
ALLOTTED

1. Write a menu driven program in Python using function to 8


 Display factorial of a number
 Display n terms of Fibonacci series
 Sum of digits of a number
2. Write SQL queries for (a) to (d) using the STATIONERY table details given below: 4

a) Write the query to display product name, brand whose stock falls below 200
b) Write the query to display the details of varieties of pens available in the stationery.
c) Write the query to update the quantity of V7 pen to 175.
d) Write the query to display the number of products purchased from each brand.
REPORT FILE 7
PROJECT 8
VIVA 3
TOTAL 30
CBSE-SSCE PRACTICAL EXAMINATION 2024-2025
SCHOOL CODE:55759
SUBJECT:COMPUTER SCIENCE DURATION:3 HRS
SUBJECT CODE:083 MAX MARKS:30

SET-2 MARKS
ALLOTTED

1. Write a menu driven program in Python using user defined functions to 8


take a string as input
● Check if it is palindrome
● Count number of occurrences of a given character
2. Consider the following tables SENDER and RECIPIENT, Write SQL 4
queries for (a) to (d) using the SENDER and RECIPIENT table details
given below .

SENDER

RECIPIENT

a) To display the names of all senders from Mumbai.


b) To display the recID, senderName, senderAddress, RecName, RecAddress
for every recipient.
c) List the sender name in alphabetical order.
d) To display reccity and the number of recipients from each city.
REPORT FILE 7
PROJECT 8
VIVA 3
TOTAL 30
CBSE-SSCE PRACTICAL EXAMINATION 2024-2025
SCHOOL CODE: 55759
SUBJECT:COMPUTER SCIENCE DURATION:3 HRS
SUBJECT CODE:083 MAX MARKS:30
SET-8 MARKS
ALLOTTED
1. Write a menu driven program in Python using Pickle library and create a binary 8
file with following structure: [Admission number, Student name, Age]
a) Display the contents of the binary file
b) Search a student by admission number given by user
2. Write SQL queries for (a) to (d) using the PRODUCT table details given below 4

a) Write the query to display all details of the company ‘SONY’.


b) Write the query to display pname, quantity, price of the product where price
must be in the range 5000 to 10000.
c) Write the query to create the above table.
d) Write the query to change the column company to brand.
REPORT FILE 7
PROJECT 8
VIVA 3
TOTAL 30

CBSE-SSCE PRACTICAL EXAMINATION 2024-2025


SCHOOL CODE: 55759
SUBJECT:COMPUTER SCIENCE DURATION:3 HRS
SUBJECT CODE:083 MAX MARKS:30

SET-6 MARKS
ALLOTTED

1. Write a program, with separate user defined functions to perform the 8


following operations:
 Push the keys (name of the student) of the dictionary into a stack,
where the corresponding value (marks) is greater than 75.
 Pop and display the content of the stack.
2. Write SQL queries for (a) to (d) using the WATCH table details given below 4

a) Write the query to create a database ‘TICKTOCK’


b) Display the names of the watches which is starting with alphabet ‘R’.
c) Write the query to create the above table.
d) Write the query to change the column QUANTITY to QTY
REPORT FILE 7
PROJECT 8
VIVA 3
TOTAL 30
CBSE-SSCE PRACTICAL EXAMINATION 2024-2025
SCHOOL CODE:55759
SUBJECT:COMPUTER SCIENCE DURATION:3 HRS
SUBJECT CODE:083 MAX MARKS:30
SET-4 MARKS
ALLOTTED

1. Write a python program to read a text file and display the number of vowels, 8
consonants, uppercase, lowercase characters in the file.
2. Consider the following tables BOOK and ISSUED, Write SQL queries for (a) to (d) 4
using the BOOK and ISSUED table details given below .

BOOK

ISSUED

a)To show Book name, Author name and Price of books of EPB publisher.
b) To increase the price of all books of First Publ by 50.
c) To display the Book_ID, Book_Name and Quantity Issued for all books which have
been issued.
d) To display the details of book which is of type ‘Fiction’.
REPORT FILE 7
PROJECT 8

VIVA 3

TOTAL 30
CBSE-SSCE PRACTICAL EXAMINATION 2024-2025
SCHOOL CODE:55759
SUBJECT: COMPUTER SCIENCE DURATION:3 HRS
SUBJECT CODE:083 MAX MARKS:30
SET-5 MARKS
ALLOTTED

1.a) Write a python program to remove all the lines that contain the 8
character ‘a’ in a file and write it to another file.
b) Write a python program to read a text file line by line
and display each word separated by”#”.
2. Consider the following tables GAMES and PLAYER, Write SQL queries 4
for (a) to (d) using the GAMES and PLAYER table details given
below

GAMES

PLAYER

a) To display the name of all Games with their GCodes.


b) To display details of those games which are having PrizeMoney more than
7000.
c) To display the content of the GAMES table in ascending order of ScheduleDate.
d) To display the total prize money for all the games.
REPORT FILE 7
PROJECT 8
VIVA 3
TOTAL 30
CBSE-SSCE PRACTICAL EXAMINATION 2024-2025
SCHOOL CODE:55759
SUBJECT:COMPUTER SCIENCE DURATION:3 HRS
SUBJECT CODE:083 MAX MARKS:30

SET-7 MARKS
ALLOTTED

1. Write a python program to create a CSV file to store student data – Rollno, Name, 8
Marks. Obtain data from user and write 5 records into the file.
2. Consider the following tables EVENT and COMPANY. Write SQL queries for 4
(a) to (d) using the EVENT and COMPANY table details given below.

COMPANY

a) To display the minimum and maximum date from event table.


b)To display EventName, organizer, name from the table Event, company where
budget should be greater than 20000.
c) To display Name from the table Company whose name ends with ‘d’.
d) To display the budget in ascending order.
REPORT FILE 7

PROJECT 8

VIVA 3

TOTAL 30
CBSE-SSCE PRACTICAL EXAMINATION 2024-2025
SCHOOL CODE:55759
SUBJECT:COMPUTER SCIENCE DURATION:3 HRS
SUBJECT CODE:083 MAX MARKS:30

SET-9 MARKS
ALLOTTED
1.Write a menu driven program in Python to implement a stack using a list 8
data structure. Each node should have [Book no, Book name, Book price]

2. Write SQL queries for (a) to (d) using the SCHOOL table details given below 4

a) Display the name of the teacher with their experience with ‘PHYSICS’ subject.
b) Write a query to display number of teachers with each subject.
c) Write a query to display the teacher name, handling subject and their
teaching hours whose experience exceeds 10 years.
d) Display the names of the teachers who have joined before APRIL 2000.
REPORT FILE 7
PROJECT 8
VIVA 3
TOTAL 30

CBSE-SSCE PRACTICAL EXAMINATION 2024-2025


SCHOOL CODE:55759
SUBJECT:COMPUTER SCIENCE DURATION:3 HRS
SUBJECT CODE:083 MAX MARKS:30

SET-10 MARKS
ALLOTTED

1. Write a menu driven Python Program for stack implementation using 8


function. Menu is as follows:
1.PUSH (Integers to be pushed) 2. POP 3. DISPLAY 4. PEEK 5. EXIT
2. Write SQL queries for (a) to (d) using the EMPLOYEE table details given below 4

a) Write the query to remove details of employee, “RAM GUPTA” .


b) Update the salary of those employees by 2000 who have joined in 2009.
c) Write the query to add information about a new joinee with details like Tcode -
65, Tname - ‘ADITHYA’, Depcde - 119 ,age- 35, salary - 65000 , joindate - NULL.
d) Display names of employees based on the order of their experience(high to low).
REPORT FILE 7
PROJECT 8
VIVA 3
TOTAL 30

You might also like