12th Computer Science One Marks Question Paper English Medium PDF Download
12th Computer Science One Marks Question Paper English Medium PDF Download
wwww
www.Padasalai.Net
wwww
www.CBSEtips.in
N Neett N Neett
12 STD-CS-ONE WORD-CH 1
lalai .i. l a
l i
a .i.
COMPUTER SCIENCE
l a
l i
a
assaa aa aa
Total Marks: 100 Marks Class: 12
Duration: 100 Min
ddaass ddaass
. P
. Paa .P.Paa
w w
CHOOSE THE BEST ANSWER
w w w
w 100 X 1 = 100
www
a) Functions b) Algorithm www
1. Which of the following are expressed using statements of a programming language?
c) Interface d) Implementation
2. 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
N Ne
output?tt
e N Neett
3. Which of the following contains a set a code that works an many kinds of input and produces a concrete
lalai.i.
a) Function
l a
b) Algorithm
l i
a .i. c) Arguments
l a
l i
a d) Language
et
assaa s aa
s s aa
s
4. Which of the following are the values which are passed to a function definition?
a) Parameters
a ddaa
b) Algorithm
a d a
d
c) Data types
aa a d) Arguments
. PP
5. The function definition is introduced by the keyword
. . P
. P
.N
a) def
w w
w b) rec
ww
c) let
w d) infer
a) let www
6. The recursive function is defined using the keyword
b) let rec www
c) name d) infer
7. A function definition which call itself is called
lai
a) user defined function b) built-in function
N Neett
c) derived function
l a
l a .i.
a) Implementation
l a
l
b) parameter
a .i.
8. Which of the following is a description of all functions in object oriented programming language?
i i c) Interface
l a
l i
a d) Arugument
sa
assaa a) parameter
aadd saa
s
9. Which of the following is an instance created from the class?
aa
b) function
dda
c) subroutines
aa assaa d) object
ww. P
. P
10. Which of the following is an example of impure function?
w
w . P
. P
a) Strlen()
w
www
b) random()
w
c) sqrf()
www
d) pure()
da
11. In which type of function the return type is solely depends on its argument passed?
a) pure b) impure c) parameterized d) monochromatize
12. In which type of function the return type does not solely depends on its argument passed?
a) Pure b) Parameterized c) Impure d) Monochromatize
Pa
Neett N Neett
13. Which are expressed using statements of programming language?
N
l a
l i
a .i.
a) Algorithms
l a
lai
b) Functions
.i. c) Programs
l a
l i
a
d) Files
assaa aa aa
14. Which of the following bulk of statements to be repeated for many number of times
a) Algorithm
ddaass a
b) Flow chart
dd ass
c) Coding
aa aa
d) Subroutines
w.
ww. P
. P w
w . P
. P
15. Which of the following keyword is introduced function definition
a) let
w
www
b) def
16. A function definition which call itself is called w
www
c) rec d) fn
ww
N Neett
a) object b) function
N Neett c) variable d) Recursive
l a
l i
a .i. l a
lai.i. l a
l i
18. Which type of function the return type is solely depends on its argument passed
a
assaa aa aa
a) Pure b) impure c) Recursive d) user defined
ddaass d a
d s
a s
19. Which type of function the return type does not solely depends on its argument passed
a) Pure
.P. Paa
b) Impure
20. Which are the variables in a function definition
. P
. Paa
c) Recursive d) User defined
w w
w w w
w
www www
a) Variables b) Arguments c) Functions d) Parameters
21. Which of the following type is can help with explicitly debugging
a) Annotating b) Compiling c) Debugging d) Interpreting
22. Which is a poweful concept in Computer science that allows programmers to treat code as objects.
a) Data abstraction b) Memory
eett
c) Mapping
N N eett
d) Accessibility
N N
l lai.i. l l ai .i.
23. ________ are expressed using statements of a programming language.
a a l a
l i
a
assaa aa aa
a) Algorithm b) procedure c) Specification d) Abstraction
dda a s s d aass
PP a a
Kindly send me your district question
PP d
aa
papers to our whatsapp number: 7358965593
w w .. ww ..
wwww
www.Padasalai.Net
24. _________ are the basic building blocks of a computer programs.
a) code b) subroutines c) modules
wwww
www.CBSEtips.in
d) variables
N Neett
a) Functions b) Task
N Neett c) Modules d) Code
lalai .i.
26. ________ binds values to names.
l a
l i
a .i. l a
l i
a
assaa aa aa
a) Algorithms b) Variables c) Interface d) Definitions
d aass
27. The name of the function in let rec pow ab : = is ________.
d ddaass
a) let
. P
. Paa b) rec
P
c) pow
. .Paa d) a b
www w w
w
28. In function definition pre condition is given by _______.
a) needed
www b) let
www c) returns
29. In function definition post condition is given by ________.
a) needed b) let c) returns
d) requires
d) requires
30. In b = 0, is ________ operator.
N Nett
a) Assignment
e
b) equality
31. An instance created from the class is called
N Neett c) logical d) not equal
lalai.i.
a) variable
l a
b) member
l i
a .i. c) tag
l a
l i
a d) object
et
assaa s aa
s s aa
s
32. Which of the following is not a pure function?
a) sin()
aaddaa
b) square ()
d a
d
c) strlen()
aa a d) random ()
. PP . P P
33. Which function definition, doesn't modify the arguments passed to them?
. .
.N
a) pure function
w w
w b) Impure function
www
c) object d) Interface
www
34. Which of the following statements is true or false?
www
i) All functions are static definitions ii) There is no dynamic function definitions
a) (i) - False, (ii) - False b) (i) - True, (ii) - False
lai
c) (i) - False, (ii) - True d) (i) - True, (ii) - True
N eett
a) object
N b) function
N Neett
35. Which of the following in an instance created from the class
c) variable d) Recursive
l a
l i
a .i. l a
l i
a .i. l a
l i
a
36. The class template specifies the ________ to enable an object to be created and operated properly.
sa
assaa saa
s ssaa
37. What must the used when a bulk of statements to be repeated for many number of times?
a) Algorithm
aaddaa
b) Program
ddaa
c) Subroutines
aa
d) Parameters
a) Interface
ww. P P
38. Which defines an object's visibility to the outside world?
. b) Implementation
w
w . P
. P
c) Compiler d) Interpreter
w
www w
www
da
N Neett
a) Subroutines b) Function
N Neett
41. Which of the following is a distinct syntactic block?
c) Definition d) Modules
l a
l i
a .i. l a
lai .i.
42. ______________ are the variables in a function definition.
l a
l i
a
assaa ssaa saa
s
a) Arguments b) Parameters c) Identifiers d) Operators
ad
adaa
43. A function definition which call itself is called
aaddaa
w.
. P
.
a) user defined function
c) derived function
ww P w
w . P
. P
b) built-in function
d) recursive function
w
www w
www
44. _________ are the basic building blocks of a computer programs.
a) code b) subroutines c) modules d) variables
ww
N
have.
Neett N Neett
46. In object oriented programming language, an _________ is a description of all functions that a class must
l a
l i
a .i.
a) object
l
b) class
a
lai.i. c) Interface
l a
l i
a d) code
assaa saa
s s aa
s
47. The functions which will give exact result when same arguments are passed are called
a) Impure functions
aaddaa ad
a a
d a
b) Partial Functions
c) Dynamic Functions
w
w .P. P w
w. P
. P
d) Pure functions
48. A _________ combines the external interface with an implementation of that interface.
w
www
49. The function definition is introduced by the keyword
a) def b) rec
w
www c) let d) infer
50. Which declaration combines the external interface with an inplementation of that interface?
a) An array b) A structure c) A class d) A pointer
N N ett N N ett
51. In which type of function the return type does not solely depends on its argument passed?
e e
lalai.i.
a) Pure b) Parameterized
l a
l ai .i. c) Impure
52. Evaluation of _____________ functions does not cause any side effects to its output?
d) Monochromatize
l a
l i
a
assaa a) Impure b) pure
dda a s saa c) Recursive
d ssaa
d) built-in
aa
PP a a
Kindly send me your district question
PP d
aa
papers to our whatsapp number: 7358965593
w w .. ww ..
wwww
www.Padasalai.Net
53. Which of the following defines what an object can do?
a) Operating System b) Compiler
wwww
www.CBSEtips.in
c) Interface d) Interpreter
N Neett
54. Choose the incorrect pair
a) Parameters - Variable
N Neett b) Arguments - Values
lalai .i.
c) Compiling - Debugging
l a
l i
a .i. l a
d) Interface - Action
l i
a
assaa ssaa ssaa
55. Explicitly _________________ the types can help with debugging.
a) defining
aaddaa b) annotating
dd
c) informing
aa aa d) computing
a) Algorithms
ww. P P b) Functions
w
w .P
56. Which are expressed using statements of programming language?
. .P
c) Programs d) Files
w
www w
www
57. Find the name of the function. let rec even x : =______.
a) let b) rec c) even d) x
58. Which are the variables in a function definition
a) Variables b) Arguments c) Functions d) Parameters
N N tt
59. Match the following:
ee N Neett
lalai.i.
(1) Keyword (i) Xy
(2) Recursion (ii) Odd
l a
l i
a .i. l a
l i
a
et
assaa (3) Function
name
(iii) Rec
aaddas
a aa
s
ad
a a
d s
a aa
s
(4) Parameters (iv) let
. P
.P . P
. P
.N
w
w
a) 1 - (iv), 2 - (iii), 3 - (ii), 4 - (i)
w ww
b) 1 - (iv), 2 - (i), 3 - (ii), 4 - (iii)
w
www
c) 1 - (i), 2 - (iv), 3 - (ii), 4 - (iii)
www
d) 1 - (i), 2 - (ii), 3 - (iii), 4 - (iv)
60. How many parameters are defined in the function let rec gcd a b : = _________.
a) 0 b) 1 c) 2 d) 3
lai
61. Which of the following is a description of all functions in object oriented programming language?
N Neett
a) Implementation b) parameter
l a
l a .i.
a) object
l a
l a .i.
62. The defines an object's visibility to the outside world.
i i
b) interface c) pure function
l a
l i
a d) Impure function
sa
assaa a) Pure
aadd asaa
s
b) impure
a d
c) Recursive
a daassaa
63. Which type of function the return type is solely depends on its argument passed
a d) user defined
ww. P
. P w
w . P
. P
64. Which of the following bulk of statements to be repeated for many number of times
a) Algorithm
w
www w
www
b) Flow chart
da
c) Coding d) Subroutines
65. Which of the following are expressed using statements of a programming language?
a) Functions b) Algorithm c) Interface d) Implementation
66. In Object oriented programming language, which is a description of all functions that a class must have
Pa
N N ett
in order to be a new interface?
e N Neett
l a
l i
a .i.
a) Interface
l a
lai .i.
b) Implementation
67. To define a recursive function, ________ is used.
c) Compiler
l a
l i
a
d) Interpreter
assaa a) let
ddaassaa
b) let r c) let rfn
68. If a function is not a recursive one, then is used ________.
aa aaddaasaa
s d) let rec
w.
a) abc
ww. P
. P b) gcd
. P
.
c) let
w
w P d) let rec
w
69. Choose the correct pair
www
a) Pure function - calling functions
c) Subroutine - parameters
w
wwwb) Impure function - side-effects
d) Implementation - Algorithm
ww
70. Assertion (A): A function is a unit of code that is often defined within a greater code structure.
Reason (R): A function contains a set of code that works, on many kinds of inputs and produces a
N Neett
concrete output.
N
a) Both A and R are true, and R is the correct
Neett b) Both A and R are True, but R is not the
l a
l i
a .i.
explanation for A
l a
lai.i. a i
a
correct explanation for A
l l
assaa saa s aa
c) A is True, But R is False d) A is False, But R is True
ddaa s d a
d a
71. If we want to define a recursive function we have to use the keyword, s
a) let
.P. Paa b) rec
P Paa
c) let rec
. . d) requires
w w
w w w
w
72. Which of the following is a unit of code that is often defined within a greater code structure?
a) Subroutines
www b) Function
www
c) Files
73. Which of the following is an instance created from the class?
d) Modules
N Neett
a) Strlen() b) random()
75. An _______ is an instance created from the class.
N Neett
c) sqrf() d) pure()
lalai.i.
a) object
l
b) Functions
a
l ai .i.c) Subroutines
l a
l i
a
d) definitions
eett e
c) The interface defines an object's not visibility
N N N N ett
lalai .i.
to the outside world
l a
l i
a .i. d) A class declaration is internal interface
l a
l i
a
assaa aa aa
77. Find the correct statement from the following function definitions. let rec p on a b : = _______.
ddaass
a) data type of the parameters are given
ddaass
b) data type of the parameters are not
c) none of these
. P
. Paa .P.Paa
mentioned
www w w
w
www www
78. In object oriented programs, which of the following are the interfaces?
a) Structures b) Arrays c) Classes d) Pointers
79. Which of the following carries out the instructions defined in the interface?
a) Operating System b) Compiler
c) Implementation d) Interpreter
ett
e
80. A function definition which calls itself is called
N N N Neett
lalai.i.
a) Nested function
l a
l i
a .i. l a
l i
b) Recursive function
a
et
assaa aa aa
c) Repeating function d) Self function
81.
as
a s
Match the following
dd d a
d s
a s
(i) Subroutines
. P
.Paa A .Greater code structure
B. Distinct syntactic
. P
. Paa
.N
(ii) Functions
w w
w www
www www
blocks
(iii) Definitions C. Sections of code
(iv) Parameter D. Variables
lai
a) (i) - c, (ii) - A, (iii) - B, (iv) - D b) (i) - c, (ii) - A, (iii) - D, (iv) - B
c) (i) - D, (ii) - B, (iii) - A, (iv) - C d) (i) - D, (ii) - C, (iii) - A, (iv) - B
eett
82. Why is the function random() is a impure function?
N N N Neett
l a
l i
a .i. l l i
a .i.
a) It gives different outputs for same function
a l a i
a
b) It gives different outputs when 0 is given
l
sa
assaa aa aa
call
aa
c) It will not give different output
dd ss ddaass
d) None of these
a) Files
. . aa
83. In Programing languages, subroutines are called,
P P b) Modules
. P
. Paa
c) Functions d) Procedures
www w w
w
www www
da
eett
c) Built-in-function
N N N Neett d) Derived function
l l i
a .i. l lai .i.
86. The values which are passed to a function definition are called
a a l a
l i
a
assaa aa aa
a) Arguments b) Subroutines c) Function d) Definition
ddaass
87. The name of the function in let rec pow ab : = is ________.
ddaass
aa aa
w.
eett
a) Subroutines are the basic memory type of the
N N N Neett b) Parameters are the variables in a function
l a
l i
a .i.
computer
l a
lai.i. l a
l i
a
assaa aa aa
c) Arguments are the values which are passed to
a function definition
ddaass d a
d s
a s
d) Definition are distinct syntactic blocks
91. Pick the odd one out
a) Curly braces
.P. Paa b) Parentheses
. P
. Paa
c) Functions d) Square brackets
w w
w w w
w
www www
92. 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
93. An _______ attributes and behaviour is controlled by sending functions to the object.
94. Which type of function the return type does not solely depends on its argument passed
a) Pure b) Impure c) Recursive d) User defined
eett
95. In Object oriented programs, classes are the
N N N Neett
lalai.i.
a) Interface
l a
l ai
b) Implementation.i. c) Compiler
l a
l i
d) Interpreter
a
assaa aa aa
96. The formula should be written after ________ sign.
a) +
d a a
b) —
d s s c) =
d aass d) ++
PP a a
Kindly send me your district question
PP d
aa
papers to our whatsapp number: 7358965593
w w .. ww ..
wwww
www.Padasalai.Net
wwww
www.CBSEtips.in
97. The functions which cause side effects to the arguments passed are called
eett
98. Identify the statement which is wrong.
N N N Neett
lalai .i.
a) Definitions are expressions
l a
l i
a .i. l a
l i
b) Definitions are distinct syntactic blocks
a
assaa aa aa
c) Definitions can have expressions, nested
inside them.
ddaass ddaass
d) Definitions can have expressions
a) pure
. . aa
b) impure
. .Paa
99. In which type of function the return type is solely depends on its argument passed?
P P P
c) parameterized d) monochromatize
www w w
w
www www
100. Which of the following functions do not modify the arguments which are passed to them?
a) Pure functions b) Recursive functions
c) Impure functions d) None ofthese
N Nett
e N Neett
lalai.i. l a
l i
a .i. l a
l i
a
et
assaa aaddas
a aa
s
ad
a a
d s
a aa
s
. P
.P . P
. P
.N
w w
w www
www www
l a
l i
a N
.i. Neett
lai l a
l i
a N
.i. Neett
l a
l i
a
sa
assaa aaddaasaa
s
aaddaassaa
ww. P
. P w
w . P
. P
w
www w
www
da
Pa
N Neett N Neett
l a
l i
a .i. l a
lai .i. l a
l i
a
assaa ad
adaassaa
aaddaasaa
s
w.
ww. P
. P w
w . P
. P
w
www w
www
ww
N Neett N Neett
l a
l i
a .i. l a
lai.i. l a
l i
a
assaa aaddaasaa
s
ad
a a
d s
a aa
s
w
w .P. P w
w. P
. P
w
www w
www
N Neett N Neett
lalai.i. l a
l ai .i. l a
l i
a
assaa dda a s saa
d aassaa
PP a a
Kindly send me your district question
PP d
aa
papers to our whatsapp number: 7358965593