CSC Practicalfinal
CSC Practicalfinal
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
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
SENDER
RECIPIENT
SET-6 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
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
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
SET-10 MARKS
ALLOTTED