0% found this document useful (0 votes)
19 views7 pages

MC02094051

The document outlines the curriculum for the Programming with Python course at Gujarat Technological University for the Master of Computer Applications program, effective from the academic year 2024-25. It includes course objectives, outcomes, teaching schemes, course content, practical assignments, and references. The course aims to develop proficiency in Python programming, data structures, data visualization, and database connectivity.

Uploaded by

Krish Prajapati
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views7 pages

MC02094051

The document outlines the curriculum for the Programming with Python course at Gujarat Technological University for the Master of Computer Applications program, effective from the academic year 2024-25. It includes course objectives, outcomes, teaching schemes, course content, practical assignments, and references. The course aims to develop proficiency in Python programming, data structures, data visualization, and database connectivity.

Uploaded by

Krish Prajapati
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

GUJARAT TECHNOLOGICAL UNIVERSITY

Program Name: Master of Computer Applications


Level: Post Graduate
Course / Subject Code : MC02094051
Course / Subject Name : Programming with Python

w. e. f. Academic Year: 2024-25


Semester: 2
Category of the Course: Core Courses

Prerequisite: Basic Concept of Programming


Rationale:  To develop proficiency in creating applications using the Python
Programming Language.
 To be able to understand the various data structures available in Python
Programming language and apply them in solving computational problems.
 To be able to draw various kinds of data visualization techniques using PyLab,
matplotlib.
 To be able to understand the DB API in Python.

Course Outcome:
After Completion of the Course, Student will able to:
No. Course Outcomes RBT Level*
1 Demonstrate programs using simple Python statements, expressions, control AP
flow, lists, tuples & dictionaries
2 Explain and implement functions, files, exception, modules and packages AP
concept in Python for solving problems.
3 Demonstrate programs using object oriented concepts. AP
4 Demonstrate use of data visualization techniques using PyLab, matplotlib. AP
5 Demonstrate use of Regular expressions in python programming. AP
6 Demonstrate use of database connectivity in Python. AP
*RM: Remember, UN: Understand, AP: Apply, AN: Analyze, EL: Evaluate, CR: Create

Teaching and Examination Scheme:


Teaching Scheme Total Credits
Assessment Pattern and Marks
(in Hours) L+T+ (PR/2)
Total
Theory Tutorial / Practical Marks
L T PR C
ESE (E) PA / CA (M) PA/CA (I) ESE (V)
3 0 2 4 70 30 20 30 150

w.e.f. 2024-25 http://syllabus.gtu.ac.in/ Page 1 of 7


GUJARAT TECHNOLOGICAL UNIVERSITY
Program Name: Master of Computer Applications
Level: Post Graduate
Course / Subject Code : MC02094051
Course / Subject Name : Programming with Python
Course Content:
Unit Content No. of Weightage
No. Hours (%)
1 Introduction to Python 7 15%

The basic elements of Python, Objects, expressions and numerical


Types, Variables and assignments, IDLE

Branching programs, Strings and Input, Iteration

Structured Types, Mutability and Higher-order Functions: Tuples,


Ranges, Lists and Mutability (Cloning and list comprehension),
Strings, Tuples and Lists, Dictionaries
2 Functions, Exception, Modules and Files 10 20%
Functions: Difference between a Function and a Method, Defining
aFunction, Calling a Function, Returning Results from a Function,
Returning Multiple Values from a Function, Functions are First
Class Objects, Pass by Object Reference, Formal and Actual
Arguments, Positional Arguments, Keyword Arguments, Default
Arguments, Variable Length Arguments, Local and Global
Variables, The Global Keyword, Passing a Group of Elements to a
Function, Recursive Functions, Anonymous Functions or Lambdas
(Using Lambdas with filter() Function, Using Lambdas with map()
Function, Using Lambdas with reduce() Function), Function
Decorators, Generators, Structured Programming, Creating our Own
Modules in Python, The Special Variable name
Exceptions: Errors in a Python Program (Compile-Time Errors,
Runtime Errors, Logical Errors), Exceptions, Exception Handling,
Types of Exceptions, The Except Block, the assert Statement, User-
Defined Exceptions, Logging the Exceptions
Files: Files, Types of Files in Python, Opening a File, Closing a File,
Working with Text Files Containing Strings, Knowing Whether
a File Exists or Not, Working with Binary Files, The with
Statement,Pickle in Python, The seek() and tell() Methods
3 Classes and Object-oriented Programming 10 20%

Abstract Data Types and classes, Inheritance, Encapsulation and


Information hiding
Mortgages and Extended ExamplesCase Study: Banking Application
4 Advanced Topics I: Data Science and Data Visualization using 8 20%
Python

w.e.f. 2024-25 http://syllabus.gtu.ac.in/ Page 2 of 7


GUJARAT TECHNOLOGICAL UNIVERSITY
Program Name: Master of Computer Applications
Level: Post Graduate
Course / Subject Code : MC02094051
Course / Subject Name : Programming with Python
Data Science Using Python: Data Frame (Creating Data Frame
from an Excel Spreadsheet, Creating Data Frame from .csv Files,
Creating Data Frame from a Python Dictionary, Creating Data from
Python List of Tuples, Operations on Data Frames)
Data Visualization: Bar Graph, Histogram, creating a Pie Chart,
Creating Line Graph

Plotting: Plotting using PyLab, Plotting mortgages and extended


examples
5 Advanced Topics II: Regular Expressions 4 15%

REs and Python: Regular Expressions, Sequence Characters in


Regular Expressions, Quantifiers in Regular Expressions, Special
Characters in Regular Expressions, Using Regular Expressions on
Files, Retrieving Information from a HTML File
Case Study: Screen Scrapping
6 Python's Database Connectivity 3 10%
Verifying the MySQL dB Interface Installation, Working with
MySQL Database, Using MySQL from Python, Retrieving All Rows
from a Table, Inserting Rows into a Table, Deleting Rows from a
Table, Updating Rows in a Table, Creating Database Tables through
Python
Total Hours: 42

Suggested Specification Table with Marks (Theory):


Distribution of Theory Marks (in %)
R Level U Level A Level N Level E Level C Level
15 25 60 - - -
Where R: Remember; U: Understanding; A: Application, N: Analyze and E: Evaluate C: Create (as per
Revised Bloom’s Taxonomy)

References/Suggested Learning Resources:

1. Text Book(s):

1. John V Guttag. “Introduction to Computation and Programming Using Python”, 2nd


Edition, Prentice Hall of India
2. R Nageswara Rao, Core Python Programming, 2nd Edition, Dreamtech Press

w.e.f. 2024-25 http://syllabus.gtu.ac.in/ Page 3 of 7


GUJARAT TECHNOLOGICAL UNIVERSITY
Program Name: Master of Computer Applications
Level: Post Graduate
Course / Subject Code : MC02094051
Course / Subject Name : Programming with Python
2. Reference Books:
1) Wesley J Chun, Core Python Applications Programming, 3rd Edition. Pearson
2) Luke Sneeringer, Professional Python, WROX
3) Robert Sedgewick, Kevin Wayne, Robert Dondero, Introduction to Programming in
Python, Pearson
4) Doug Hellmann, The python 3 standard Library by example, Pearson Education
5) Alex Martelli, Python Cookbook, O’REILLY
6) Laura Cassell, Python Projects, WROX
7) Daniel Y Chen, Pandas for Everyone: Python Data Analysis, 1st Edition, Pearson
Eduction
Web Resources:
1) Charles Severance, Python for informatics: www.pythonlearn.com
2) Swaroop C H. "A Byte of Python", http://www.swaroopch.com/notes/python
3) "Python Programming", http://en.wikibooks.org/wiki/Python_Programming
4) "The Python Tutorial", http://docs.python.org/release/3.0.1/tutorial/
5) "Learn Python the Hard way", http://learnpythonthehardway.org/
6) Dive into Python 3: http://www.diveintopython.net/
Practical List
Tools: Python 3.x, IDLE
Part I: Core Python
 Basics

1 Write a Python Program to Convert Celsius to Fahrenheit and vice –a-versa.


2 Write a program in python to swap two variables without using temporary variable.
3 Write a Python Program to Convert Decimal to Binary, Octal and Hexadecimal
4 Write a program to make a simple calculator (using functions).
5 Write a program in python to find out maximum and minimum number out of three
user entered number.
6 Write a program which will allow user to enter 10 numbers and display largest oddnumber
from them. It will display appropriate message in case if no odd number is
found.
7 Write a Python program to check if the number provided by the user is an Armstrong
number.

w.e.f. 2024-25 http://syllabus.gtu.ac.in/ Page 4 of 7


GUJARAT TECHNOLOGICAL UNIVERSITY
Program Name: Master of Computer Applications
Level: Post Graduate
Course / Subject Code : MC02094051
Course / Subject Name : Programming with Python
8 Write a Python program to check if the number provided by the user is a palindrome or
not.
9 Write a Python program to perform following operation on given string input:
a) Count Number of Vowel in given string
b) Count Length of string (do not use Len ())
c) Reverse string
d) Find and replace operation
e) check whether string entered is a palindrome or not
10 Define a procedure histogram () that takes a list of integers and prints a histogram to thescreen.
For example, histogram ([4, 9, 7]) should print the following:
****
*********
*******
11 Write a program in python to implement Fibonacci series up to user entered number.
(Use recursive Function)
12 Write a program in python to implement Factorial series up to user entered number.
(Use recursive Function)
13 Write a program in Python to implement readline, readlines, write line and writelines
file handling mechanisms.

 Advanced
14 Write a program in python to implement Salary printing file read operation. (Fileformat:
Employee No, name, deptno, basic, DA, HRA, Conveyance) should perform below
operations.
a) Print Salary Slip for given Employee Number
b) Print Employee List for Given Department Number
15 Write a program in python to implement Railway Reservation System using filehandling
technique. System should perform below operations.
a) Reserve a ticket for a passenger.
b) List information all reservations done for today’s trains.
16 Write a Python program to implement module.
17 Write a program which will implement decorators for functions and methods in python.
18 Write a program to read CSV file and generate output using HTML table.
19 Write a program to process CSV file using CSV module.
20 Desirable: Write a program to process JSON and XML data.
21 Create Web Database Application “Address Book” with options to
a) add/ insert a record
b) modify a record

w.e.f. 2024-25 http://syllabus.gtu.ac.in/ Page 5 of 7


GUJARAT TECHNOLOGICAL UNIVERSITY
Program Name: Master of Computer Applications
Level: Post Graduate
Course / Subject Code : MC02094051
Course / Subject Name : Programming with Python
c) display a record
d) delete a record
22 Create Web Database Application “Event Registration” with options to
a) Event Registration
b) Cancel Registration
c) display a record

Part II: Advanced Topic: Data Analysis


1 Perform following operations on a CSV file
a. Create a data frame from csv file, dictionary, List of tuples
b. Operations on Data Frame Shape, head, tail
c. Retrieving rows / columns from data frame
d. Finding maximum and minimum values
e. Displaying statistical information
f. Performing queries
g. Data Analysis using groupby()

Part III: Advanced Topic: Data cleaning


1 Handling dirty data / missing data

Part IV: Advanced Topic: Python for Data Visualization


Library: pylab, matplotlib, seaborn
1 Write a program in python to implement simple interest and compound interest values on chart
using PyLab. Show the difference between both. (Note: Use of object oriented paradigm is
compulsory.)
2 Using a data file, draw
a. Bar Graph
b. Histogram
c. Pie Chart
d. Line Chart
3 Perform following operations on a CSV file
a. Create a data frame from csv file, dictionary, List of tuples
b. Operations on Data Frame Shape, head, tail
c. Retrieving rows / columns from data frame
d. Finding maximum and minimum values
e. Displaying statistical information
f. Performing queries
g. Handling missing data

w.e.f. 2024-25 http://syllabus.gtu.ac.in/ Page 6 of 7


GUJARAT TECHNOLOGICAL UNIVERSITY
Program Name: Master of Computer Applications
Level: Post Graduate
Course / Subject Code : MC02094051
Course / Subject Name : Programming with Python
Part V: Advanced Python Programming: Regular Expressions
1 Write a program in python to implement simple interest and compound interest values on chart
using PyLab. Show the difference between both. (Note: Use of object oriented paradigm is
compulsory.)
a) Recognize following strings bit, but, bat, hit, hat or hut
b) Match any pair of words separated by a single space, that is, first and last names.
c) Match any word and single letter separated by a comma and single space, as in last name,
first initial.
d) Match simple Web domain names that begin with www and end with a “.com” suffix; for
example, www.yahoo.com. Extra Credit: If your regex also supports other high-level domain
names, such as .edu, .net, etc. (for example: www.foothill.edu).
e) Match a street address according to your local format (keep your regex general enough to match
any number of street words, including the type designation). For example, American street
addresses use the format: 1180 Bordeaux Drive. Make your regex flexible enough to support
multi-word street names such as: 3120 De la Cruz
Boulevard.
2 Create utility script to process telephone numbers such that
a. Area codes (the first set of three-digits and the accompanying hyphen) are optional, that is,
your regex should match both 800-555-1212 as well as just 555-1212.
b. Either parenthesized or hyphenated area codes are supported, not to mention optional; make
your regex match 800-555-1212, 555-1212, and also (800) 555-1212.
3 Chapter End Practical List of Wesley J Chun, Core Python Applications Programming,
3rd Edition. Pearson

CO- PO Mapping:
Semester 2 Course Name: Programming in Python
POs
Course PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8
Outcomes
CO1 3 - - 2 - - - -
CO2 3 2 3 3 - - - -
CO3 3 2 3 3 - - - -
CO4 3 2 2 2 - - - -
CO5 3 2 3 2 - - - -
CO6 3 - 2 1 - - - 1

\Legend: ‘3’ for high, ‘2’ for medium, ‘1’ for low and ‘-’ for no correlation of each CO with PO.

*******

w.e.f. 2024-25 http://syllabus.gtu.ac.in/ Page 7 of 7

You might also like