TA Tutorial · Summer 2026

Tutorial for Computer Programming II

Independent University, Bangladesh

Summer 2026 Independent University, Bangladesh 30 students Course repository

Summary

Intermediate Python tutorial covering nested conditionals, loops, functions, recursion, built-in data structures (List, Tuple, Set, Dictionary), modularization, file I/O, exception handling, and object-oriented programming.

Learning outcome
Students can formulate and implement solutions to real-life engineering problems using advanced Python — applying OOP principles (class, object, methods, inheritance, polymorphism), built-in data structures, recursion, exception handling, and file I/O to build comprehensive, well-structured programs.

Weekly schedule

  1. Tutorial 01 Conditional statements (nested): if-else, if-elif-else, nested if
  2. Tutorial 02 Loops (nested): while, for, nested loops, break, continue, pass
  3. Tutorial 03 Functions: calls, parameters, scope of variables, generators
  4. Tutorial 04–05 Built-in data types: List and 2D List
  5. Tutorial 06 Midterm week
  6. Tutorial 07 Recursion
  7. Tutorial 08–09 Built-in types: List, Tuple, Set, Dictionary
  8. Tutorial 10 Modularization and introduction to pygame
  9. Tutorial 11 Exception handling: try-catch
  10. Tutorial 12 Files (File I/O) — text mode
  11. Tutorial 13 Python — Class, Object, attributes, methods
  12. Tutorial 14 Review

Tutorial notebooks

#01 Conditional statements (nested) .ipynb
#02 Loops (nested) coming soon
#03 Functions: parameters, scope, generators coming soon
#04 Built-in data types: List and 2D List coming soon
#05 Recursion coming soon
#06 Built-in types: Tuple, Set, Dictionary coming soon
#07 Modularization and pygame coming soon
#08 Exception handling coming soon
#09 File I/O — text mode coming soon
#10 Object-oriented programming: Class and Object coming soon

Resources & references

  • Python Crash Course, 2nd Edition — Eric Matthes open
  • Learning Python, 5th Edition — Mark Lutz open
  • Automate the Boring Stuff with Python, 2nd Edition — Al Sweigart open