Function One Mark Questions

12th Standard EM

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 50
    20 x 1 = 20
  1. The small sections of code that are used to perform a particular task is called

    (a)

    Subroutines

    (b)

    Files

    (c)

    Pseudo code

    (d)

    Modules

  2. Which of the following is a unit of code that is often defined within a greater code structure?

    (a)

    Subroutines

    (b)

    Function

    (c)

    Files

    (d)

    Modules

  3. The values which are passed to a function definition are called

    (a)

    Arguments

    (b)

    Subroutines

    (c)

    Function

    (d)

    Definition

  4. Which of the following are mandatory to write the type annotations in the function definition?

    (a)

    Curly braces

    (b)

    Parentheses

    (c)

    Square brackets

    (d)

    indentations

  5. The functions which cause side effects to the arguments passed are called

    (a)

    impure function

    (b)

    Partial Functions

    (c)

    Dynamic Functions

    (d)

    Pure functions

  6. Which of the following are expressed using statements of a programming language?

    (a)

    Functions

    (b)

    Algorithm

    (c)

    Interface

    (d)

    Implementation

  7. What must the used wheo a bulk of statements to be repeated for many number of times?

    (a)

    Algorithm

    (b)

    Program

    (c)

    Subroutines

    (d)

    Parameters

  8. Which of the following are the values which are passed to a function definition?

    (a)

    Parameters

    (b)

    Algorithm

    (c)

    Data types

    (d)

    Arguments

  9. The function definition is introduced by the keyword

    (a)

    def

    (b)

    rec

    (c)

    let

    (d)

    infer

  10. The recursive function is defined using the keyword

    (a)

    let

    (b)

    let rec

    (c)

    name

    (d)

    infer

  11. A function definition which call itself is called

    (a)

    user defined function

    (b)

    built-in function

    (c)

    derived function

    (d)

    recursive function

  12. Which of the following is a description of all functions in object oriented programming language?

    (a)

    Implementation

    (b)

    parameter

    (c)

    Interface

    (d)

    Arugument

  13. In which type of function the return type is solely depends on its argument passed?

    (a)

    pure

    (b)

    impure

    (c)

    parameterized

    (d)

    monochromatize

  14. In which type of function the return type does not solely depends on its argument passed?

    (a)

    Pure

    (b)

    Parameterized

    (c)

    Impure

    (d)

    Monochromatize

  15. Subroutines are called as________

    (a)

    Algorithm

    (b)

    Interface

    (c)

    Parameters

    (d)

    Function

  16. A_________ combines the external interface with an implementation of the interface

    (a)

    parameter without type

    (b)

    class declaration

    (c)

    function definition

    (d)

    parameter with type

  17. In object oriented programs__________ are the interface

    (a)

    Implementation

    (b)

    parameters

    (c)

    Interface

    (d)

    Arguments

  18. In object oriented programs, how the object is processed and executed is__________

    (a)

    Implementation

    (b)

    Interface

    (c)

    recursion

    (d)

    function

  19. Stolen is an example________function.

    (a)

    user defined

    (b)

    impure

    (c)

    pure

    (d)

    recursive

  20. Evaluation of__________ functions does not cause any side effects to its output?

    (a)

    Impure

    (b)

    pure

    (c)

    Recursive

    (d)

    built-in

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

TN 12th Standard EM Computer Science free Online practice tests

Reviews & Comments about 12th Computer Science Function One Mark Question Paper

Write your Comment