SKILL BENCHMARK

Python Mastery (Expert Level)

  • 30m
  • 20 questions
The Python Mastery benchmark will measure your familiarity with Python core features. You will be assessed on your ability to execute Python commands on Jupiter notebooks, perform operations using complex data types, use control flow statements, leverage functions with lambdas, generators, closures & decorators to perform some incredibly complex operations and handle exceptions. A learner who scores high on this benchmark demonstrates that they have the skills to develop Python programs and develop applications with Python code.

Topics covered

  • access and edit keys and values in dictionaries
  • create and use complex data types, such as lists, tuples, and sets
  • execute arithmetic operations on variables
  • generate lists using if conditions within list comprehension
  • illustrate the features of the yield keyword in generator functions
  • implement branching using elif blocks
  • implement list indexing and slicing operations
  • import modules into your current program
  • initialize classes using the __init__() method
  • modify pre-existing code using decorators
  • pass arguments to functions by value and reference
  • pass a variable number of positional arguments to a function
  • pass values to functions via input arguments
  • perform looping operations using while loops
  • perform operations on sets
  • perform type conversions
  • recall the differences between shallow copies and deep copies in tuples
  • use nested for loops for multiple looping operations
  • use the filter and map functions specifying a lambda as a predicate
  • use try and except blocks to catch potential errors in code

RECENTLY ADDED COURSES