Uploaded by Vishakha Agarwal

python lab

advertisement
School
: School of Commuter
Science and Engineering
Year: 1
Subject Name : Fundamentals of
Python Programming
Department : CSE
Semester: 1
Subject Code : ES206P
List of Practical
Practical
No.
Practical
CO
1
To write a python program that takes in command line arguments as input and
print the number of arguments
To write a python program find the square root of a number (Newton’s
method).
To write a python program exponentiation (power of a number).
To write a python program to perform Matrix Multiplication.
To write a python program find the maximum of a list of numbers.
To write a python program to find the most frequent words in a text read from
a file
To write a python program to find the most frequent words in a text file.
To write a python program to Simulate elliptical orbits in Pygame
To write a python program to compute the GCD of two numbers.
To write a python program linear search.
To write a python program Binary search.
To write a python program selection sort.
To write a python program Insertion sort.
To write a python program merge sort.
To write a python program first n prime numbers.
To write a python program simulate bouncing ball in Pygame.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
1
1
2
3
4
4
5
5
5
5
5
5
5
5
5
Text Books
:
1. Robert Sedgewick, Kevin Wayne, Robert Dondero, ―Introduction to Programming in Python: An Interdisciplinary Approach, Pearson India Education Services Pvt. Ltd., 2016.
2. Let Us Python - 4th edition (5 December 2021); BPB PUBLICATION
Reference Books :
1. Python: The Complete Reference , by Martin C. Brown , McGraw Hill Education; Forth edition (20
March 2018)
2. Guido van Rossum and Fred L. Drake Jr, ―An Introduction to Python – Revised and updated for Python
3.2, Network Theory Ltd., 2011.
Download