ADVANCED PYTHON PROGRAMMING
Course Code BME358A
CIE Marks 50
Teaching Hours/Week (L:T:P: S) 0:0:2:0
SEE Marks 50
Total Hours of Pedagogy 15
Total Marks 100
Credits 01
Exam Hours 03
Examination type (SEE) Practical
Experiments
1 Demonstrate following functions/methods which operates on strings in Python with suitable
examples: i) len( ) ii) strip( ) iii) rstrip( ) iv) lstrip( ) v) find( ) vi) rfind( ) vii) index( ) viii) rindex(),ix) count( ) x) replace( ) xi) split( ) xii) join( ) xiii) upper( ) xiv) lower( ) xv) swapcase( ) xvi) title( ) xvii) capitalize( ) xviii) startswith() xix) endswith()
2 Implementing programs using Functions. (Factorial, largest number in a list, area of shape).
3 NESTED LISTS: Write a program to read a 3 X 3 matrix and find the transpose, addition, subtraction, multiplication of two 3 X 3 matrices, check whether two given 3 X 3 matrices are identical or not.
4 Implementing programs using Strings. (Reverse, palindrome, character count, replacing characters). Real time applications using sets and Dictionaries
5 Scientific problems using Conditionals and Iterative loops. (Number series and different Patterns).
6 Numpy Library: Linear Algebra
a) Write a python program to find rank, determinant, and trace of an array.
b) Write a python program to find eigen values of matrices
d) Write a python program to solve a linear matrix equation, or system of linear scalar equations
7 Graphics:
• Consider turtle object. Write functions to draw triangle, rectangle, polygon, circle and sphere. Use object oriented approach.
• Design a Python program using the Turtle graphics library to construct a turtle bar chart representing the grades obtained by N students read from a file categorizing them into distinction, first class, second class, third class and failed.
8 Create a colour images using NumPy in Python.
Demonstration Experiments ( For CIE )
9 Write a python program to implement Pandas Series with labels.
10 Implementing real-time/technical applications using File handling. (copy from one file to another, word count, longest word).
11 Implementing real-time/technical applications using Exception handling. (divide by zero error, voter’s age validity, student mark range validation).
12 Developing a game activity using Pygame like bouncing ball, car race etc.
0 Comments