New ! Computer Science MCQ Practise Tests



12 Standard New Syllabus Chapter One Important Question

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Use Blue Ink Pen Only
Time : 02:00:00 Hrs
Total Marks : 50

    Part-A 

    Multiple Choice Question

    7 x 1 = 7
  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. The variables in a function definition are called as

    (a)

    Subroutines

    (b)

    Function

    (c)

    Definition

    (d)

    Parameters

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

    (a)

    Operating System

    (b)

    Compiler

    (c)

    Implementation

    (d)

    Interpreter

  6. 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

  7. The function definition is introduced by the keyword

    (a)

    def

    (b)

    rec

    (c)

    let

    (d)

    infer

  8. Part-B

    Answer The Following Questions
    6 x 2 = 12
  9. What is a subroutine?

  10. Write the inference you get from X : = (78).

  11. Differentiate interface and implementation.

  12. Which of the following is a normal function definition and which is recursive function definition
    i) let rec sum x y:
       return x + y
    ii) let disp:
        print ‘welcome’
    iii) let rec sum num:
         if (num!=0) then return num + sum (num-1)
         else
         return num

  13. Differentiate parameters and arguments.

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

  15. Part-C

    Answer The Following Questions

    4 x 3 = 12
  16. Mention the characteristics of Interface.

  17. Explain the syntax of function definitions.

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

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

  20. Part-D

    Answer The Following Questions

    3 x 5 = 15
  21. Identify in the following program

    let rec gcd a b:=
               if b <> 0 then gcd b (a mod b) else return a:

    i) Name of the function
    ii) Identify the statement which tells it is a recursive function
    iii) Name of the argument variable
    iv) Statement which invoke the function recursively
    v) Statement which terminates the recursion

  22. Explain with example Pure and impure functions.

  23. Explain with an example interface and implementation.

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

Reviews & Comments about 12th Standard New Syllabus Chapter One Important Question

Write your Comment