0
12680

# GE8161-Problem Solving and Python Programming Laboratory Syllabus 2017 Regulation

GE8161Â Â Â Â Â Â Â Â Â Â Â Â  Â PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORY Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  L T P C Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â Â 0 0 4 2

OBJECTIVES:

• To write, test, and debug simple Python programs.
• To implement Python programs with conditionals and loops.
• Use functions for structuring Python programs.
• Represent compound data using Python lists, tuples, dictionaries.
• Read and write data from/to files in Python.

LIST OF PROGRAMS:

1. Compute the GCD of two numbers.
2. Find the square root of a number (Newtonâ€˜s method)
3. Exponentiation (power of a number)
4. Find the maximum of a list of numbers
5. Linear search and Binary search
6. Selection sort, Insertion sort
7. Merge sort
8. First n prime numbers
9. Multiply matrices
10. Programs that take command line arguments (word count)
11. Find the most frequent words in a text read from a file
12. Simulate elliptical orbits in Pygame
13. Simulate bouncing ball using Pygame

PLATFORM NEEDED

Python 3 interpreter for Windows/Linux

OUTCOMES:

Upon completion of the course, students will be able to:

• Write, test, and debug simple Python programs.
• Implement Python programs with conditionals and loops.

TOTAL: 60 PERIODS

• Develop Python programs step-wise by defining functions and calling them.
• Use Python lists, tuples, dictionaries for representing compound data.
• Read and write data from/to files in Python.
My name is Sugad Singh completed Master of Engineering. Recentquestionpaper.comÂ was started in the year 2016 to help students to get the sample questions, notes, Anna University News, Events, etc.,