NCERT Class 11 Computer Science Computer Science: Chapter 7 — Functions
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
| Board | CBSE / NCERT |
|---|---|
| Class | Class 11 |
| Subject | Computer Science |
| Book | Computer Science |
| Chapter | Chapter 7 — Functions |
| Language | English |
| PDF type | NCERT Textbook |
| Session | CBSE 2026 |
| Reading time | 3 minutes |
| Word count | 414 |
Learning outcomes
- Understand the need for functions in managing complex programs.
- Recognize the limitations of large, unorganized code.
- Identify the steps involved in calculating the cost of a tent.
- Appreciate the concept of modular programming through code blocks.
Vocabulary
| Word | Meaning |
|---|---|
| Functions | A block of organized, reusable code that is used to perform a single, related action. |
| User Defined Functions | Functions created by the programmer to perform specific tasks. |
| Scope of a Variable | The region of a program where a declared variable is accessible. |
| Python Standard Library | A collection of modules that are part of the Python installation, providing pre-written functions and modules. |
| Cylindrical | Having the shape of a cylinder. |
| Conical | Having the shape of a cone. |
| Surmounted | To be placed on top of something. |
| Canvas | A strong, coarse, unbleached cloth made from cotton, hemp, or flax, used for sails, tents, and other purposes. |
| Tax | A 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.
Practice questions
- 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.
- What are the main components of the tent described in the chapter? Answer: The tent is cylindrical surmounted by a conical top.
- 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.
- 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
Topics covered
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.