Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

INT213

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

INT 213: Python Programming

L: 2 T: 0 P: 2 Credits: 3

Course Outcomes: Through this course students should be able to

CO1: analyze real life situational problems and think creatively about solutions of them.

CO2: Determine the methods to create and manipulate Python programs by utilizing the data
structures like lists, dictionaries, tuples and sets.

CO3: Articulate the Object-Oriented Programming concepts such as encapsulation, inheritance


and polymorphism as used in Python.

CO4: develop the ability to write database applications in Python.

CO5: analyze and visualize the data using python libraries

UNIT 1

Introduction : python programming language, introduction to program and debugging, formal


and natural language
Variables,Expression and Statements : Values and types, variables, variables name and
keywords, statements, operators and operand, order of operations, operations on string,
composition and comments
Conditionals and Iteration : modulus operator, boolean expressions, logic operators, conditional,
alternative execution, nested conditionals and return statements, while statements, encapsulation
and generalization
Functions and recursion : function calls, type conversion and coercion, math functions, adding
new function, parameters and argument, recursion and its use

UNIT 2

String : string a compound data type, length, string traversal, string slices, comparision, find
function, looping and counting
Lists : list values, length, membership, operations, slices, deletion, accessing elements, list and for
loops, list parameters and nested list
Tuples and Dictionaries : mutability and tuples, tuple assignment, tuple as return values, random
numbers and list of random numbers, counting and many buckets, dictionaries operations and
methods, sparse matrices, aliasing and coping

UNIT 3

Classes and objects : creating classes, creating instance objects, accessing attributes, overview of
OOP terminology
Object oriented programming terminology : Class Inheritance, Overriding Methods, Data
Hiding, Function Overloading.
UNIT 4

Files and exceptions : text files, writing variables, directories, pickling, exceptions
Building GUI using python : tkinter programming, tkinter widgets like button, canvas, entry,
frame, label, list box, menu, message, scale, text, spinbox, labelframe, tkMessagebox, standard
attributes, geometry management

UNIT 5

Using Databases with Python : Installation of MySQL Database Software, Verifying MySQL in
the windows Operating system , Installing MySQLdb Module, Verifying the MySQLdb Interface
Installation, Working with MySQl Databse, Using MySQL from python, Retrieving All Rows
from a Table, Inserting Rows into a Table, Deleting Rows into a Table, Updating Rows in a Table,
Creating Database Tables through python.

UNIT 6

Data visualization with matplotlib : line plot, multiple subplots in one figure, histograms, bar
charts, pie charts, scatter plots
Handling data with pandas : series, dataframes, read and write csv file, operations using
dataframe
Numpy arrays : numpy - datatype, array operations, statistical functions, broadcasting

Text Books

1. INTRODUCTION TO PROGRAMMING USING PYTHON by Y. DANIEL LIANG,


PEARSON.

References

1. PYTHON PROGRAMMING: USING PROBLEM SOLVING APPROACH by REEMA


THAREJA, OXFORD UNIVERSITY PRESS

You might also like