New ! Computer Science MCQ Practise Tests



Function Important Question Paper

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 50
    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 is a unit of code that is often defined within a greater code structure?

    (a)

    Subroutines

    (b)

    Function

    (c)

    Files

    (d)

    Modules

  3. Which of the following is a distinct syntactic block?

    (a)

    Subroutines

    (b)

    Function

    (c)

    Definition

    (d)

    Modules

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

    (a)

    Functions

    (b)

    Algorithm

    (c)

    Interface

    (d)

    Implementation

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

    (a)

    Algorithm

    (b)

    Program

    (c)

    Subroutines

    (d)

    Parameters

  6. 6 x 2 = 12
  7. What is a subroutine?

  8. Define Function with respect to Programming language.

  9. Differentiate parameters and arguments.

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

  11. Give an example of function definition parameter with type.

  12. What is recursive function?

  13. 6 x 3 = 18
  14. Mention the characteristics of Interface.

  15. Why strlen is called pure function?

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

  17. Differentiate pure and impure function.

  18. Explain the syntax of function definitions.

  19. Write an algorithm to check whether the entered number is even or odd.

  20. 3 x 5 = 15
  21. What are called Parameters and write a note on
    (i) Parameter without Type
    (ii) Parameter with Type

  22. Explain with example Pure and impure functions.

  23. Explain with an example interface and implementation.

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

Reviews & Comments about 12th Computer Science - Unit 1 Full Study Materials Function Important Question Paper

Write your Comment