All 8 subjects, as per the latest syllabus. Revised 2026.
Fundamentals of Python Programming Notes | B.Sc. (Information Technology) Semester 2 | Mumbai University | munotes
A munotes Edition munotes.in
Fundamentals of Python Programming
B.SC. (INFORMATION TECHNOLOGY) · SEMESTER 2
Strictly as per the University of Mumbai NEP syllabus in force for B.Sc. (Information Technology)
For B.Sc. (Information Technology) students of the University of Mumbai and all its affiliated colleges
Open the book ↓munotes.in First Year
Contents
Module I Overview of Python: History & Versions, Features of Python, Execution of a Python
- Python: Its History and Its Versions 1
- The Features of Python 9
- How a Python Program Is Executed 16
- The Flavours of Python 24
- The Innards of Python and the Python Interpreter 31
- Memory Management and Garbage Collection in Python 39
- Python Compared with C and Java 46
- Installing Python and Running Your First Program 54
- Getting Help, and IDLE 61
- Comments and Docstrings 69
- Data Types, and the Numeric Types: int, float and complex 77
- Compound Data Types: Strings, Lists, Tuples and range 85
- The Boolean Data Type 92
- Dictionaries, Sets and Mappings: A First Look 98
- The Basic Elements of Python: Tokens, Keywords, Identifiers and Literals 106
- Variables: Names, Values and Assignment 115
- Arithmetic, Assignment and Unary Minus Operators 122
- Relational Operators 131
- Logical Operators 138
- Bitwise Operators 146
- Membership and Identity Operators 154
- Precedence and Associativity of Operators 161
- Reading Input: The input() Function 169
- Output Statements and the Forms of print() 176
- Printing a Formatted String 183
- Command Line Arguments 190
- Control Statements and the if Statement 197
- The if...else and if...elif...else Statements 205
- The while Loop 213
- The for Loop and range() 220
- Infinite Loops and Nested Loops 226
- The else Suite of a Loop 234
- break, continue and pass 242
- The assert and return Statements 250
- Practicals: Hello World, Adding Two Numbers and a Square Root 257
- Practicals: The Area of a Triangle, Odd or Even, and a Leap Year 266
- Practicals: The Largest of Three Numbers and a Prime Number 275
- Practicals: The Factorial of a Number and Kilometres to Miles 285
- Creating Strings and the Functions of Strings 293
- Working with Strings: Length, Indexing and Slicing 301
- Repeating, Concatenating, Checking Membership and Comparing Strings 308
- Removing Spaces, and Finding and Counting Substrings 317
- Strings Are Immutable, and Splitting and Joining Them 325
- Changing Case, and Checking the Start and End of a String 332
- Sorting Strings, Searching in Strings and the Testing Methods 340
- Formatting Strings 348
- Counting Characters and Words, and Inserting a Substring 356
- Practicals: A Vowel Check, and the Length of a List or String 364
- Practicals: Palindrome, Reversed Words and a Pangram 372
Module II List and Tuples: Lists, List Functions and Methods, List Operations, List Slices, Nested
- Lists, and the List Functions and Methods 380
- List Operations and List Slices 388
- Nested Lists 396
- Tuples and the Functions in a Tuple 404
- Creating a Dictionary, and the Operators in a Dictionary 412
- Dictionary Methods 421
- Looping Over a Dictionary, and Operations on Dictionaries 429
- Converting Lists and Strings into a Dictionary, and Passing One to a Function 437
- Sorting a Dictionary with lambda, and Ordered Dictionaries 445
- Arrays: Creating Them, Indexing and Slicing 453
- Basic Array Operations, Processing an Array and Mathematical Operations 462
- Aliasing an Array: a View and a Copy 471
- NumPy Arrays: Basic Slicing and Advanced Indexing 479
- The Dimensions and Attributes of an Array 488
- Defining a Function, Calling It and Returning Results 496
- Returning Multiple Values from a Function 505
- The Built-in Functions, and a Function Against a Method 513
- Passing a Value by Object Reference 522
- Parameters and Arguments: Formal, Actual, Positional, Keyword and Default 530
- Arbitrary Arguments: *args and **kwargs 538
- Recursive Functions 546
- Lambda Functions with filter(), map() and reduce() 555
- Modules in Python 564
- Practicals: A Common Member of Two Lists, and Removing Chosen Elements 572
- Practicals: An Array of Numbers, Sorting a Dictionary and Concatenating Dictionaries 581
- Practicals: Summing a Dictionary, the LCM and HCF, and an ASCII Value 590
- Practicals: A Simple Calculator, and a Range of Items in an Array 599
- The Practical Examination: The Slip, the Journal and the Viva 609
The chapters are locked
Get the notes to read all 77 chapters of this book.
Years 2017, 2018, 2019, 2022, 2023, 2025 and 2026
- Problem Solving Using Computer 1 year
- Web Designing 2 years
- Object Oriented Programming using C++ 2 years
PLSQL Practical, Major Practical - II, Fundamentals of Python Programming, Web Programming and Assembly Language Programming have no solved papers, so they are not included.
Already bought it? Sign in and it opens.
The rest of this subject
These notes are cut from the University's printed syllabus. Open the syllabus itself for the same subject.