12/27/22, 10:09 AM COMPUTER SCIENCE
QUESTIONS PAPER TYPE-B
Class : 12th STD Date : 27-12-2022
Subject: COMPUTER Time : 2.30 Hrs
SCIENCE VELAMMAL MATRICULATION HR SEC
Roll No:
Question : Type B SCHOOL TS KRISHNA NAGAR
Maximum Marks: 42
Instructions:
(i) Check the question paper for fairness of printing. If there is any lack of fairness, inform the hall
supervisor immediately.
(ii) Use Black or Blue ink to write and pencil to draw diagram
PART - I 42 X 1 = 42
1. Match the following function definitions with their terms.
List I List II
Keyword Xy
Recursion Odd
Function name Rec
Parameters let
(i)-4; (ii)-3; (iii)-2; (i)-1; (ii)-2; (iii)-3; (i)-4; (ii)-1; (iii)-2; (i)-1; (ii)-4; (iii)-2;
a) b) c) d)
(iv)-1 (iv)-4 (iv)-3 (iv)-3
2. CHOOSE THE CORRECT STATEMENT
(i) Algorithms are not expressed using statements of a programming language.
(ii) An interface is a set of action that an object can do
(iii) Implementation does not carries out the instructions defined in the interface.
(iv) Pure functions will give exact result.
a)i and iii b)ii and iv c)iii and ii d)i, ii and iv
3. The function definition is introduced by the keyword
a)def b)rec c)let d)infer
4. Which is the basic building block of computer programs?
a)Argument b)Parameter c)Subroutine d)Interface
5. A function definition which call itself:
a)Pure function b)Impure function c)Normal function d)Recursive function
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. Which of the following carries out the instructions defined in the interface?
a)Operating System b)Compiler c)Implementation d)Interpreter
8. ________ are the values which are passed to a function definition.
a)Arguments b)Parameters c)Functions d)All the above
9. ________ are the variables in a function definition.
a)Arguments b)Parameters c)Expressions d)None
10. ________ contains a set of code that works on many kinds of inputs like variants, expressions &
produces a concrete output.
a)Functions b)Parameters c)Programs d)Statements
11. ________ are the basic building blocks of computer programs.
a)Parameters b)Statements c)Subroutines d)None
12. 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
www.studyseeds.com/admin/get-question 1/3
12/27/22, 10:09 AM COMPUTER SCIENCE
13. Which of the following carries out the instructions defimed in the interface?
a)Operating System b)Compiler c)Implementation d)Interpreter
14. Evaluation of ________functions does not cause any side effects to its output?
a)Impure b)Pure c)Recursive d)Built - in
15. Stolen is an example ________function.
a)User defined b)Impure c)Pure d)Recursive
16. In object oriented programs, how the object is processed and executed is ________.
a)Implementation b)Interface c)Recursion d)Function
17. In object oriented programs ________are the interface.
a)Implementation b)Parameters c)Interface d)Arguments
18. A ________combines the external interface with an implementation of the interface.
Parameter without Class Function Parameter with
a) b) c) d)
type declaration definition type
19. All functions are ________definitions.
a)Static b)Dynamic c)Algorithmic d)Static
20. Explicitly________the types can help with debugging.
a)Defining b)Annotating c)Informing d)Computing
21. ________are the variables in a function definition.
a)Arguments b)Parameters c)Identifiers d)Operators
22. Subroutines are called as ________.
a)Algorithm b)Interface c)Parameters d)Functions
23. In which type of function the return type does not solely depends on its argument passed?
a)Pure b)Parameterized c)Impure d)Monochromatize
24. In which type of function the return type is solely depends on its argument passed?
a)Pure b)Impure c)Parameterized d)Monochromatize
25. Which of the following is an example of impure function?
a)Strlen() b)random () c)sqrf() d)pure()
26. Which of the following is an instance created from the class?
a)Parameter b)Function c)Subroutines d)Object
27. Which of the following is a description of all functions in object oriented programming language?
a)Implementation b)parameter c)Interface d)Arugument
28. A function definition which call itself is called ________.
a)User defined function b)Built - in function c)Derived function d)Recursive function
29. The recursive functions is defined using the keyword ________.
a)let b)let rec c)name d)infer
30. The function definition is introduced by the keyword ________.
a)def b)rec c)let d)infer
31. Which of the following are the values which are passed to a function definition?
a)Parameters b)Algorithm c)Data types d)Arguments
32. Which of the following contains a set a code that works an many kinds of input and produces a concrete
output?
a)Function b)Algorithm c)Arguments d)Language
33. 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
34. Which of the following are expressed using statements of a programming language?
a)Functions b)Algorithm c)Interface d)Implementation
35. The functions which cause side effects to the arguments passed are called________
a)Impure function b)Partial Functions c)Dynamic Functions d)Pure functions
36. Which of the following defines what an object can do?
a)Operating System b)Compiler c)Interface d)Interpreter
37. 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
www.studyseeds.com/admin/get-question 2/3
12/27/22, 10:09 AM COMPUTER SCIENCE
38. The values which are passed to a function definition are called ________
a)Arguments b)Subroutines c)Function d)Definition
39. The variables in a function definition are called as ________
a)Subroutines b)Function c)Definition d)Parameters
40. Which of the following is a distinct syntactic block?
a)Subroutines b)Function c)Definition d)Modules
41. 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
42. The small sections of code that are used to perform a particular task is called ________
a)Subroutines b)Files c)Pseudo code d)Modules
www.studyseeds.com/admin/get-question 3/3