UNIT III

2 MARKS

  1. What is a positional argument?
  2. What is default argument in Python?
  3. Define: “Function”.
  4. What is variable scope?
  5. What is a Keyword argument?
  6. Mention the uses of calling value.
  7. How will you define a function?
  8. What is a Local Variable?
  9. Give an example of python function definition.
  10. What is a value-returning function?
  11. Distinguish between the positional argument and keyword argument.
  12. What is a program routine?

5 MARKS

  1. Explain the difference between a definite and indefinite loop.
  2. Compare definite and in-definite loops in python.
  3. Write short notes on parameter passing to function. Give Example.
  4. Explain the concept of program routine.
  5. Give the declaration of recursive functions.

10 MARKS

  1. Describe the concept of parameter passing in Python.
  2. Describe the design of recursive functions in Python.
  3. Discuss the default arguments in Python with example.
  4. Explain the calling non-value – returning function with an example.
  5. Explain the calling value returning functions with an example.
  6. Point out the keyword arguments in python.