Skip to Content
Introduction to Python Programming
Course Code: BPLCK105B/205B
Credits: 03
CIE Marks: 50
SEE Marks: 50
Total Marks: 100
Exam Hours: 03
Total Hours of Pedagogy: 40 hours
Teaching Hours/Week: [L:T:P:S: 2:0:2:0]

Python Basics (08 hrs): Entering Expressions into the Interactive Shell, The Integer, Floating-Point, and String Data Types, String Concatenation and Replication, Storing Values in Variables, Your First Program, Dissecting Your Program, 

Flow control: Boolean Values, Comparison Operators, Boolean Operators, Mixing Boolean and Comparison Operators, Elements of Flow Control, Program Execution, Flow Control Statements, Importing Modules, Ending a Program Early with sys.exit(), 

Functions: def Statements with Parameters, Return Values and return Statements, The None Value, Keyword Arguments and print(), Local and Global Scope, The global Statement, Exception Handling, A Short Program: Guess the Number. 

Textbook 1: Chapters 1 – 3

DOWNLOAD PDF DOWNLOAD WRITTEN

Lists (08 hrs): The List Data Type, Working with Lists, Augmented Assignment Operators, Methods, Example Program: Magic 8 Ball with a List, List-like Types: Strings and Tuples, References, 

Dictionaries and Structuring Data: The Dictionary Data Type, Pretty Printing, Using Data Structures to Model Real-World Things.

 Textbook 1: Chapters 4 – 5

DOWNLOAD PDF

Manipulating Strings (08 hrs): Working with Strings, Useful String Methods, Project: Password Locker, Project: Adding Bullets to Wiki Markup. Reading and Writing Files: Files and File Paths, The os.path Module, The File Reading/Writing Process, Saving Variables with the shelve Module, Saving Variables with the print.format() Function, Project: Generating Random Quiz Files, Project: Multiclipboard. 

Textbook 1: Chapters 6, 8

DOWNLOAD PDF

Organizing Files (08 hrs): The shutil Module, Walking a Directory Tree, Compressing Files with the zipfile Module, Project: Renaming Files with American-Style Dates to European-Style Dates, Project: Backing Up a Folder into a ZIP File. 

Debugging: Raising Exceptions, Getting the Traceback as a String, Assertions, Logging, IDLEβ€Ÿs Debugger. 

Textbook 1: Chapters 9-10

DOWNLOAD WRITTEN

Classes and objects (08 hrs): Programmer-defined types, Attributes, Rectangles, Instances as return values, Objects are mutable, Copying.

 Classes and functions: Time, Pure functions, Modifiers, Prototyping versus planning. 

Classes and methods: Object-oriented features, Printing objects, Another example, A more complicated example, The init method, The __str__ method, Operator overloading, Type-based dispatch, Polymorphism, Interface and implementation. 

Textbook 2: Chapters 15 – 17

DOWNLOAD WRITTEN
2022 SCHEME QUESTION PAPER

Model Set 1 Paper

DOWNLOAD

Model Set 1 Paper Solution

DOWNLOAD

Model Set 2 Paper

DOWNLOAD

Model Set 2 Paper Solution

DOWNLOAD

Regular Paper

DOWNLOAD

Back Paper

DOWNLOAD

Recent Pages