Skip to main content
Chapter 15 of 29
Flashcards

Functions — Flashcards

NIOS · Class 12 · Computer Science

33 flashcards for Functions (NIOS Class 12 Computer Science) to test yourself on key terms and facts. Sample: "What is a function in C++?"

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 flashcards and more.

Free trial, no card needed.

33 Flashcards·
Introduction to functionsmain() functionFunction prototypeReturn typeLibrary functionsCharacter functionsString functionsConsole I/O functions
Card 1Introduction to functions

What is a function in C++?

Answer

A function is a group of statements that together perform a task.

Card 2main() function

Which function starts execution in every C++ program?

Answer

main() starts the execution of a C++ program. If there is a single function in a program, it should be named main().

Card 3Function prototype

What does a function prototype tell the compiler?

Answer

A 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.

Card 4Return type

What is a void function?

Answer

Functions which do not return any value are known as void functions.

Card 5Library functions

Which header file is used for mathematical functions like sin(), cos(), sqrt(), and pow()?

Answer

Mathematical functions are defined in math.h.

Card 6Character functions

Which header file is used for character functions like isalpha(), isdigit(), islower(), and toupper()?

Answer

Character functions require ctype.h.

Card 7String functions

Which header file is used for string functions like strlen(), strcat(), strcpy(), and strcmp()?

Answer

String functions are present in string.h.

Card 8Console I/O functions

Which header file is used for getchar(), putchar(), gets(), and puts()?

Answer

Console I/O functions getchar(), putchar(), gets(), and puts() require stdio.h.

+25 more flashcards

Practise All

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 many flashcards are available for Functions?
There are 33 flashcards for Functions covering key definitions, facts and ideas. A few sample cards are shown on this page.
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.