Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Class 11 Computer Science Chapter 7 Functions – Stepwise NCERT Answers

ffImage
banner

How to Write Perfect Stepwise Answers for Functions Chapter 7?

Struggling to master functions? Our NCERT Solutions for Class 11 Computer Science Chapter 7 Functions help you tackle every question, step by step, as per the CBSE 2025–26 exam pattern. Get clear, student-friendly answers you can rely on!


Each solution matches exercise-wise questions so you never miss a mark. Discover stepwise answers, exam-ready definitions, and free PDF downloads designed to boost your confidence before tests and improve understanding of functions concepts.


With our Computer Science Chapter 7 Functions solutions, you’ll find back exercise help, CBSE marking scheme tips, and quick revision essentials—so you’re always ready to score high!


How to Write Perfect Stepwise Answers for Functions Chapter 7?

NCERT Solutions for Computer Science Chapter 7 Functions – Exercises (2025-26)

1. Multiple choice questions.


1. Which of the following is the correct way to define a function in Python?


  • (a) function myfunc():
  • (b) def myfunc[]:
  • (c) def myfunc():
  • (d) function myfunc[]:

Answer: (c) def myfunc():


2. Which statement is used to return a value from a function?


  • (a) send
  • (b) output
  • (c) return
  • (d) exit

Answer: (c) return


3. The variables declared inside a function are called:


  • (a) Global variables
  • (b) Permanent variables
  • (c) Local variables
  • (d) Static variables

Answer: (c) Local variables


4. Which module should be imported to use mathematical functions like sqrt and factorial?


  • (a) random
  • (b) math
  • (c) statistics
  • (d) string

Answer: (b) math


2. Answer the following questions in about 30 words.


1. What is a function in Python? Give any two advantages of using functions.


Answer: A function in Python is a named group of instructions that execute a specific task when called. Two advantages of using functions are: (1) They increase program readability and organization, and (2) They promote code reusability, reducing repetition in programs.


2. What is the difference between a parameter and an argument?


Answer: A parameter is a variable used in the function definition to accept a value; an argument is the actual value passed to the function when it is called. Parameters receive arguments.


3. Define local and global variables with examples.


Answer: Local variables are defined within a function and accessible only inside it; for example, ‘x’ inside a function. Global variables are defined outside all functions and can be accessed throughout the program; for example, ‘num’ declared before all functions.


3. Answer the following questions in about 150 words.


1. Explain different types of function arguments in Python with examples.


Answer: In Python, function arguments can be positional (assigned by position), keyword (assigned by name), default (having a pre-assigned value), and variable-length arguments (accepting multiple values via *args or **kwargs). For example, in def add(a, b=5): here, b has a default value—calling add(2) uses the default; add(2,7) overrides it. Variable-length arguments allow passing any number of values.


2. Differentiate between built-in functions and user-defined functions in Python.


Answer: Built-in functions are provided by Python, like print() and len(); they can be used directly. User-defined functions are created by programmers using the def keyword to perform specific tasks according to requirements. User-defined functions enhance modularity, reusability, and program structure.


4. Match the following.


Questions Answer
1. math module (B) sqrt()
2. statistics module (D) mean()
3. random module (C) randint()
4. built-in functions (A) print()

Mastering Functions in Python: Key Points and Exam Tips

Chapter 7 of NCERT Computer Science (2025-26) focuses on Python functions, a cornerstone of writing clean, modular code. Understanding these concepts helps students improve both code reusability and exam readiness.


Practicing with NCERT Solutions Computer Science Chapter 7 Functions will help you quickly identify the important function concepts, argument types, and the distinctions between local and global variables for improved understanding.


Regular review of exercise-based solutions ensures you are confident with Python’s standard library modules and practical programming skills—key for scoring top marks in your Computer Science exam!


FAQs on Class 11 Computer Science Chapter 7 Functions – Stepwise NCERT Answers

1. What is included in the NCERT Solutions for Class 11 Computer Science Chapter 7 Functions?

The NCERT Solutions for Class 11 Computer Science Chapter 7 Functions offer stepwise, detailed answers to all textbook exercises, following the CBSE 2025–26 marking scheme. These solutions include:

  • Solutions for intext and back exercise questions
  • Definitions and formulae relevant to functions and Python programming
  • Sample diagrams, code examples, and answer structuring tips
  • Practice questions and exam-oriented strategies

2. How can I write stepwise answers to score full marks in Computer Science Chapter 7 Functions?

To score full marks, present answers in clear, stepwise format as expected in CBSE board exams:

  • Start with correct definitions or statements
  • Break solutions into logical steps or code blocks
  • Highlight key terms such as function definition, parameters, return values
  • Draw neat diagrams or code snippets where required
  • Use points or numbering for clarity

3. Which questions from NCERT Chapter 7 Functions are likely to appear in school exams?

Important questions from Class 11 Computer Science Chapter 7 Functions often include:

  • Define different types of functions (built-in, user-defined)
  • Explain function arguments and return values with examples
  • Differences between local and global variables
  • Write Python code using functions
  • Short notes on the scope of variables, recursion, and library functions

4. Are diagrams or definitions mandatory in answers for Computer Science Chapter 7?

Including definitions and diagrams (or code snippets) can help you score better in CBSE exams:

  • Definitions for key terms are often mandatory
  • Neat diagrams or sample code are recommended for programming concepts
  • Label all diagrams clearly as per NCERT and CBSE guidelines

5. How should I structure long answers in Class 11 Computer Science Chapter 7 to get maximum marks?

For long answers in NCERT Computer Science Chapter 7 Functions, follow these steps:

  • Start with a brief introduction using the main keyword
  • Present the body in points or logical paragraphs, covering all sub-parts
  • Include examples, diagrams, or code if required
  • Summarize with a clear conclusion or takeaway point

6. Where can I download the NCERT Solutions Computer Science Chapter 7 Functions PDF for offline use?

You can download the free PDF of Class 11 Computer Science Chapter 7 Functions Solutions from educational platforms like Vedantu, which provide stepwise, CBSE-aligned content for offline study and revision.

7. What are the key definitions and formulae to remember from Chapter 7 Functions?

Key definitions and formulae to remember in NCERT Chapter 7 Functions include:

  • Function: A reusable block of code that performs a specific task
  • Parameter and Argument: Input values for functions
  • Return Statement: Used to send results back from a function
  • Formulas for passing arguments, recursion, and library usage in Python

8. How do examiners mark answers in Class 11 Computer Science Chapter 7 Functions?

Examiners mark answers stepwise in CBSE exams. You can get full or partial marks by:

  • Following the latest CBSE marking scheme
  • Including definitions, diagrams, and key steps
  • Writing answers in clear, exam-ready language

9. Do examiners award partial marks for correct steps even if the final answer is wrong?

Yes, in CBSE exams, partial marks are given for correct intermediate steps even if the final answer is incorrect, especially in stepwise Computer Science solutions. Clearly showing your process helps maximize your score.

10. Is referencing textbook page numbers useful when revising NCERT Computer Science Chapter 7 Functions?

Referencing NCERT textbook page numbers can help during revision by:

  • Locating key concepts and sample code quickly
  • Improving accuracy in answers
  • Ensuring full coverage according to the syllabus