Lab Programs:
Lab 1 - 2 Experiment List:
#1. Write a program to demonstrate basic data type in python.
#2. write a program to compute distance between two points taking input from the user.
#3. Write a Program for checking whether the given number is an even number or not.
#4. Python program to print simple calculator
#5. Python program to find sqare root.
#6. Python Program to Calculate the Area of a Triangle
#7. Python Program to Swap Two Variables
#8. Python Program to Convert Celsius To Fahrenheit
#9. Python Program to Find the Largest Among Three Numbers
#10. Python Program to Check if a Number is prime or not
#11. Python program to demonstrate use of all arithmatic operators.
#12. Python program to demonstrate use of all logical operators.
#13. Python program to demonstrate use of membership operators.
#14. Python program to demonstrate use of Assignment Operators
#15. Python program to demonstrate use of Comparison operators.
#16. Python program to demonstrate use of bitwise operators.
#17. Python Program for cube sum of first n natural numbers.
#18. Python Program for Program to find area of a circle
Lab 3:
1.Creating a Python dictionary that represents book chapters (1 to 8) with nested items representing sections of any book.
2. Sorting of dictionary based on 1. Key and 2. Values
3. Python program demonstrating key-value pair deletion using del and pop and popitems
4. Find the size of a Dictionary in Python.
5. Find the sum of all items in a dictionary.
6. Handling missing keys in Python dictionaries.
7. Merging two Dictionaries.
Lab 4:
#1. Find the size of a Set in Python
#2. Iterate over a set in Python
#3. Python program to find Maximum and Minimum in a Set
#4. Python program to remove item from the set.
#5. Python program to demonstrate all bultin set functions.
#6. Python program to check if a given string is binary string or not
Lab 5 and 6:
#1. Python program to interchange first and last elements in a list
#2. Python program to swap two elements in a list
#3. Finding the length of list without using len() method.
#4. Python program to check if element exists in list in Python
#5. Python program to reverse the complete list.
#6. Python program to cloning or copieng the list using slicing method.
#7. Python program to count occurance of elements in the list
#8. Python program to find sum and average of List in Python
#9. Python program to multiply all numbers in a list.
#10. Python program to find smallest and largest number in a list
#11. Python program to print even and odd numbers in a list
#12. Python program to count positive and negative numbers in a list
Lab 7 :
# 01 Python program to find the size of a Tuple in Python
# 02 Python program to find the sum of tuple elements
# 03 Python program for adding tuple to list and vice – versa
# 04 Python program to demonstrate use of all built in tuple functions
# 05 Python program to test if tuple is distinct
# 06 Python program to remove duplicate tuples from list of tuples
Lab 8 and Lab 9 :
1. Write a Python function to find the Max of three numbers
2. Write a Python function to sum all the numbers in a list
3. Write a Python function to multiply all the numbers in a list.
4. Write a Python function to calculate the factorial of a number
5. Write a Python function to check whether a number falls in a given range
6. Write a Python function that accepts a string and calculate the number of upper case letters and lower case letters.
7. Write a Python function that takes a number as a parameter and check the number is prime or not.
8. Write a Python function that checks whether a passed string is palindrome or not.
9. Python function to Display Fibonacci Sequence Using Recursion
10. Python function to Find Factorial of Number Using Recursion
11. Python program to create calculator using function
12. python function to print calendar of a month that is passed as an argument.
Lab 10:
1. Python mini project to demonstrate modules and packages
Lab 11 :
Python Mini project to demonstrate use of OOPs concept in Python. Title should be different for every individual
Lab 12:
Lab Project : Understand what is vulnerable regular expressions, demonistrate
that how you can deploy a python script that demonstrate early detection of DoS Attack
by idntifying evil RegEx or vulnerable regEx.
1. Password validation where password must have atleast 8 character long, that should include 3 special characters (must not in starting and ending of the password), must contain at least two capital and two small letters. And must have one digit.
2. To match the date in the given statement (month followed by date).
3. Extract the email address and digits from the given paragraph.
4. Extract the numbers from the given paragraph and store those numbers in to list and find the largest among it.
5. From the given paragraph, extract the pancard numbers, stores them in to list and identify the pancards belongs to individual, government or trust.
Lab 13:
Python program that demonstrates exception handling of any 8 built-in exceptions.
Lab 14 : Already given. You can install MySQL Server and connect it with through they python script.
Lab 15: Create a simple chatbot that reads the instructions stored in JSON file and act accordingly.
Lab 16: Install MongoDB Server and use pymongo to demonstrate insertion, deletion, searching, finding and sorting operations.
Lab 17: TCP Socket program to create chatroom using python.