TN Online TestSamacheer Kalvi practice

12th Standard Computer Science — Python functions: Book Back MCQs with Answers & Explanations

Share this chapter: Telegram

Every Book Back multiple-choice question from Python functions (12th Standard Computer Science, Samacheer Kalvi) — each with the correct option highlighted and a clear, worked explanation. Free to read in English and Tamil.

Answer key at a glance

Q1
A named blocks of code that are designed to do one specific job is called as
  • A. Loop
  • B. Branching
  • C. FunctionCorrect
  • D. Block
Explanation. A function is a subprogram or named block of code written to perform a specific task, which can be called whenever needed in a program.
Q2
A Function which calls itself is called as
  • A. Built-in
  • B. RecursionCorrect
  • C. Lambda
  • D. return
Explanation. When a function contains a call to itself within its body, the process is known as recursion.
Q3
Which function is called anonymous un-named function
  • A. LambdaCorrect
  • B. Recursion
  • C. Function
  • D. define
Explanation. In Python, anonymous functions defined without a name using the lambda keyword are called lambda functions.
Q4
Which of the following keyword is used to begin the function block?
  • A. define
  • B. for
  • C. finally
  • D. defCorrect
Explanation. Python function blocks are introduced using the keyword def followed by the function name and parentheses.
Q5
Which of the following keyword is used to exit a function block?
  • A. define
  • B. returnCorrect
  • C. finally
  • D. def
Explanation. The return statement is used to exit a function and optionally pass an expression or value back to the caller.
Q6
While defining a function which of the following symbol is used.
  • A. ; (semicolon)
  • B. . (dot)
  • C. : (colon)Correct
  • D. \$ (dollar)
Explanation. A colon symbol must follow the function header in Python to indicate the start of the indented block of statements.
Q7
In which arguments the correct positional order is passed to a function?
  • A. RequiredCorrect
  • B. Keyword
  • C. Default
  • D. Variable-length
Explanation. Required arguments are arguments passed to a function in the correct positional order and their count must match the definition.
Q8
Read the following statement and choose the correct statement(s). (I) In Python, you don't have to mention the specific data types while defining function. (II) Python keywords can be used as function name.
  • A. I is correct and II is wrongCorrect
  • B. Both are correct
  • C. I is wrong and II is correct
  • D. Both are wrong
Explanation. In Python, specific data types are inferred automatically and do not need to be declared, but keywords cannot be used as function names.
Q9
Pick the correct one to execute the given statement successfully. if ____ : print(x, " is a leap year")
  • A. x%2=0
  • B. x%4==0Correct
  • C. x/4=0
  • D. x%4=0
Explanation. To check if a year x is a leap year, it must be divisible by 4, which is expressed using the modulo operator and equality check as x%4==0.
Q10
Which of the following keyword is used to define the function testpython(): ?
  • A. define
  • B. pass
  • C. defCorrect
  • D. while
Explanation. The def keyword is used to define functions in Python, followed by the function name and its parameter list.
Take the Book Back practice test → Open the app

More for this chapter

Additional MCQs15 extra MCQs · solved Practice TestInteractive · instant score Book Back TestTest yourself on the textbook set Additional MCQ TestTest yourself on the extra set Study NotesConcepts & methods Formula SheetAll key formulas

About these Python functions questions

These are the Book Back multiple-choice questions for Python functions 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 Python functions?

This chapter has 10 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 Python functions 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.

More chapters in Computer Science

View all
1 Function 2 Data Abstraction 3 Scoping 4 Algorithmic Strategies 5 Python -Variables and Operators 6 Control Structures 8 Strings and String manipulation 9 Lists, Tuples, Sets and Dictionary 10 Python Classes and objects 11 Database Concepts 12 Structured Query Language (SQL) 13 Python and CSV files 14 Importing C++ programs in Python. 15 Data manipulation through SQL 16 Data visualization using pyplot: line chart, pie chart and bar chart