The document outlines a list of experiments for a Python programming course, divided into 10 sections. It includes programs using data types, operators, conditional and control statements, functions, strings, lists, dictionaries, files, database connectivity, and data visualization. Some example programs are converting Celsius to Fahrenheit, calculating area of a circle, sorting words alphabetically, merging and sorting lists, searching dictionaries, and plotting graphs. The course is offered at Saveetha Institute of Medical and Technical Sciences, Saveetha School of Engineering, Saveetha University, Chennai.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
80 views
Python Lab Experiments
The document outlines a list of experiments for a Python programming course, divided into 10 sections. It includes programs using data types, operators, conditional and control statements, functions, strings, lists, dictionaries, files, database connectivity, and data visualization. Some example programs are converting Celsius to Fahrenheit, calculating area of a circle, sorting words alphabetically, merging and sorting lists, searching dictionaries, and plotting graphs. The course is offered at Saveetha Institute of Medical and Technical Sciences, Saveetha School of Engineering, Saveetha University, Chennai.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
SAVEETHA INSTITUTE OF MEDICAL AND TECHNICAL SCIENCES
SAVEETHA SCHOOL OF ENGINEERING
SAVEETHA UNIVERSITY, CHENNAI-602105
CS018–Python Programming
List of Experiments
1. Programs using Data types, Operators and Expression
(a) Write a program to convert Celsius to Fahrenheit (b) Write a program to calculate area of a Circle (c) Write a program to calculate Simple Interest for the given principal amount 2. Programs using Conditional Statements. (a) Write a program to find grade and average marks of a student (b) Write a program to find Greatest of three numbers. (c) Write a program to solve Quadratic Equation. 3. Programs using Control Statements. (a) Write a program to find sum of N numbers (b) Write a program to find factorial of given number (c) Write a program to implement a multiplication table. (d) Write a program to find Fibonacci series of a given number 4. Programs using Functions. (a) Write a program to implement a simple calculator (b) Write a program to find odd or even number (c) Write a program to find factorial of given number using recursion (d) Write a program to find Fibonacci series of a given number using recursion 5. Programs using Strings. (a) Write a program to check whether a given string is Palindrome (b) Write a program to check whether a given string is Anagram. (c) Write a program to count number of words and characters in a given string. (d) Write a program to sort words in alphabetical order. (e) Write a program to count number of vowels in a given string. 6. Programs using List (a) Write a program to find a maximum element in a list without using built in function (b) Write a program to merge two lists and sort it. (c) Write a program to sort a list according to the length of the elements. (d) Write a program to perform linear search in a given list. (e) Write a program to print prime numbers in a given list. 7. Programs using Dictionaries (a) Write a program to concatenate two dictionaries. (b) Write a program to search a key element from a dictionary (c) Write a program to print product of all elements. (d) Write a program to delete a key from dictionary. (e) Write a program to count frequency of words using dictionary. SAVEETHA INSTITUTE OF MEDICAL AND TECHNICAL SCIENCES SAVEETHA SCHOOL OF ENGINEERING SAVEETHA UNIVERSITY, CHENNAI-602105
8. Programs using Files
(a) Write a program to find occurrences of a given word in a text file. (b) Write a program to find occurrences of a given letter in a text file. (c) Write a program to count number of words in a text file. (d) Write a program to count number of letters in a text file. (e) Write a program to count number of lines in a text file.
9. Write a program to create database connectivity with MYSQL and create a table for maintaining employee database with employee’s details.
10. Write a program to plot the following: -
a) Bar Graph b) Scatter Plot c) Pie Chart d) Histogram
Instant Access to Speech and Language Processing for Human Machine Communications Proceedings of CSI 2015 1st Edition S. S. Agrawal ebook Full Chapters