SSCE CS PracticalsList 2024 2025
SSCE CS PracticalsList 2024 2025
PRACTICAL LIST-2023-2024
Python Programs:
1. Write a menu driven Python Program to perform Arithmetic operations (+, -, *, /).
2. Write a Python program to display the multiplication table of the given number
3. Write a python program to pass list to a function and double the odd values and half even values of a list and
display list element after changing.
4. Write a Python program input n numbers in tuple and pass it to function to count how many even and odd
numbers are entered.
5. Write a Python program to function with key and value, and update value at that key in dictionary entered by the
user.
6. Write a Python program to pass a string to a function and count how many vowels are present in the string.
7. Write a Python program to generate random numbers between 1 and 6.
8. Write a Python program to implement any 5 mathematical built-in functions.
9. Write a Python program to implement any 5 string built-in functions.
10. Write a Python program to read and display the file content line by line with each word separated by #.
11. Write a Python program to remove all the lines that contain the character ‘a’ in a file and write it to another file.
12. Write a Python program to read characters from keyboard one by one. All lowercase letters to be stored inside a
file named “lower”. All uppercase letters to be stored inside a file “upper”.
13. Write a Python program to create a binary file with name and roll number. Search for a given roll number and
display the name, if not found display appropriate message.
14. Write a Python program to create a binary file with roll number, name and marks. Input a roll number and
update the marks.
15. Write a Python program to create a CSV file to store Empno, Name and Salary. Search and display Name and
Salary of a given Empno, if not found display appropriate message.
16. Write a Python program create a CSV file to store Rollno, Name and Marks. Also read the content from CSV file.
17. Write a Python program to create a CSV file by entering the user-id and password. Read and search the password
for a given user-id.
18. Write a Python Program demonstrate the stack operation to push the Book details – b_ID, b_NAME, b_PRICE,
delete using pop() function and display the stack elements.
SQL Questions:
1. Consider the following table named EXAM with details of marks. Write command of MySQL for (i) to
(iv) and output for (v) to (vii).
Table EXAM
Adno SName Percentage Clsection Stream
R001 Sushanth 90.2 12A Science
R002 Vaidhyanath 80.5 12B Humanities
R003 Miara 68.9 12B Science
R004 Niara 96.0 12A Commerce
R005 Shinjini 88.9 12D Commerce
(i) To display all information of the students of humanities in descending order of percentage.
(ii) To display Adno, Name, Percentage and Stream of those students whose name is less than 6
characters long.
(iii) To add another column Bus_Fees with datatype and size as Decimal(8,2).
(iv) To increase percentage by 2% of all the Humanities students.
Scode Pname Supname Qty City Price
102 Biscuit Hide and Seek 100 Delhi 10.00
103 Jam Kissan 110 Kolkatta 25.00
101 Coffee Nestle 200 Kolkatta 55.00
106 Sauce Maggi 66 Mumbai 55.00
107 Cake Britania 72 Delhi 10.00
104 Maggi Nestle 150 Mumbai 10.00
105 Chocolate Cadbury 170 Delhi 25.00
2. Consider the table SHOPEE given below. Write commands in MySQL for (i) to (iv) and output for (v) to
(vii).
TABLE: SHOPEE
(i) To display names of the product, whose name starts with ‘C’ in ascending order of Price.
(ii) To display code, product name and City of the products whose quantity is less than 100.
(iii) To count distinct Company in the table.
(iv) To insert a new row in the table SHOPEE.
110, ‘Pizza’, ‘Papa Jones’, 120, ‘Kolkata’, 50.00
3. Consider the following table named SBOP with details of account holders. Write commands of MySql
for (i) to (iv) and output for (v) to (vii).
TABLE SBOP
4. Consider the table PERSONS given below. Write commands in SQL for (i) to (iv)
Table: PERSONS
(i) Display the SurName, FirstName and City of people residing in Udhamwara city.
(ii) Display the Person IDs (PID), Cities and Pincode of persons in descending order of Pincode.
(iii) Display the FirstName and City of all the females getting Basic salaries above 40000.
(iv) Display FirstName and BasicSalaries of all the persons whose first name start with ‘G’.
5. Consider the following table FITNESS with details about fitness products being sold in the store. Write
command of SQL for (i) to (iv)
TABLE FITNESS
(i) To display the names of all the products with price more than 20000.
(ii) To display the names of all products by the manufacturer ‘Aone’.
(iii) To change the price data of all the products by applying 25% discount reduction.
(iv) To add a new row for product with the details: ‘P7’, ‘Vibro Exerciser’, 28000, ‘Aone’.