BMC301

Python Programming

L-T-P3-0-0 Credits3 Session2025-26 TypeTheory
Appears in 1 semester

MCA · Sem 3 (Core)

Syllabus

5 units · 40 lecture hours
Unit1

Unit 1: Introduction to Python

8 hrs

Introduction and Basics; Setting up path Python Data Variables & Operators: Data Variables and its types, id() and type() functions, Coding Standards, Input-Output: Printing on screen, Reading data from keyboard; Control Structures: if-else, elif, Nested if, Iteration Control structures, Break, Continue & Pass.

Unit2

Unit 2: String Manipulation

8 hrs

Accessing Strings, Basic Operations, String slices, Function and Methods. Lists: Introduction, Accessing list, Operations, Working with lists, Function and Methods. Tuple: Introduction, accessing tuples, Operations, Working, Functions and Methods.

Unit3

Unit 3: Dictionaries

8 hrs

Introduction, accessing values in dictionaries, Working with dictionaries, Properties, Functions. Functions: Defining & Calling a function, Passing arguments to functions – Mutable & Immutable Data Types, Different types of arguments, Recursion, Scope of variables;

Unit4

Unit 4: Modules and Packages

8 hrs

User-defined modules and Standard Library: random, numpy, scipy, sys, Math Module, String Module, List Module, Date & Time Module, Regular Expressions: match, search, replace; File Handling: Introduction, File Types, Creating, Opening, Closing, Renaming, Accessing and deleting files, File pointers, File Modes, Binary files.

Unit5

Unit 5: Exception Handling

8 hrs

Exception, Exception Handling, Except clause, Try? finally clause, User Defined Exceptions. Basics of Python for Data Analysis, Introduction to series and dataframes.

Course Outcomes (COs)5 outcomes

After completion of the course student will be able to:

  1. CO1Interpret the fundamental Python syntax and semantics and be fluent in the use of Python control flow statements.K1, K2
  2. CO2Express proficiency in the handling of strings and functionsK1, K2
  3. CO3Determine the methods to create and manipulate Python programs by utilizing the data structures like lists, dictionaries, tuples and sets.K3
  4. CO4Use OO concepts while programming in PythonK1, K2
  5. CO5Work with Python using GUI.K4

Suggested Readings

  1. Basin H., “Python for Beginners”, New Age International Publishers.
  2. Ramalho L., “Fluent Python”, SPD.
  3. Severance C., “Python for Everybody”, SPD.
  4. Brown M. C., “The Complete Reference”, Mc Graw Hill.
  5. Kanetkar Y. and Kanetkar A., “Let Us Python”, Bpb.
  6. Lutz M., “Learning Python”, SPD.

Official AKTU syllabus

This subject is on page 5 of the original AKTU PDF.

Official AKTU syllabus PDF ↗