1. Explain the concept of String Operations with relevant Examples?
2. Design a program to calculate the compound interest for given principal of 5000, rate
of interest- 6%, and number of times the interest is compounded annually (n=6, T=3).
3. Find the concept for weather forecasting for the winter using Python Programming
4. Describe List, Tuples, sets and dictionaries with an example.
5. Explain slicing concept and write a Python code with explanation.
6. Create a python code For the fluctuation of rate in electronic gadgets.
7. Create a class Books to handle Arranging in order.
Private attributes: grades (list of integers).
Public attributes:Book name, Book_id,Subjects
Methods:
Book_id() to in sequence order.
subject() to find subjects and arrange accordingly.
Collect() to maximum handles books.
8. Challenge: Add a private method is_count() and find the maximum subjects and
maximum books accessed using public method.
9. Design a class Gadgets having attributes Gadget_name and Model. Inherit the class in
subclass Mobile and Laptop. Design a function in_Model() in both subclasses .
Display that the Gadgets is possible or not with the Models provided.
10. Design a Program for Authentication using username and strong password
11. Demonstrate the database programming in python using MYSQL. Create a program
to connect to a MySQL database, create a table, insert data, and retrieve it.
12. Define Pangram. Write a client/server program to pass a string that is pangram.
13. Design a GUI interface to create a simple APK file.
14. Write a Program for 8-Queen Problem with Outputs
15. Create a Program for counting the word in a sentence by using String.
16. Design a program for Super market using database of fruits, vegetables choosing by
similar colors.
17. Illustrate I/O exception handling in python and write a python program for accessing
missed file.
18. Design a program for create an image and hide it then try to find the path of the
image.
19. Explain the difference between mutable and immutable data types. Is a string mutable
in Python? Why or why not?
20. Design a program to calculate the compound interest for given principal of 2000, rate
of interest- 4%, and number of times the interest is compounded annually (n=4, T=3).
21. A chatbot uses string operations to process and respond to user input. Example: User:
"What is the weather in New York?" Chatbot: "The weather in New York is sunny
and 75°F."
22. Write a function to extract keywords from user input (e.g., "weather" and "New
York"). Implement a function to match user input with predefined intents (e.g.,
"weather inquiry"). Normalize input by converting text to lowercase, removing
punctuation, and handling abbreviations.
23. Describe function and module in python.
24. Create a python code to multiply two matrices using nested loops.
25. Elucidate the below function in Python List with an example. (i) del (ii) remove (iii)
sort (iv) insert (v) pop (vi) slicing
26. Create a class Student to handle student grades.
Private attributes: grades (list of integers).
Public attributes: name, student_id.
Methods:
add_grade(grade) to add a grade to the list (validate that grades are
between 0 and 100).
get_average() to calculate the average of all grades.
highest_grade() to return the highest grade.
27. Challenge: Add a private method is_passing() that checks if the average grade is
above 50, and make it accessible via a public method.
28. Design a class Shape having attributes shape_name and num_sides. Inherit the class
in subclass triangle and rectangle. Design a function in_sides() in both subclasses
which will take number of input as value passed for sides. Display that the shape is
possible or not with the side provided.
29. Create a program to read a text file “RECORD.txt” from the local directory. The first
line of the file contains the number of records to be inserted which is used for the next
operation. Next open the same file to insert the record. Each record has name of the
student, branch of the student and marks for SUB1, SUB2, SUB3, SUB4, SUB5.
Again, open the file and find the student having maximum marks in SUB1.
30. Demonstrate the database programming in python using MYSQL. Create a program
to connect to a MySQL database, create a table, insert data, and retrieve it.
31. Define Pangram. Write a client/server program to pass a string that is pangram.
32. Design a GUI interface to create a simple contact book with:
Fields to input a name, phone number, and email.
Buttons to add, update, delete, and view contacts.
Display contacts in a list box or table.
31.Consider the integer variable x with an initial value of x = 8. Perform the following
bitwise shift operations and calculate the resulting value for (i) x >> 3 (ii) x << 2
32.Create a program to calculate the frequency of each character in a string and store it in a
dictionary, ignoring case.
33.List the key differences between overloading and overriding in object-oriented
programming concept.
34.Illustrate I/O exception handling in python and write a python program for accessing
missed file.
35.Explain the concept of multithreading and the need for thread synchronization