logo

Topics to Learn

Python

Basic

  1. Syntax
  2. Variables and Data Types
  3. Integers
  4. Floats
  5. Strings
  6. Booleans
  7. Lists
  8. Tuples
  9. Dictionaries
  10. Sets
  11. Type casting
  12. Indexes and Negative Indexes
  13. Slicing
  14. Scope of variables
  15. Operators
    1. Arithmetic Operators
    2. Comparison Operators
    3. Logical Operators
    4. Assignment Operators
    5. Bitwise Operators
  16. Control Flow
  17. Conditional Statements
    1. If
    2. elif
    3. else
  18. Loops
    1. for loop
    2. while loop
    3. break, continue, pass
  19. Comprehensions
    1. List Comprehensions
    2. Dictionary Compre…
    3. Set Compre…
  20. Exception Handling
    1. Try
    2. except
    3. finally
    4. else
    5. raise
  21. Exception Handling
  22. with statement
  23. Function
    1. docstring
    2. return
    3. Lambda Functions
  24. Types of function arguments
    1. Defualt argument
    2. Keyword argument
    3. Positional Arguments
    4. Arbitrary Keyword Arguments
  25. call by sharing
  26. Genarator
  27. Iterator
  28. Decorators
  29. Recursion
  30. Map
  31. Filter
  32. Reduce
  33. eval

Object-Oriented Programming (OOP)

  1. Classes and Objects
    1. constructor
    2. Deconstructor
    3. self parameter
  2. Instance Variables
  3. Methods
    1. Static method
    2. Instance method
    3. Class method
    4. Magic Methods / Dunder
      1. init, str, new, repr, etc.
  4. Inheritance
    1. Single Inheritance
    2. Multiple Inheritance
    3. super()
    4. Method Resolution Order (MRO).
    5. C3 Linearization Algorithm.
  5. Polymorphism
  6. Encapsulation
  7. Abstraction
  8. Metaclasses

Modules and Packages

  1. Importing Modules
  2. Creating Modules
  3. Using Packages
  4. init.py
  5. Standard Library Modules
  6. File Handling
    1. Reading Files
    2. Writing Files
    3. Working with File Paths
    4. Context Managers
  7. Other topics
    1. Pickling.
    2. Programming Paradigms in Python.
  8. Memory Allocation.
  9. Memory Management Mechanisms.
  10. Referance conting.
  11. Garbage collection.
  12. Memory Leak in Python.

QA

  1. role of init.py in package?
  2. Python is Intrepreter language ?
  3. Deffrence between oops and pops ?
  4. Multy thrud language ?
  5. Mutable vs immutable?
  6. Shaloow coppy, deep coppy ?
  7. What is .pyc file ?
  8. Generate random number between 1 and 100 using lambda function?
  9. Deffrent between “is” and “==”?
  10. Different between “__name__” and “__main__” ?
  11. What is iterable ?
  12. What is primitive and non primitive ?
  13. staticmethod vs classmethod
  14. Regex
  15. Multy processing
  16. split