22IPC513 ADVANCED PROGRAMMING USING PYTHON SEMESTER V
PREREQUISITES CATEGORY L T P C
NIL PC 3 0 0 3
Course Upon completion of this course, the students will be familiar with, Python syntax and its flow
Objectives control, Basic data structures like string, list, tuple, dictionary and set; Advanced data structures like
Numpy, data frames; Object oriented concepts of Python; Exception handling, file handling and
Web development
UNIT – I CONTROL FLOW STATEMENTS AND BASIC DATA 9 Periods
STRUCTURES
Data types, Variables, Operators, Conditional statements, Loops- while, for; Functions- structure, parameters types,
return types- single and multiple; packages and modules (modularization) - importing. Strings- indexing, slicing,
operators and methods, List- creation, accessing, deleting, updating operations, functions, methods, comprehension,
Tuple – creation, accessing, deleting, updating operations, conversion (list/string), methods and functions, Dictionary
– accessing, deleting, updating operations methods and functions, sets - accessing, deleting, updating operations
methods and functions. Case study – Anagrams, binary search, bubble sort, calendar, color picker, datetime,
dictionary, FLAMES, Fibonacci recursion, Hangman, Magic square, guess the word, Montehall.
UNIT – II ADVANCED DATA STRUCTURES IN PYTHON 9 Periods
Numpy - Creating Arrays, Data Type Objects, Numerical Operations Numpy Arrays: Concatenating, Flattening and
Adding Dimensions, Numpy: Boolean Indexing, Reading and Writing Data Files.
DataFrames - Accessing and Changing values, Pandas - groupby, Reading and Writing Data, Dealing with NaN,
Binning in Python and Pandas,Generators and Iterators. Case study – Analysis of graph, Gambling, gmplot, graph,
graph edge node, image compression, image transposition, image enhancing, making an image, Numpy matrix
operations, Tictactoe.
UNIT – III OBJECT-ORIENTED PARADIGM AND GUI 9 Periods
Classes and Objects, Method overloading and overriding, Data hiding, Data abstraction, Inheritance, copying, and
cloning objects. Introduction to GUI, create a web page using GUI functionality. Case study – Rock paper scissor,
snake and ladder.
UNIT – IV FILES AND EXCEPTION HANDLING 9 Periods
Files – opening, closing, reading and writing, renaming and deleting, file, and dictionary-related standard functions.
Exception handling – introduction, use of finally and else block, raise statement, user-defined exception. Case study -
simple web application creation using Python. Case study – time zones, substitution cipher.
UNIT – V WEB DEVELOPMENT 9 Periods
Creating models with SQLAlchemy, Views, Controllers, Securing App, RESTful API, Introduction about
PySpark, Deploying and Testing Flask App.
Contact Periods:
Lecture: 45 Periods Tutorial: 0 Periods Practical: 0 Periods Total: 45 Periods
TEXT BOOK :
1 Anuratha A. Puntambekar, “Programming with Python”, Technical publications, 1st edition, 2020.
2 BerndKlein, “Python Course Data Analysis With Python”, Bodenseo, 1st edition, 2021.
Daniel Gaspar, Jack Stouffer, “Mastering Flask Web Development- Build enterprise-grade, scalable
3 Python web applications”, packt publishing, 2nd edition, 2018.
4 https://spark.apache.org/docs/latest/api/python/getting_started/index.html
REFERENCES :
1 Jeeva Jose, “Taming Python by Programming”, Khanna Book Publishing Company, New Delhi, 1st edition, 2017.
2 Jeeva Jose, “Introduction to Computing and Problem Solving with Python”, Khanna Book Publishing Company,
New Delhi, 1st edition, 2016
3 Case study- ( Joy of computing in Python) - https://onlinecourses.nptel.ac.in/
4 https://www.udemy.com/course/complete-python-developer-zero-to-mastery/
5 https://www.coursera.org/learn/python-crash-course
COURSE OUTCOMES: Bloom’s Taxonomy
Mapped
Upon completion of the course, the students will be able to:
CO1 Understand the syntax and control flow algorithms. K2
CO2 Identify and apply the correct data structure for programming. K3
CO3 Analyze the suitability of Numpy and data frames for organizing data. K4
CO4 Program and debug object-oriented concepts. K2
CO5 Handle exceptions in the program and the operations in files K2
COURSE ARTICULATION MATRIX :
a) CO and PO Mapping
COs/POs PO PO PO PO PO PO PO PO PO PO PO PO PSO1 PSO2
1 2 3 4 5 6 7 8 9 10 11 12
CO1 3 3 2 3 1 - - - 2 3 1 2 1 3
CO2 2 1 1 2 2 - - - 3 2 2 3 1 2
CO3 3 1 2 3 3 - - - 2 2 1 1 2 2
CO4 2 1 3 3 3 - - - 3 3 1 1 1 2
CO5 3 3 1 2 2 - - - 3 3 2 3 3 2
22IPC513 3 2 2 3 2 - - - 3 3 1 2 1 2
1 – Slight, 2 – Moderate, 3 – Substantial
b) CO and Key Performance Indicators Mapping
CO1 1.3.1,1.4.1, 2.1.1, 2.2.2, 2.2.4, 3.1.4, 3.1.6, 4.3.4, 5.1.2, 5.2.1, 9.3.1, 10.1.1, 10.3.2, 11.2.1, 11.3.1, 12.3.1,
12.3.2
CO2 1.3.1,1.4.1, 2.1.1, 2.2.2, 2.2.4, 3.1.4, 3.1.6, 4.3.4, 5.1.2, 5.2.1, 9.3.1, 10.1.1, 10.3.2, 11.2.1, 11.3.1, 12.3.1,
12.3.2
CO3 1.3.1,1.4.1, 2.1.1, 2.2.2, 2.2.4, 3.1.4, 3.1.6, 4.3.4, 5.1.2, 5.2.1, 9.3.1, 10.1.1, 10.3.2, 11.2.1, 11.3.1, 12.3.1,
12.3.2
CO4 1.3.1,1.4.1, 2.1.1, 2.2.2, 2.2.4, 3.1.4, 3.1.6, 4.3.4, 5.1.2, 5.2.1, 9.3.1, 10.1.1, 10.3.2, 11.2.1, 11.3.1, 12.3.1,
12.3.2
CO5 1.3.1,1.4.1, 2.1.1, 2.2.2, 2.2.4, 3.1.4, 3.1.6, 4.3.4, 5.1.2, 5.2.1, 9.3.1, 10.1.1, 10.3.2, 11.2.1, 11.3.1, 12.3.1,
12.3.2
ASSESSMENT PATTERN – THEORY
Test / Bloom’s Remembering Understanding Applying Analyzing Evaluating Creating Total
Category* (K1) % (K2) % (K3) % (K4) % (K5) % (K6) % %
CAT1 40 20 - 20 20 - 100
CAT2 40 20 - 20 20 - 100
Individual
Assessment 1
/Case Study 1/ 10 20 20 20 20 10 100
Seminar 1 /
Project1
Individual
Assessment 2
/Case Study 2/ 10 20 20 20 20 10 100
Seminar 2 /
Project 2
ESE 40 40 - 20 - - 100