Skip to main content
Chapter 15 of 29
Revision Notes

Functions — Revision Notes

NIOS · Class 12 · Computer Science

Functions revision notes for NIOS Class 12 Computer Science: 4 topics in quick points. Part of the NIOS Class 12 Computer Science syllabus.

129 questions33 flashcards3 formulas & key relations5 concepts

Interactive on Super Tutor

Studying Functions? Get the full interactive chapter.

Quizzes, flashcards, AI doubt-solver and a step-by-step study plan — built for revision notes and more.

Free trial, no card needed.

Key Topics to Revise

1

1. Basics of Functions

  • A function is a group of statements that together perform a task.
  • Every program in C++ has main() function by default.
  • If there is a single function in a program, it should be named main().
2

2. Header Files and #include

  • A header file may be included in two ways: angle brackets or double quotes.
  • Angle brackets mean the file is in the standard include directory.
  • Double quotes mean the file is in the current directory.
3

3. Library Functions

  • Mathematical functions like sin(), cos(), tan(), asin(), acos(), exp(), log(), log10(), sqrt(), pow(), abs(), and fabs() are defined in math.h.
  • Character functions require ctype.h.
  • String functions are present in string.h.
4

4. Function Prototype and Arguments

  • The function prototype informs the compiler about the functions to be used in a program, the arguments they take, and the type of value they return.
  • Functions which do not return any value are known as void functions.
  • The variables which supply the values to a calling function are called actual parameters.

Get complete notes with diagrams and examples

Full Notes

Key Concepts

A function is a groupEvery program in C++ has main()Library functions are used by includingC++ provides builtThe function prototype informs the compiler

Frequently Asked Questions

What are the important topics in Functions for NIOS Class 12 Computer Science?
Key topics in Functions include Basics of Functions, Header Files and #include, Library Functions, Function Prototype and Arguments. Study these first, then practise questions on each for the NIOS Class 12 board exam.
How should I revise Functions for the NIOS Class 12 board exam?
Learn the core ideas first, then work through the 129 practice questions on Functions. Revise definitions regularly and use flashcards for quick recall before the exam.

Sources & Official References

Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.

For serious students

Get the full Functions chapter — start free.

Quizzes, flashcards, an AI doubt solver and a study plan for NIOS Class 12 Computer Science. Free to start, no card needed.