New ! Computer Science MCQ Practise Tests



Function Important Questions

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 40
    5 x 1 = 5
  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 are mandatory to write the type annotations in the function definition?

    (a)

    Curly braces

    (b)

    Parentheses

    (c)

    Square brackets

    (d)

    indentations

  3. Which of the following carries out the instructions defined in the interface?

    (a)

    Operating System

    (b)

    Compiler

    (c)

    Implementation

    (d)

    Interpreter

  4. The functions which will give exact result when same arguments are passed are called

    (a)

    Impure functions

    (b)

    Partial Functions

    (c)

    Dynamic Functions

    (d)

    Pure functions

  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. 5 x 2 = 10
  7. Write the inference you get from X : = (78).

  8. Differentiate interface and implementation.

  9. Give an example of function definition parameter without type.

  10. What is recursive function?

  11. Give an example of impure function.

  12. 5 x 3 = 15
  13. Mention the characteristics of Interface.

  14. Why strlen is called pure function?

  15.  What is the side effect of impure function. Give example.

  16. Explain the syntax of function definitions.

  17. Write a short note an syntax for function types.

  18. 2 x 5 = 10
  19. Explain with example Pure and impure functions.

  20. Explain with an example interface and implementation.

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

Reviews & Comments about 12th Computer Science - Function Important Questions

Write your Comment