FRM Course Syllabus IPDownload
FRM Course Syllabus IPDownload
CO2 :: Determine Python programs using various collection data types such as list, string and
dictionary
CO3 :: Examine many of the standard Python modules such as sys, math, and time
CO6 :: Discuss regular expressions in python such as findall, search, split and sub
Unit I
Introduction and basic Python syntax : a brief history of python, python versions, installing
python, environment, variables, executing python from the command line, idle, editing python files,
python documentation, getting help, dynamic types, python reserved words and naming conventions,
basic syntax: basic syntax, comments, string values, string methods, the format method, string
operators, numeric data types, conversion functions, simple output, simple input, the % method and
the print function.
Unit II
Language components and collections : indenting requirements, the if statement, relational and
logical operators, bit wise operators, the while loops, break and continue and the for loop, collections:
introduction, lists, tuples, sets, dictionaries, sorting dictionaries, copying collections and summary.
Unit III
Functions in Python : introduction, defining your own functions, parameters, function
documentation, keyword and optional parameters, passing collections to a function, variable number
of arguments, scope, functions - "first class citizens", passing functions to a function, map, filter,
mapping functions in a dictionary, lambda, inner functions and closures.
Unit IV
Python modules and exceptions : modules, standard modules – sys, standard modules – math,
standard modules – time and the dir function, exceptions: errors, runtime errors, the exception
model, exception hierarchy, handling multiple exceptions, raise and assert.
Unit V
Input, output and creation of classes in Python : introduction, data streams, creating your own
data streams, access modes, writing data to a file, reading data from a file, additional file methods,
using pipes as data streams and handling io exceptions, classes: classes in python, principles of
object orientation, creating classes, instance methods, file organization, special methods, class
variables, inheritance and polymorphism.
Unit VI
Regular expressions in Python : introduction, simple character matches, special characters,
character classes, quantifiers, the dot character, greedy matches, grouping, matching at beginning or
end, match objects, substituting, splitting a string, compiling regular expressions and flags.
Visualization using Matplotlib : introduction, pip install, overview of Matplotlib and its role in data
visualization, plot, marker, adding title and labels, adding grid lines and legend, multiple plots, sub
plot, scatter plots, bar plots, pie chart
Text Books:
1. PYTHON PROGRAMMING by ANURAG GUPTA, G BISWAS, Mc Graw Hill Education
References:
1. EXPLORING PYTHON by TIMOTHY A. BUDD, MCGRAW HILL EDUCATION