munotes®

Advanced Python Programming Notes | B.Sc. (Computer Science) Semester 2 | Mumbai University | munotes

Official Notes munotes.in

Advanced Python Programming

B.SC. (COMPUTER SCIENCE) · SEMESTER 2

Strictly as per the University of Mumbai NEP syllabus in force for B.Sc. (Computer Science)

For B.Sc. (Computer Science) students of the University of Mumbai and all its affiliated colleges

Open the book ↓

munotes.in First Year

Contents

Module I OOP in Python, classes and objects, inheritance and polymorphism, abstract classes and interfaces, and threads

  1. How This Practical Is Examined: the Journal, the Slip and the Viva 1
  2. Introduction to OOPs: Objects and Classes 4
  3. Problems in the Procedure Oriented Approach 8
  4. Features of the Object Oriented Programming System (OOPS) 12
  5. Constructors and Destructors 16
  6. Classes and Objects: Creating a Class 20
  7. The Self Variable 24
  8. Types of Variables: Instance Variables and Class Variables 27
  9. Types of Methods: Instance Methods, Class Methods and Static Methods 32
  10. Passing Members of One Class to Another Class 37
  11. Inheritance: Building a Class on Another 42
  12. Types of Inheritance 47
  13. Constructors in Inheritance 52
  14. Overriding Super Class Constructors and Methods 56
  15. The super() Method 60
  16. Polymorphism 64
  17. Duck Typing 68
  18. Operator Overloading 72
  19. Method Overloading 77
  20. Method Overriding 82
  21. Abstract Classes and Abstract Methods 86
  22. Interfaces in Python 90
  23. Single Tasking and Multitasking: Processes and Threads 94
  24. Creating Threads in Python 99
  25. Thread Synchronisation: Locks and Semaphores 107
  26. Communication Between Threads: Condition, Event and Queue 115
  27. Deadlock in Threads 122
  28. Decorators 128
  29. Generators 135
  30. Metaclasses 142
  31. Asynchronous Programming: async, await and asyncio 148

Module II Working with databases, exceptions, networking, the graphical user interface and data science tools

  1. Working with Databases: DBMS and MySQL 154
  2. Retrieving Rows from a MySQL Table 162
  3. Inserting Rows into a MySQL Table 169
  4. Deleting Rows from a MySQL Table 176
  5. Updating Rows in a MySQL Table 181
  6. Creating Database Tables through Python 187
  7. Errors in a Python Program 193
  8. Exceptions and Exception Handling 199
  9. User Defined Exceptions 208
  10. Logging Exceptions 213
  11. Networking: the TCP/IP Protocol Architecture 220
  12. User Datagram Protocol (UDP) 228
  13. FTP Architecture 234
  14. Web Page Operations 243
  15. Sending a Simple Mail 250
  16. Creating a GUI in Python: tkinter and the Root Window 257
  17. Widget Classes: Label, Button, Entry and Text 263
  18. Widget Classes: Check Buttons, Radio Buttons, List Boxes and More 269
  19. Layout Managers: pack, grid and place 276
  20. Event Handling 283
  21. Data Science Tools: Introduction to NumPy 290
  22. Matplotlib: Drawing Charts from Data 297
  23. pandas: Series and DataFrames 304
  24. pandas: Reading, Cleaning and Grouping Data 312
  25. SciPy: Scientific Computing with Python 319

Module J The journal, the practical examination and the viva

  1. The Certified Journal: What Goes in It 327
  2. The Viva: Questions and Answers 333
  3. Practice Questions for Q.1: Module 1 346
  4. Practice Questions for Q.2: Module 2 355
munotes.in

The chapters

Every chapter of this book comes with the B.Sc. (Computer Science) Semester 2 notes.

The cover and the contents are free to look through. Buy the notes once to read every chapter of every subject in this semester.

Notes + practical solutions + solved papers: ₹798 Already bought it? Sign in

Or notes + practical solutions: ₹499
Or solved papers only: ₹499

Free either way: question papers, the syllabus, and the cover and contents of every book.

The rest of this subject

These notes are cut from the University's printed syllabus. Open the syllabus itself, or the past papers, for the same subject.

Issue
Done!