Your whole semester on one page! Register free, add your course, year & semester — and get your syllabus, notes, question banks & PYQs in one place. Register here
UniversityAcademy app icon
Get the free Android app — AKTU notes, question banks, PYQs & syllabus on your phone
GET IT ONGoogle Play
Cover of Programming in Python Syllabus (CIE-332T)
FREE

Programming in Python Syllabus (CIE-332T)

Programming in Python CIE-332T

All syllabus, notes, question bank & PYQ for this subject

  • English
  • Semester 6
  • 0 downloads
  • 0 views
Official GGSIPU syllabus of Programming in Python (CIE-332T): units, topics, course outcomes and recommended books. Read it online or download the PDF.

Syllabus — Programming in Python

Download PDF

CIE-332T · 3 credits · L-T-P 3-0-0

GGSIPU | Paper code CIE-332T | L-T-P 3-0-0 | Credits 3

Paper: Programming in Python C:3 Prerequisites: None

Course Outcomes

  • CO1: Ability to write procedural programmes in Python.
  • CO2: Ability to write programs using standard data structures.
  • CO3: Ability to use object oriented paradigm to write program in Python.
  • CO4: Ability to write modular program in Python

Unit 1

Comparison of C (compiled, statically typed) and Python (interpreted, dynamically typed) execution models. Python shell, script execution, virtual environments, and PEP 8 code layout conventions. Primitive data types, mutable vs. immutable objects, object identities (id()), and dynamic memory assignment. Arithmetic, bitwise, relational, and logical operators; operator precedence. Control flow mechanisms: conditional branching (if-elif-else), match-case constructs, while loops, for loops, break, continue, and else with loops. Functions: parameters, positional, keyword, *args, kwargs, local/global scoping (LEGB rule), lambda functions, and recursive paradigms. Introduction to built-in collections: lists, tuples, dictionaries, sets, list/dictionary comprehensions, and sequence slicing operations.

Unit 2

Paradigm shift from procedural structured programming to object-oriented programming (OOP). Anatomy of a Python class: state and behavior. Instance creation, references, and constructor init. Attributes: instance attributes versus class attributes. Access modifiers and data hiding using naming conventions (public, protected _, private __). Methods: instance methods (self), class methods (@classmethod), static methods (@staticmethod), and properties (@property getter/setter). Object representation and special magic methods (str, repr, len, eq). Memory allocation, garbage collection, and object lifecycle (del). Designing modular classes and module organization across multiple files.

Unit 3

Inheritance fundamentals: single, multiple, multilevel, and hierarchical inheritance models. Method overriding, accessing parent features using super(), and resolution order under Multiple Inheritance (Method Resolution Order - MRO / C3 Linearization algorithm). Composition versus Inheritance ("has-a" vs "is-a" relationships). Abstract Base Classes (ABCs) using the abc module and enforcing interfaces. Polymorphism: duck typing, operator overloading (add, sub, mul), and method interface implementation. Error handling architecture: standard exception hierarchy, handling exceptions (try-except-else- finally), raising exceptions, and custom user-defined exception classes. Resource management using Context Managers and the with statement.

Unit 4

File handling: reading, writing, appending text, and binary streams; structural file formats (CSV, JSON processing). Object serialization and deserialization using the pickle module. Implementation of classic data structures using OOP principles: Stacks, Queues, Singly Linked Lists, and Binary Search Tree nodes. Introduction to built-in advanced structures (collections.deque, defaultdict, Counter). Time and space complexity benchmarking using timeit and basic algorithmic analysis. Unit testing frameworks using unittest / pytest for class testing and basic test-driven development (TDD) workflow. Capstone miniproject design using modular class architectures .

Text Books

  • E. Matthes, "Python Crash Course: A Hands-On, Project-Based Introduction to Programming," 3rd ed. San Francisco, CA, USA: No Starch Press, 2023.
  • R. Hettinger and D. Beazley, "Python Cookbook," 3rd ed. Sebastopol, CA, USA: O'Reilly Media, 2013..

Reference Books

[1] L. Ramalho, "Fluent Python: Clear, Concise, and Effective Programming," 2nd ed. Sebastopol, CA, USA: O'Reilly Media, 2022. [2] A. Sweigart, "Automate the Boring Stuff with Python: Practical Programming for Total Beginners," 2nd ed. San Francisco, CA, USA: No Starch Press, 2019. [3] D. M. Beazley, "Python Essential Reference," 4th ed. Upper Saddle River, NJ, USA: Addison-Wesley Professional, 2009.

Prepared from the official GGSIPU syllabus. Please check the latest official notification on ipu.ac.in for any change.

Ratings & Reviews

No reviews yet — share your experience with this item.

Write a review

Used this resource? Share your rating to help other students.

Write a review