0% found this document useful (0 votes)
67 views3 pages

About

Python Programming

Uploaded by

joyaljms98
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)
67 views3 pages

About

Python Programming

Uploaded by

joyaljms98
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/ 3

22-382-0105 PYTHON CATEGORY L T P CREDIT

PROGRAMMING
CORE 3 1 0 4

Prerequisite: Basic knowledge in Algorithms, Data structures

Course Outcomes
After completion of this course, students will be able to

CO1 Discuss various control structures and data structures in (Cognitive level : Understand)
Python.

CO2 Describe procedural and object oriented concepts (Cognitive level : Understand)

CO3 Implement GUI programming, and exception handling (Cognitive level : Apply)

CO4 Analysis of data with numpy,pandas. (Cognitive level : Analyze)

CO5 Create visualizations using python (Cognitive level : Apply)

Mapping of Course Outcomes with Programme Outcomes - Low=1, Medium=2, High=3

PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12

CO1 1 1 2 2 2

CO2 2 2 2 2 2 2

CO3 2 2 3 2 2

CO4 3 2 2 3 3 2 2

CO5 2 2 2 3 3 2 2

20
22-382-0105 PYTHON PROGRAMMING
UNIT I (6 Hours)
Introduction to computer programming: Python as a programming language. Python Data Types,
Strings: Basic Operation, Indexing and Slicing, String Methods, String Formatting Expressions,
String Formatting Method Calls, Comments, Expressions, Variables, and Assignments, Control
Structures, Looping and Branching.

UNIT II (8 Hours)
List: Basic List Operations, List Iteration and Comprehensions, Indexing, Slicing, Two
Dimensional Lists, Iterating through Two Dimensional Lists. Dictionaries: Basic Dictionary
Operations, Changing Dictionaries in Place, Methods, Example: Movie Database. Tuples and Sets
(Properties, Operators, and Methods). User-Defined Functions, Lambda Function, Zip Function,
Parameter Passing (thrusting mutable and immutable parameters). Recursion, Memory
Management During Recursive Function Calls. Global versus Local Namespaces.

UNIT III (11 Hours)


Objects and Classes, Defining a Class in Python, Constructors. Classes as Namespaces, Inheritance:
Multiple and Multilevel Inheritance, Modifying Built in Classes Using Inheritance, Operator
Overloading (Integer Class Operators only) Using Inheritance. Errors and Exceptions: Exception
Types, Exception Handling using Try & Except. User Defined Exceptions. Graphical User
Interfaces: Tkinter Widgets – Label, Text, Entry, Button, Canvas & Frames, Event-Based tkinter
Widgets, Designing GUIs, OOP for GUIs.Turtle Graphics: Familiarization of various Turtle
Graphics Methods, Moving and Repositioning Pointer, Drawing Geometric Shapes, Coloring of
Drawings. Simple animations using Open CV.

UNIT IV (12 Hours)Stack and Queue, Tree, Linked List : Operations (search, insert, delete).
Decorators in Python. Database Programming in Python with sqlite3: Creating Tables, Querying
(Inserting Tuples, Selecting Rows and Updating Tuples), Using Cursor to Iterate over Selected
Tuples. Files: Opening Files, Using FileText and Binary Files, Storing Python Objects in Files:
Conversions, Storing Native Python Objects: pickle, Storing Python Objects in JSON Format,
Storing Packed Binary Data: struct. NumPy: Creating Arrays (array() and arange(), reshape(),
sum(), min() and max() methods, Item wise arithmetic operations. Pattern Matching Using Regular
Expressions: Python Standard Library Module RE.
UNIT V (8 Hours)

Introduction to Pandas: Pandas data structures – Series and DataFrame, Data wrangling using
pandas: Loading a dataset into a dataframe, Selecting Columns from a dataframe, Selecting Rows
from a dataframe, Adding new data in a dataframe, Deleting data from a dataframe. Introduction to
Matplotlib: Scatter plot, Line plot, Bar chart, Histogram, Box plot. Visualize Distributions With
Seaborn. Web scraping: Beautiful Soup.

21
TEXT BOOKS/REFERENCES
1. Mark Lutz, ‘Learning Python’, 5th Edition, O'Reilly Media, Inc.
2. LjubomirPerkovic, “Introduction to Computing Using Python: An Application
Development Focus”, Wiley, 2012.
3. Charles Dierbach, “Introduction to Computer Science Using Python: A Computational
Problem-Solving Focus”, Wiley, 2013.
4. Kenneth A Lambert., Fundamentals of Python : First Programs, 2/e, Cengage
Publishing,2016

Web Resource:

1. https://onlinecourses.nptel.ac.in/noc19_cs41/preview
2. https://nptel.ac.in/courses/106106212
3. https://www.coursera.org/specializations/python-3-programming
4. https://www.coursera.org/specializations/python

22

You might also like