NCERT Class 11 Computer Science Computer Science: Chapter 7 — Functions

NCERT CBSE Class 11 Computer Science Computer Science Chapter 7 English PDF

This chapter introduces the concept of Functions in Computer Science, addressing the challenges of managing large and complex programs. It highlights how increasing program complexity leads to a bulky and difficult-to-manage codebase. The chapter uses a practical example of a company manufacturing tents, where calculating the selling price involves multiple steps like accepting user requirements, calculating canvas area, determining canvas cost, and adding tax. It presents a program (Program 7-1) that calculates the payable amount for a tent without using functions. The chapter then suggests an alternative approach of dividing the program into different blocks of code, hinting at the introduction of functions as a solution for better program organization and modularity. It also outlines key topics including User Defined Functions, Scope of a Variable, and Python Standard Library, crucial for efficient programming in Class 11 Computer Science.

Quick info

BoardCBSE / NCERT
ClassClass 11
SubjectComputer Science
BookComputer Science
ChapterChapter 7 — Functions
LanguageEnglish
PDF typeNCERT Textbook
SessionCBSE 2026
Reading time3 minutes
Word count414

Learning outcomes

Vocabulary

WordMeaning
FunctionsA block of organized, reusable code that is used to perform a single, related action.
User Defined FunctionsFunctions created by the programmer to perform specific tasks.
Scope of a VariableThe region of a program where a declared variable is accessible.
Python Standard LibraryA collection of modules that are part of the Python installation, providing pre-written functions and modules.
CylindricalHaving the shape of a cylinder.
ConicalHaving the shape of a cone.
SurmountedTo be placed on top of something.
CanvasA strong, coarse, unbleached cloth made from cotton, hemp, or flax, used for sails, tents, and other purposes.
TaxA compulsory contribution to state revenue, levied by the government on workers' income and business profits or added to the cost of some goods, services, and transactions.

The complete chapter text is read in the official NCERT PDF viewer below (streamed from ncert.nic.in). This page provides NCERT Help study material — summary, vocabulary, practice questions, and FAQs — not a full reproduction of the textbook.

Read chapter online

This PDF is loaded from the official NCERT website (ncert.nic.in). Use the page buttons below to read — download is disabled on NCERT Help.

Read page by page below. PDF is streamed from the official NCERT website — no download button on this page.

Loading document …
Page of
Loading page …

Practice questions

  1. Why is it difficult to manage programs with a large number of lines? Answer: As the problem gets complex, the number of lines in a program increase, making the program look bulky and difficult to manage.
  2. What are the main components of the tent described in the chapter? Answer: The tent is cylindrical surmounted by a conical top.
  3. List the tasks performed by the company to fix the selling price of a tent. Answer: 1. Accept user requirements. 2. Calculate canvas area. 3. Calculate canvas cost. 4. Calculate net payable amount with tax.
  4. What is the purpose of using functions in programming? Answer: Functions help in organizing code into reusable blocks, making programs more manageable and less bulky.

Frequently asked questions

What is the main problem discussed in the introduction of Chapter 7?

The main problem is managing large and complex programs that become bulky and difficult to handle as the number of lines increases.

What is the shape of the tent described in the example?

The tent is cylindrical surmounted by a conical top.

What are the key steps involved in calculating the selling price of the tent?

The key steps include accepting user requirements, calculating canvas area, determining canvas cost, and adding tax to find the net payable amount.

What is the purpose of Program 7-1 in the chapter?

Program 7-1 demonstrates how to calculate the payable amount for the tent without using functions.

What alternative approach is suggested to solve the problem of program complexity?

The alternative approach is to divide the program into different blocks of code, which leads to the concept of functions.

What topics will be covered in Chapter 7 of Computer Science for Class 11?

Chapter 7 will cover Introduction to Functions, User Defined Functions, Scope of a Variable, and Python Standard Library.

Related resources

Important topics

Introduction to Functions User Defined Functions Scope of a Variable Python Standard Library Program Complexity and Management

Topics covered

Introduction to Functions User Defined Functions Scope of a Variable Python Standard Library Program Complexity Code Management Tent Manufacturing Example Canvas Area Calculation Cost Calculation Tax Calculation

NCERT Class 11 Computer Science — Computer Science — Chapter 7 — Functions. Verified by NCERT Help Editorial Team. Reviewed on 29 Jul 2026. Last updated 10 Aug 2026.