Python Online Test

Start Your Test

keyboard_arrow_down

Instructions:

  • Total number of questions: 10.
  • Time allotted: 10 minutes.
  • Each question carries 1 mark.
  • No negative marks.
  • DO NOT refresh the page.
  • All the best :-)

What You Will Learn:

This Decorators Test helps you to Boost your Knowledge in Python Language. In this test, we will cover the topics in the form of questions like
  • As an alternate way for decorating a function the @ symbol along with the name of the decorator function can be placed above the definition of the function to be decorated works.
  • To avoid this error we can make use of decorators in order.
  • Any function, irrespective of whether or not it has parameters can be decorated.
  • The ‘@’ symbol used to represent the application of a decorator.