0% found this document useful (0 votes)
1K views3 pages

12th C Science Lesson 1 One Word

Word
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views3 pages

12th C Science Lesson 1 One Word

Word
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

PAAVENDHAR MATRIC HR. SEC. SCHOOL – M.V. SOUTH, ATTUR.

12th Computer Science Lesson 1 – One Marks


Choose the correct answer:
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 ANSWER: A

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 ANSWER: B

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


A. Subroutines B. Function C. Definition D. Modules ANSWER: C

4. The variable in a function definition are called as


A. Subroutines B. Function C. Definition D. Parameters ANSWER: D

5. The values which are passed to a function definition are called


A. Arguments B. Subroutines C. Function D. Definition ANSWER: A

6. 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 ANSWER: B

7. Which of the following defines what an object can do?


A. Operating System B. Compiler C. Interface D. Interpreter
ANSWER: C

8. Which of the following carries out the instructions defined in the interface?
A. Operating System B. Compiler C. Implementation D. Interpreter ANSWER: C

9. 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 ANSWER: D

10.The functions which cause side effects to the arguments passed are called
A. Impure function B. Partial functions C. Dynamic Functions D. Pure Functions ANSWER: A
Additional One Word:
1. Which of the following are expressed using statements of a programming
language?
A. Functions B. Algorithm C. Interface D. Implementation ANSWER: B
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 ANSWER: C

3. 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 ANSWER: A
4. Which of the following are the values which are passed to a function definition?
A. Parameters B. Algorithm C. Data types D. Arguments ANSWER: D

5. The function definition is introduced by the keyword


A. def B. rec C. let D. infer ANSWER: C

6. The recursive function is defined using the keyword


A. let B. let rec C. name D. infer ANSWER: B

7. A function definition which call itself is called


A. user defined function B. built in function C. Derived function D. Recursive function
ANSWER: D

8. Which of the following is a description of all functions in object oriented programming


language?
A. Implementation B. Parameter C. Interface D. Argument
ANSWER: C

9. Which of the following is an instance created from the class?


A. Parameter B. Function C. Subroutines D. Object ANSWER: D

10. Which of the following is an example of impure function?


A. Strlen ( ) B. random ( ) C. Sqrf ( ) D. Pure ( ) ANSWER: B

11. In which type of function the return type is solely depends on its argument
passed?
A. Pure B. Impure C. Parameterized D. Monochromatize ANSWER: A

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 ANSWER: C

Fill in the Blanks:


1. Subroutines are called as ________
A. Algorithm B. Interface C. Parameters D. Functions ANSWER: D

2. are the variables in a function definition.


A. Arguments B. Parameters C. Identifiers D. Operators ANSWER: B

3. Explicitly the types can help with debugging.


A. Defining B. Annotating C. Informing D. Computing ANSWER: B

4. All functions are definitions.


A. Static B. Dynamic C. Algorithmic D. Static ANSWER: A

5. A combines the external interface with an implementation of the


interface.
A. Parameter without type B. Class declaration C. Function definition D. Parameter with type
ANSWER: B

6. In object oriented programs are the interface.


A. Implementation B. Parameters C. Interface D. Arguments ANSWER: C

7. In object oriented programs, how the object is processed and executed is


A. Implementation B. Interface C. Recursion D. Function ANSWER: A

8. Stolen is an example function.


A. User defined B. Impure C. Pure D. Recursive ANSWER: C

9. Evaluation of functions does not cause any side effects to its output?
A. Impure B. Pure C. Recursive D. Built in ANSWER: B

You might also like