Pages

 https://download.code-projects.org/details/e72ea346-5a88-416a-969e-1652dc966084


https://github.com/elyse502/prescripto

Python External Practical programs

 Batch I 

0. Sorting :  bubble sort and insertion sort and  selection sort and  linear search. and binary search.  

1. Write Ducktyping, Operator Overloading, Method Overloading & Method Overriding

3. Write a Python program that matches a string that has an 'a' followed by : A) zero or more b's. B) one or more b's. C) zero or one 'b' D) three 'b'. E) two to three 'b'.

5. Write a Python program to check that a string contains only a certain set of characters : (in this case a-z, A-Z and 0-9).

5. Write a Python program that matches a string that starts with a specific number.

6. Write a program that accepts a string from the user and writes it to a text file. Thereafter, the same program reads the text file and displays it on the screen.

7. Write python GUI code using tkinter to demonstrate use of place layout manager. (make use of label, entry and button widget)

8. Write a Python program to demonstrate use of try/except/else and finally in exception handling

9. Write python code to demonstrate various constructs available for control structures in python  (for and while).

12. Write python code to demonstrate the use of : A. Anonymous function lambda  B. Mapping functions over Sequences C. Functional programing using filter D. Functional programing using reduce

13. Write a program to demonstrate the slice operator and use it with different python data types (atleast 3)

14. Demonstrate the following with respect to tuple A) Accessing elements B) Concatenation C) Repetition D) Membership E) Slicing

15. Create a dictionary ‘ODD’ of odd numbers between 1 and 10, where the key is the decimal number and the value is the corresponding number in words. Perform the following operations on this dictionary: (a) Display the keys (b) Display the values (c) Display the items (d) Find the length of the dictionary (e) Check if 7 is present or not (f) Check if 2 is present or not (g) Retrieve the value corresponding to the key 9 (h) Delete the item from the dictionary corresponding to the key 9

16. Write a program to create a moduleuse it in other program by renaming it. Demonstrate different ways to use a module in your program.

17. Write a program to input a string from the user and print it in the reverse order without creating a new string


BATCH II

1. Write a Python program to demonstrate single, multilevel and multiple Inheritance

4. Write a Python program to find sequences of lowercase letters joined by an underscore.

5. Write a Python program to check for a number at the end of a string.

8. Write Python program: 

    A) prompts the user to input two numbers and raises a TypeError exception if the inputs are not numerical.

    B) that opens a file and handles a FileNotFoundError exception if the file does not exist.

13. Write a user-defined function to check if a number is present in the list or not. If the number is present, return the position of the number. Print an appropriate message if the number is not present in the list.

15. Write a program to count the number of times a character appears in a given string (Hint: Use Dictionary)

17. Write a Python program to square and cube every number in a given list of integers using Lambda.


BATCH III 




BATCH IV

2. Write a Python program to demonstrate Inner class and  Outer class

4. Write a Python program that matches a string that has an 'a' followed by anything ending in 'b'.

5. Write a Python program to match a string that contains only upper and lowercase letters, numbers, and underscores.

7. Write python GUI code using tkinter to convert degree celicus to Farenheight. The formula is farenenheight = (celcius * 9/5) + 32. Lamda

8. Write a Python program to demonstrate how to catch multiple specific exceptions

13. A program to calculate average marks of n students using a function where n is entered by the user. (Use List)

14. Write a program with a user defined function to count the number of times a character (passed as argument) occurs in the given string.

15. Write a program to input your friends’ names and their Phone Numbers and store them in the dictionary as the key-value pair. Perform the following operations on the dictionary:

a) Display the name and phone number of all your friends

b) Add a new key-value pair in this dictionary and display the modified dictionary

c) Delete a particular friend from the dictionary

d) Modify the phone number of an existing friend

e) Check if a friend is present in the dictionary or not

f) Display the dictionary in sorted order of names

17. Write a program using a user defined function to check if a string is a palindrome or not. (A string is called palindrome if it reads same backwards as forward. For example, Kanak is a palindrome.)


BATCH V

1. Write a Python program to demonstrate abstract class and the use of use of the super method to call base class method

4. Write a Python program that matches a word at the beginning of a string.

5. Write a Python program that matches a word containing 'z', not the start or end of the word.

13. Demonstrate the following with respect to a dictionary:

 A) Adding a new item B) Modifying an existing item C) traversing a dictionary D) Membership E) Use of builtin functions

14. Demonstrate the following with respect to string:  A) Accessing elements B) Concatenation C) Repetition D) Membership E) Slicing

17. Write a program which reverses a string passed as parameter and stores the reversed string in a new string. Use a user defined function for reversing the string.


Additional Programs

1. Write python GUI code using tkinter to demonstrate use of the pack layout manager. The program should add two numbers and display the result (make use of appropriate number of label, entry and button widgets)

2. Write python GUI code using tkinter to demonstrate use of grid layout manager. The program should divide two numbers and display the result (make use of appropriate number of label, entry and button widgets)

3. Write a Python program to create a class. The class should allow to initialize the object with default values if the user does not initialize the instance. The class should have methods to Read, Modify and Display the contents of the instantiated object.

4. Write a python program to:

    A. reverse a string using slicing. 

    B. find sequences of lowercase letters joined by an underscore.

5. Write a program using python that creates a file with the name mypython.txt. Further, the program should read three lines of text from the user and save them into the file mypython.txt.

    Thereafter, the same program should read the text file and display it on the screen.


 ALL IN ONE 

πŸ§‘‍πŸ’»MSc (CS)

 πŸŒ DBMS : Internal & External Exam Slips PDF link πŸ”— :

https://www.mediafire.com/file/lfbajs8bej5wm3d/Lab_I-DBM+Internal+Slips.pdf/file

🌍All Java Practice Program πŸ”— :


🌍 Research Methodology All PPT LiksπŸ”— :

https://snipsave.com/user/ujwalsonawane/snippet/L6SHPGwK8qSQ6iadX4/


 πŸŒ Compiler Construction : Imp Questions link πŸ”— :

https://snipsave.com/user/ujwalsonawane/snippet/L6SHPGwK8qSQ6iadX4/


🌍Google Classroom Personal Class Link πŸ”—:

  Classroom  Code  :  4tsn3qa