The NCERT Solutions for Class 11 Computer Science Chapter 7 Functions cover all 7 textbook exercise questions for the 2026-27 NCERT chapter. The PDF gives step-by-step answers for function errors, math module functions, random numbers, multiple return values, arguments, parameters, global variables and local variables.

  • Use these solutions after reading the NCERT examples on user-defined functions.
  • The PDF includes every exercise question with a detailed solution and expert solution.
  • Python 3 correctness is used for syntax, scope and return-value answers.

Class 11 Computer Science Chapter 7 Functions NCERT Solutions

Student Feedback: In a Collegedunia student check of 8,940 Class 11 Computer Science students, 74% said function-scope errors became easier after comparing the function header with the function call.

Class 11 Computer Science Chapter 7 Functions NCERT Solutions PDF

Functions explains how a Python program groups reusable code under a name. Students should revise parameters, arguments, return statements and scope before solving the exercise.

Important: most mistakes in this chapter come from mixing up print and return, or from using a variable outside its valid scope.

PartWhat to reviseWhy it matters
Function definitiondef header, colon and indentationPrevents syntax errors
Function callArgument count and name casePrevents missing argument and NameError issues
Return valuereturn, tuple unpacking and NoneShows whether a result can be reused
ScopeGlobal and local variablesPrevents UnboundLocalError answers

Function definition call return and reuse flow for Class 11 Computer Science

What the Functions Solutions Cover

Parameter versus argument comparison for Class 11 Computer Science Functions

The chapter questions ask students to identify errors, compare library functions and explain how data moves through a function. The answers below keep the language simple and use Python 3 behaviour.

  • Error tracing: wrong argument count, missing imports, local scope errors and invalid assignment targets.
  • Library functions: ceil, floor, random, randint, pow and math.pow.
  • Function design: multiple return values, parameters, arguments and useful return values.
  • Practice coverage: login function, discount function, Fibonacci program, calculator and SMIS attendance case study.

Class 11 Computer Science Functions Related Resources

ResourceBest useLink
Revision NotesRevise function syntax and scope rules quicklyFunctions Notes
NCERT Book PDFRead the original examples and activity promptsFunctions Book PDF
Handwritten NotesUse short notes before practical-file workFunctions Handwritten Notes

Class 11 Computer Science NCERT Solutions Chapter-wise Links

ChapterTitleNCERT Solutions
Chapter 1Computer SystemOpen NCERT Solutions
Chapter 2Encoding Schemes and Number SystemOpen NCERT Solutions
Chapter 3Emerging TrendsOpen NCERT Solutions
Chapter 4Introduction to Problem SolvingOpen NCERT Solutions
Chapter 5Getting Started with PythonOpen NCERT Solutions
Chapter 6Flow of ControlOpen NCERT Solutions
Chapter 7FunctionsCurrent chapter
Chapter 9ListsOpen NCERT Solutions

All NCERT Solutions for Class 11 Computer Science Chapter 7 Functions with Step-by-Step Solutions

Use the solved question cards below for a quick check, then download the full PDF for expert solutions and activity coverage.

Exercise Solutions

Q 7.1

Observe the following programs carefully, and identify the error:
(a) def create(text, freq): then for i in range(1, freq): print text and function call create(5).
(b) from math import sqrt, ceil; inside calc(), the code uses print cos(0).
(c) mynum = 9; inside add9(), the code uses mynum = mynum + 9.
(d) def findValue(vall = 1.1, val2, val3): and call findvalue().
(e) def greet(): return("Good morning") and function call greet() = message.

Q 7.2

How is math.ceil(89.7) different from math.floor(89.7)?

Q 7.3

Out of random() and randint(), which function should we use to generate random numbers between 1 and 5. Justify.

Q 7.4

How is built-in function pow() different from function math.pow()? Explain with an example.

Q 7.5

Using an example show how a function in Python can return multiple values.

Q 7.6

Differentiate between following with the help of an example:
(a) Argument and Parameter
(b) Global and Local variable

Q 7.7

Does a function always return a value? Explain with an example.

Functions Computer Science NCERT Solutions FAQs

Ques. How many exercise questions are solved in Class 11 Computer Science Chapter 7 Functions?

Ans. The PDF solves all 7 NCERT exercise questions from Chapter 7 Functions, with detailed solutions and expert explanations.

Ques. Does Chapter 7 Functions need Python 3 syntax?

Ans. Yes. These answers use Python 3 syntax, including print() with parentheses and current function-call behaviour.

Ques. What is the most common error in Functions chapter answers?

Ans. The most common error is mixing parameters with arguments, or confusing print output with a returned value.

Ques. Are activity and lab questions covered in the PDF?

Ans. Yes. The PDF includes a practice coverage section for activity, lab and SMIS case-study tasks.