- A. Definitions are expressions.
- B. Expressions are treated as definitions.
- C. Definitions are distinct syntactic blocks.Correct
- D. Definitions cannot have nested expressions.
12th Standard Computer Science — Function: Additional MCQs with Answers & Explanations
15 extra multiple-choice questions for Function (12th Standard Computer Science, Samacheer Kalvi), beyond the ones printed in the textbook — each with the correct option highlighted and a clear, worked explanation. Free to read in English and Tamil.
- A. A function that takes one input of type x1 and returns x2 and y.
- B. A function that takes two inputs of types x1 and x2, and returns an output of type y.Correct
- C. A function that takes an input of type y and maps it to x1 and x2.
- D. A recursive function with two base cases of types x1 and x2.
- A. Square brackets [ ]
- B. Curly braces { }
- C. Parentheses ( )Correct
- D. Angle brackets < >
- A. recur
- B. recCorrect
- C. repeat
- D. loop
- A. It modifies the string passed to it during execution.
- B. It returns a random value each time it is called.
- C. It only reads the external memory of the string to find its length without modifying it.Correct
- D. It depends on global variables that change dynamically.
- A. Convert the pure function into an impure function.
- B. Force the loop to run indefinitely.
- C. Remove redundant calls and execute the function only once.Correct
- D. Ignore the function call completely.
- A. Returning the square of an input integer.
- B. Calculating the greatest common divisor of two numbers.
- C. Modifying a variable that resides outside the function's scope.Correct
- D. Performing a mathematical sine calculation on a constant value.
- A. 10
- B. 12
- C. 14Correct
- D. 8
- A. Functions can be defined both statically and dynamically.
- B. All functions are static definitions, and there are no dynamic function definitions.Correct
- C. Recursive functions are always dynamic definitions.
- D. Functions can only be defined inside other functions dynamically.
- A. Subroutine template
- B. Class templateCorrect
- C. Syntactic block
- D. Parameter specification
- A. let rec gcd a b
- B. then gcd b (a mod b)
- C. if b <> 0
- D. else return aCorrect
- A. Delaying the coding of the entire program until the final exam.
- B. Assuming the existence of constructors and selectors before defining their concrete implementation.Correct
- C. Hoping that the compiler will automatically fix syntax errors without debugging.
- D. Expecting an impure function to behave like a pure function.
- A. It returns an incorrect integer sum.
- B. It requires mandatory parentheses for type annotations.
- C. It changes the value of the externally visible variable y.Correct
- D. It recursively calls itself until y is zero.
- A. Pure functions modify the arguments passed to them, whereas impure functions do not.
- B. Neither pure nor impure functions can modify arguments.
- C. Both pure and impure functions must modify their arguments.
- D. Pure functions do not modify their arguments, while impure functions may modify them.Correct
- A. It is guaranteed to be a pure function.
- B. It can never be sure to behave the same way every time it is called.Correct
- C. It will cause a compilation error due to type inference.
- D. It is automatically optimized by the compiler to execute once.
More for this chapter
About these Function questions
These are the Additional multiple-choice questions for Function from the Tamil Nadu State Board (Samacheer Kalvi) 12th Standard Computer Science syllabus. Each question shows the correct option and an original, step-by-step explanation so you understand the method, not just the answer. Use the answer key above to jump to any question, then take the practice test to check yourself under exam-like conditions.
Frequently asked questions
How many MCQs are there in Function?
This chapter has 15 book-back multiple-choice questions, each with the correct answer and a step-by-step explanation.
Are these 12th Standard Computer Science MCQs free to practise online?
Yes. Every question, answer and explanation here is free, and you can also take them as a timed practice test.
Where can I find the Function book-back answers?
The correct option for each question is highlighted on this page with a worked explanation, plus a quick answer-key summary at the top.