New ! Computer Science MCQ Practise Tests



Python Functions Model Question Paper 1

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 50
    5 x 1 = 5
  1. While defining a function which of the following symbol is used.

    (a)

    ; (semicolon)

    (b)

    . (dot)

    (c)

    : (colon)

    (d)

    $ (dollar)

  2. In which arguments the correct positional order is passed to a function?

    (a)

    Required

    (b)

    Keyword

    (c)

    Default

    (d)

    Variable-length

  3. Which of the following keyword is used to define the function testpython(): ?

    (a)

    define

    (b)

    pass

    (c)

    def

    (d)

    while

  4. Which of the following provides better modularity for your python application

    (a)

    function

    (b)

    tuples

    (c)

    dictionaries

    (d)

    control structures

  5. Which of the following statement exits a function?

    (a)

    Exit

    (b)

    Def

    (c)

    Return

    (d)

    None of these

  6. 5 x 2 = 10
  7. What is function?

  8. Define global scope.

  9. How to set the limit for recursive function? Give an example.

  10. What are arguments? What are the types?

  11. What are called tuples?

  12. 5 x 3 = 15
  13. Write the rules of local variable.

  14. Differentiate ceil() and floor() function?

  15. How recursive function works?

  16. When the variable - length arguments are used? Explain with an example.

  17. Write a note on format () with an example.

  18. 4 x 5 = 20
  19. Write a Python code to find the L.C.M. of two numbers.

  20. Explain recursive function with an example.

  21. Write a python program to find HCF of two numbers using recursion.

  22. Write a python program to find Fibonacci series of n terms using recursion.

*****************************************

Reviews & Comments about 12th Computer Science - Python Functions Model Question Paper 1

Write your Comment