Tamil Nadu Board of Secondary EducationHSC Science Class 12th

Tamil Nadu Board Samacheer Kalvi solutions for Class 12th Computer Science Answers Guide chapter 7 - Python functions [Latest edition]

Chapter 7: Python functions

Evaluation
Evaluation [Pages 111 - 113]

Tamil Nadu Board Samacheer Kalvi solutions for Class 12th Computer Science Answers Guide Chapter 7 Python functions Evaluation [Pages 111 - 113]

Part I - Choose the best answer (1 Mark)

Evaluation | Q 1. | Page 111

A named block of code that is designed to do one specific job is called ______

• Loop

• Branching

• Function

• Block

Evaluation | Q 2. | Page 111

A Function which calls itself is called as ______

• Built-in

• Recursion

• Lambda

• return

Evaluation | Q 3. | Page 111

Which function is called anonymous un-named function?

• Lambda

• Recursion

• Function

• define

Evaluation | Q 4. | Page 111

Which of the following keyword is used to begin the function block?

• define

• for

• finally

• def

Evaluation | Q 5. | Page 111

Which of the following keyword is used to exit a function block?

• define

• return

• finally

• def

Evaluation | Q 6. | Page 111

While defining a function which of the following symbol is used.

• ; (semicolon)

• . (dot)

• : (colon)

• \$ (dollar)

Evaluation | Q 7. | Page 112

In which arguments the correct positional order is passed to a function?

• Required

• Keyword

• Default

• Variable-length

Evaluation | Q 8. (I) | Page 112

Read the following statement and choose the correct statement.

In Python, you don’t have to mention the specific data types while defining the function.

• I is correct and II is wrong.

• Both are correct.

• I am wrong and II is correct.

• Both are wrong.

Evaluation | Q 8. (II) | Page 112

Read the following statement and choose the correct statement.

Python keywords can be used as the function names.

• I is correct and II is wrong.

• Both are correct.

• I is wrong and II is correct.

• Both are wrong.

Evaluation | Q 9. | Page 112

Pick the correct one to execute the given statement successfully.

if ______ : print(x, " is a leap year")

• x%2=0

• x%4==0

• x/4=0

• x%4=0

Evaluation | Q 10. | Page 112

Which of the following keyword is used to define the function testpython(): ?

• define

• pass

• def

• while

Part II - Answer the following questions (2 Marks)

Evaluation | Q 1. | Page 112

What is a function?

Evaluation | Q 2. | Page 112

Write the different types of functions.

Evaluation | Q 3. | Page 112

What are the main advantages of function?

Evaluation | Q 4. | Page 112

What is meant by the scope of a variable? Mention its types.

Evaluation | Q 5. | Page 112

Define global scope.

Evaluation | Q 6. | Page 112

What is the base condition in recursive function?

Evaluation | Q 7. | Page 112

How to set the limit for recursive function? Give an example.

Part III - Answer the following questions (3 Marks)

Evaluation | Q 1. | Page 113

Write the rules of a local variable.

Evaluation | Q 2. | Page 113

Write the basic rules for a global keyword in python.

Evaluation | Q 3. | Page 113

What happens when we modify the global variable inside the function?

Evaluation | Q 4. | Page 113

Differentiate ceil() and floor() function?

Evaluation | Q 5. | Page 113

Write a Python code to check whether a given year is a leap year or not.

Evaluation | Q 6. | Page 113

What is the composition in functions?

Evaluation | Q 7. | Page 113

How recursive function works?

Evaluation | Q 8. | Page 113

What are the points to be noted while defining a function?

Part IV - Answer the following questions (5 Marks)

Evaluation | Q 1. | Page 113

Explain the different types of functions with an example.

Evaluation | Q 2. | Page 113

Explain the scope of variables with an example.

Evaluation | Q 3. (a) | Page 113

Explain the following built-in function.

id()

Evaluation | Q 3. (b) | Page 113

Explain the following built-in function.

chr()

Evaluation | Q 3. (c) | Page 113

Explain the following built-in function.

round()

Evaluation | Q 3. (d) | Page 113

Explain the following built-in function.

type()

Evaluation | Q 3. (e) | Page 113

Explain the following built-in function.

pow()

Evaluation | Q 4. | Page 113

Write a Python code to find the L.C.M. of two numbers.

Evaluation | Q 5. | Page 113

Explain recursive function with an example.

Evaluation

Tamil Nadu Board Samacheer Kalvi solutions for Class 12th Computer Science Answers Guide chapter 7 - Python functions

Tamil Nadu Board Samacheer Kalvi solutions for Class 12th Computer Science Answers Guide chapter 7 (Python functions) include all questions with solution and detail explanation. This will clear students doubts about any question and improve application skills while preparing for board exams. The detailed, step-by-step solutions will help you understand the concepts better and clear your confusions, if any. Shaalaa.com has the Tamil Nadu Board of Secondary Education Class 12th Computer Science Answers Guide solutions in a manner that help students grasp basic concepts better and faster.

Further, we at Shaalaa.com provide such solutions so that students can prepare for written exams. Tamil Nadu Board Samacheer Kalvi textbook solutions can be a core help for self-study and acts as a perfect self-help guidance for students.

Concepts covered in Class 12th Computer Science Answers Guide chapter 7 Python functions are Anonymous Functions, The Return Statement, Variable Scope, Functions Using Libraries, Python Recursive Functions, Introduction to Python Functions, Defining Functions, Invoking/Calling a Function, Passing Parameters in Functions, Function Arguments.

Using Tamil Nadu Board Samacheer Kalvi Class 12th solutions Python functions exercise by students are an easy way to prepare for the exams, as they involve solutions arranged chapter-wise also page wise. The questions involved in Tamil Nadu Board Samacheer Kalvi Solutions are important questions that can be asked in the final exam. Maximum students of Tamil Nadu Board of Secondary Education Class 12th prefer Tamil Nadu Board Samacheer Kalvi Textbook Solutions to score more in exam.

Get the free view of chapter 7 Python functions Class 12th extra questions for Class 12th Computer Science Answers Guide and can use Shaalaa.com to keep it handy for your exam preparation