MSDY 122 PYTHON PROGRAMMING
L T P C
2 0 2 0
OBJECTIVES:
To introduce the basic concepts of python programming with values and
variables.
To know the basic arithmetic operators used in Python Programming.
To understand the importance of Python coding as a scripting language for
developers
To learn to use the important functions in python programming
To know the data structures and its usage in python programming.
MODULE I INTRODUCTION [9]
Introduction to Python Programming, development tools, values and variables,
integer values, variables and assignment, identifiers, floating point types, control
codes with strings, user input, Eval function, print function.
MODULE II ARITHMETIC EXPRESSION [9]
Expression and arithmetic, operator precedence and associatively, comments and
errors, syntax errors, run time errors, logic errors, arithmetic operators.
MODULE III CONDITIONAL STATEMENTS [9]
Conditional execution, Boolean expressions, simple if statement, if/else, compound
Boolean expressions, nested conditions, decision statements, conditional
expressions. Iterations, while statement, definite vs indefinite loops, nested loops,
abnormal loop termination.
MODULE IV FUNCTIONS [9]
Functions, standard mathematics functions, time function, random function,
importing function, writing own functions, parameter passing, custom function vs
standard functions. Global variables, default variables, recursion, reusable
functions, functions as data.
MODULE V LINEAR SEARCH [9]
Lists, List assignment, list bounds, slicing, list and functions, prime generation with
list, sorting, flexible sorting, search, linear search, binary search, list permutation,
random permutation, objects, string objects, list objects, custom types - geometric,
handling exceptions and Case Study.
TOTAL HOURS : 45
TEXT BOOKS:
1. LEARNING TO PROGRAM WITH PYTHON by Richard L. Halterman.(2011)
2. Guttag, John. Introduction to Computation and Programming Using Python. Spring
2013 edition. MIT Press, 2013.
REFERENCES:
1. Programming Python, 4th Edition by Mark Lutz (2010) O'Reilly Media
2. Python Cookbook, 3rd Edition: Recipes for Mastering Python 3, by David Beazley
and Brian K. Jones, on O’Reilly Atlas (2013)
OUTCOMES:
After completing this course, students will be able to apply various features
and components of Python programming in the field of data science.
Student will learn how to design and program Python applications.
Student will learn how to use lists, tuples, and dictionaries in Python
programs.
Student will learn how to identify Python object types.
Student will learn how to use indexing and slicing to access data in Python
programs.
Student will define the structure and components of a Python program.
Student will learn how to write loops and decision statements in Python