VTU Developer

Your comprehensive resource for Introduction to Python Programming - BPLCK105B

Introduction to Python Programming

Complete Study Materials & Resources

BPLCK105B
Subject Code
03
Credits
50
CIE Marks
50
SEE Marks
100
Total Marks
03
Exam Hours

Module 1

Python Basics & Flow Control

Python Basics: 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

Module 2

Lists & Data Structures

Lists: 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

Module 3

String Manipulation & File Handling

Manipulating Strings: 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

Module 4

File Organization & Debugging

Organizing Files: 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

Module 5

Classes & Object-Oriented Programming

Classes and objects: 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

Additional Resources

Extra study materials to boost your exam preparation and understanding

Exam Fix Questions

Targeted questions for final exam preparation with comprehensive coverage of all important topics.

Very Important Questions (VIMP 1)

Key questions that can make a significant difference in academic performance and boost confidence for exams.

Very Important Questions (VIMP 2)

Additional set of crucial questions for comprehensive exam preparation and enhanced understanding.

Solved Model Questions

Complete solutions to model question papers that enhance problem-solving abilities and exam confidence.

Lab Manual

Comprehensive lab manual with 10 practical programs covering all essential Python programming concepts and implementations.

Comments

Replay !

0 Comments

Share Your Thoughts

Please enter your name
Please enter a valid email
Password must be at least 6 characters
Please enter your comment
Email Verification Required
We've sent a 6-digit verification code to . Please enter the code below to verify your email address.
Email Verified Successfully!
Your email has been verified. Would you like to proceed with posting your comment?

Type "YES" to confirm and post your comment, or click Cancel to skip posting.

Preparing your download...