PROGRAMMING THROUGH PYTHON

Paper Code: 
MCA 323
Credits: 
04
Periods/week: 
04
Max. Marks: 
100.00
Objective: 

This course enables the students to

  1. Demonstrate the Modules and packages used in Python Programming.
  2. Differentiate different modules and packages used in Python.
  3. Evaluate using different functions, packages in applications.
  4. Construct new ideas where the knowledge of Python can be implemented.

Learning Outcome (at course level)

 

Learning and teaching strategies

Assessment Strategies

CO98. Determine how to use Oops concepts using Python.

CO.99 Compare and analyze different packages used in Python.

CO100. Evaluate, analyze and handle the exceptions in Python programming.

CO101. Create new ideas where the knowledge of Python can be implemented.

Approach in teaching:

Interactive Lectures, Modeling, Discussions, implementing enquiry based learning, Student centered approach, Through audio-visual aids

 

Learning activities for the students:

Experiential Learning, Presentations, Case based learning, Discussions, Quizzes

and  Assignments

  • Assignments
  • Written tests in classroom
  • Classroom Activity
  • Objective Quiz
  • Semester End Exam

 

12.00
Unit I: 
Introduction and overview

Introduction, What is Python, Origin, Comparison, Comments, Variables and Assignment, Identifiers, Basic Style Guidelines, Python Objects, Standard Types, Other Built-in Types, Internal Types, Operators, Built-in Functions, Numbers and Strings. Introduction to Numbers, Integers, Floating Point Real Numbers, Complex

Numbers, Sequences: Strings, Sequences, Strings, String-only Operators, Built-in Functions, String Built-in Methods, Special Features of Strings, , Memory Management, Python Application Examples

 

12.00
Unit II: 
Lists and Dictionaries

Built-in Functions, List type built in Methods,   Special Features of Lists, Tuples, Tuple Operators and

Built-in Functions, Special Features of Tuples, Introduction to Dictionaries, Built-in Functions, Built-in Methods, Dictionary Keys,  

Conditionals and Loops: if statement, else Statement, elif Statement, while Statement, for Statement, break Statement, continue Statement, pass Statement, else Statement

 

12.00
Unit III: 
Object, Classes and Files

Classes in Python, Principles of Object Orientation, Creating Classes, Instance Methods, Class variables,

Inheritance, Polymorphism, Type Identification, File Objects, File Built-in Function, File Built-in Methods, File Built-in Attributes, Standard Files, Command-line Arguments, File System, File Execution, Persistent Storage Modules.

 

12.00
Unit IV: 
Regular Expression and Exception Handling

Regular Expression: Introduction/Motivation, Special Symbols and Characters for REs, REs and Python.

What Are Exceptions? Exceptions in Python, Detecting and Handling Exceptions, Exceptions as Strings, Raising Exceptions, Assertions, Standard Exceptions

 

12.00
Unit V: 
Database Interaction

SQL Database connection using python, creating and searching tables, Reading and storing config information on database, Programming using database connections, Python Multithreading: Understanding threads, Forking threads, synchronizing the threads, Programming using multithreading

 

ESSENTIAL READINGS: 

Text Books:

  • Core Python Programming, R. Nageswara Rao, Dreamtech Press, Second Edition, 2018
  • Python Programming, Dr. M. Suresh Anand, Dr. R. Jothikumar, Dr. N. Vadivelan, Notion Press, First Edition, 2020
  • The Complete Reference Python, Martin C. Brown, McGraw Hill Education, Fourth Edition, 2018

 

 

REFERENCES: 

References:

  • Think Python, Allen B. Downey, O’Reilly Media, 2016
  • Programming and Problem Solving with Python, Amit Ashok Kamthane, Ashok NamdevKamthane, McGraw Hill HED, First Edition, 2017
  • Advanced Python Programming,  SakisKasampalis, Quan Nguyen, Dr Gabriele Lanaro, Ingram short title, 2019  
Academic Year: