This document contains an index listing 29 exercises for a Python Programming Lab course. The index includes the exercise number and name, the page number in the lab manual where the exercise is found, and the date and remarks columns. Exercises cover topics like basic Python instructions, operations, control flow, data structures, functions, files, and Python packages.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
9 views
Pythonlabfile Index2023
This document contains an index listing 29 exercises for a Python Programming Lab course. The index includes the exercise number and name, the page number in the lab manual where the exercise is found, and the date and remarks columns. Exercises cover topics like basic Python instructions, operations, control flow, data structures, functions, files, and Python packages.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2
INDEX
Python Programming Lab (CSP 005)
S.N List of Experiment Page Date Remarks
o. No. 1 Exercise 1- Basics a) Running instructions in Interactive 19/08/20 interpreter and a Python Script 01 23 2 Exercise 1- Basics b) Write a program to purposefully raise 19/08/20 Indentation Error and Correct it 02 23 3 Exercise 2- Operations a) Write a program to compute 26/08/20 distance between two points taking input from the user 03 23 (Pythagorean Theorem) 4 Exercise 2- Operations b) Write a program add.py that 26/08/20 takes 2 numbers as command line arguments and prints its 04 23 sum 5 Exercise 3-Control Flow a) Write a Program for checking 02/09/20 whether the given number is a even number or not 05 23 6 Exercise 3-Control Flow b) Using a for loop, write a 02/09/20 program that prints out the decimal equivalents of 1/2, 1/3, 06 23 1/4, . . . ,1/10 7 Exercise 3-Control Flow c) Write a program using a for 02/09/20 loop that loops over a sequence 07 23 8 Exercise 3-Control Flow d) Write a program using a while 02/09/20 loop that asks the user for a number, and prints a countdown 08 23 from that number to zero 9 Exercise 4 - CF- Continued write a program of Fibonacci 09/09/20 sequence 09 23 10 Exercise 4 - CF- Continued b) By considering the terms in 09/09/20 the Fibonacci sequence whose values do not exceed four 10-11 23 million,find the sum of the even -value 11 Exercise 4 - CF- Continued c) Linear search and Binary 09/09/20 search 12-13 23 12 Exercise 4 - CF- Continued d) Selection sort, Insertion 09/09/20 sort 14-15 23 13 Exercise - 5 - DS a) Write a program to count the numbers 16/09/20 of characters in the string and store them in a dictionary 16 23 data structure 14 Exercise - 5 - DS b) Write a program to use split and join 16/09/20 methods in the string and trace a birthday with a dictionary 17 23 data structure. 15 Exercise - 6 DS - Continued a) Write a program 23/09/20 combine_lists that combines these lists into a dictionary. 18 23 16 Exercise - 6 DS - Continuedb) Write a program to count 23/09/20 frequency of characters in a given file 19 23 17 Exercise - 7 Files a) Write a program to print each line of a 30/09/20 file in reverse order 20 23 18 Exercise - 7 Files b) Write a program to compute the 30/09/20 number of characters, words and lines in a file. 21 23 19 Exercise - 8 Functions a) Write a function ball_collide that 07/10/20 takes two balls as parameters and computes if they are 22 23 colliding 20 Exercise - 8 Functions b) Find the mean, median, and 07/10/20 mode for the given set of numbers in a list 23 23 21 Exercise - 9 Functions - Continued a) Write a function 14/10/20 nearly_equal to test whether two strings are nearly equal. 23 Two strings a and bare nearly equal when a single mutation 24 on b can generate a. 22 Exercise - 9 Functions - Continued b) Write a function 14/10/20 dups to find all duplicates in the list. 25 23 23 Exercise - 9 Functions - Continued c) Write a function 14/10/20 unique to find all the unique elements of a list 26 23 24 Exercise - 10 - Fun–Problem-Solving a) Write a function 21/10/20 cumulative_product to compute the cumulative product of a 27 23 list of numbers. 25 Exercise - 10 - Fun –Problem-Solving b) Write a function 21/10/20 reverse to reverse a list. Without using the reverse function 28 23 26 Exercise - 10 - Fun–Problem-Solving ) Write a function to 21/10/20 compute gcd, lcm of two numbers. Each function shouldn’t 29 23 exceed one line 27 Exercise - 11–Python Packages a) Install packages 28/10/20 requests, flask and explore them. using (pip) 30 23 28 Exercise - 11–Python Packages b) Plot graphs using 28/10/20 python and Matplotlib 31 23 29 Exercise - 11–Python Packages c) Data Analysis using 28/10/20 numpy and Pandas Libraries 32 23