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

Chapter 1: Function
Tamil Nadu Board Samacheer Kalvi solutions for Class 12th Computer Science Answers Guide Chapter 1 Function Evaluation [Pages 8 - 10]
Part I - Choose the best answer (1 Mark)
The small sections of code that are used to perform a particular task are called ______
Subroutines
Files
Pseudo code
Modules
Which of the following is a unit of code that is often defined within a greater code structure?
Subroutines
Function
Files
Modules
Which of the following is a distinct syntactic block?
Subroutines
Function
Definition
Modules
The variables in a function definition are called as ______
Subroutines
Function
Definition
Parameters
The values which are passed to a function definition are called ______
Arguments
Subroutines
Function
Definition
Which of the following are mandatory to write the type annotations in the function definition?
Curly braces
Parentheses
Square brackets
indentations
Which of the following defines what an object can do?
Operating System
Compiler
Interface
Interpreter
Which of the following carries out the instructions defined in the interface?
Operating System
Compiler
Implementation
Interpreter
The functions which will give exact result when same arguments are passed are called ______
Impure functions
Partial Functions
Dynamic Functions
Pure functions
The functions which cause side effects to the arguments passed are called ______
impure function
Partial Functions
Dynamic Functions
Pure functions
Part II - Answer the following questions (2 Marks)
What is a subroutine?
Define Function with respect to Programming language.
Write the inference you get from X:=(78).
Differentiate interface and implementation.
Which of the following is a normal function definition and which is a recursive function definition.
let rec sum x y:
return x + y
Which of the following is a normal function definition and which is a recursive function definition.
let disp :
print ‘welcome’
Which of the following is a normal function definition and which is a recursive function definition.
let rec sum num:
if (num!=0) then return num + sum (num-1)
else
return num
Part III - Answer the following questions (3 Marks)
Mention the characteristics of Interface.
Why strlen is called pure function?
What is the side effect of the impure function? Give example.
Differentiate pure and impure functions.
What happens if you modify a variable outside the function? Give an example.
Part IV - Answer the following questions (5 Marks)
What are called Parameters and write a note on Parameter without Type?
What are called Parameters and write a note on Parameter with Type?
Identify in the following program.
let rec gcd a b:=
if b <> 0 then gcd b (a mod b) else return a
Name of the function?
Identify in the following program.
let rec gcd a b:=
if b <> 0 then gcd b (a mod b) else return a
Identify the statement which tells it is a recursive function?
Identify in the following program.
let rec gcd a b:=
if b <> 0 then gcd b (a mod b) else return a
Name of the argument variable.
Identify in the following program.
let rec gcd a b:=
if b <> 0 then gcd b (a mod b) else return a
A statement that invokes the function recursively?
Identify in the following program.
let rec gcd a b:=
if b <> 0 then gcd b (a mod b) else return a
The statement which terminates the recursion?
Explain with example Pure and impure functions.
Explain with an example interface and implementation.
Chapter 1: Function

Tamil Nadu Board Samacheer Kalvi solutions for Class 12th Computer Science Answers Guide chapter 1 - Function
Tamil Nadu Board Samacheer Kalvi solutions for Class 12th Computer Science Answers Guide chapter 1 (Function) 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 1 Function are Introduction to Function, Function with Respect to Programming Language, Interface Vs Implementation, Pure Functions.
Using Tamil Nadu Board Samacheer Kalvi Class 12th solutions Function 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 1 Function Class 12th extra questions for Class 12th Computer Science Answers Guide and can use Shaalaa.com to keep it handy for your exam preparation