New ! Computer Science MCQ Practise Tests



Python Functions 1 Mark Creative Question Paper With Answer Key

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 00:15:00 Hrs
Total Marks : 15

     Multiple Choice Question 

    15 x 1 = 15
  1. Which of the following is used, if you don't need to type all the python code for the same task again and again:

    (a)

    Statement

    (b)

    Function

    (c)

    Scope

    (d)

    Control structures

  2. Which of the following avoids repetition and makes high degree of code reusing?

    (a)

    Loop

    (b)

    Branching

    (c)

    Functions

    (d)

    Dictionaries

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

    (a)

    function

    (b)

    tuples

    (c)

    dictionaries

    (d)

    control structures

  4. How many types of functions are there in python?

    (a)

    3

    (b)

    4

    (c)

    2

    (d)

    5

  5. Functions that calls itself are known as

    (a)

    User defined

    (b)

    Recursive

    (c)

    Built-in

    (d)

    Lambda

  6. Find the odd man out

    (a)

    User defined

    (b)

    Built in

    (c)

    Recursion

    (d)

    Parameters

  7. Which of the following is not a type of function in python?

    (a)

    Control

    (b)

    Lambda

    (c)

    Recursion

    (d)

    Built in

  8. Which of the following statement exits a function?

    (a)

    Exit

    (b)

    Def

    (c)

    Return

    (d)

    None of these

  9. In Python, statement in a block are written with

    (a)

    Function

    (b)

    Identification

    (c)

    Recursion

    (d)

    Parameters

  10. Which of the following are treated as one big sequence of statement while exection?

    (a)

    Structure

    (b)

    Statement

    (c)

    Block

    (d)

    Code

  11. What will be the output if the return has no argument?

    (a)

    No

    (b)

    Return

    (c)

    None

    (d)

    End

  12. Which of the following are the values pass to the function parameters?

    (a)

    Variables

    (b)

    Arguments

    (c)

    Definitions

    (d)

    Identifiers

  13. How many types of arguments are used to call a function?

    (a)

    3

    (b)

    4

    (c)

    5

    (d)

    2

  14. Which of the following is not a type of arguments used to call a function?

    (a)

    Required

    (b)

    Keywords

    (c)

    Default

    (d)

    Module

  15. In which of the following the number of arguments in the function call should match exactly with the function definition?

    (a)

    Required arguments

    (b)

    Keyword arguments

    (c)

    Default arguments

    (d)

    Variable-length arguments

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

Reviews & Comments about 12th Standard Computer Science English Medium - Python Functions 1 Mark Creative Question Paper and Answer Key 2022 - 2023

Write your Comment