Functions — Practice Quiz
NIOS · Class 12 · Computer Science
4 MCQs on Functions for NIOS Class 12 Computer Science: tap an answer to check it and see why. The full chapter test has 129 questions.
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 practice quiz and more.
Free trial, no card needed.
Quick Quiz: Functions
0/4Tap an answer to check it instantly. No sign-up needed for these 4.
What is the main() function in a C++ program?
If a C++ program contains only one function, which name must it have?
Which statement about a function is correct?
Which header file is required for getchar(), putchar(), gets(), and puts()?
Sample Questions
Which function returns a single character from the keyboard and takes no parameter?
Show answer
getchar()
getchar() returns a single character from standard input and takes no parameter.
What does putchar() do?
Show answer
It sends one character to the output device and also returns that character
putchar() takes one character argument, sends it to the output device, and returns it as a result.
Which function gets a string terminated by a newline character from stdin?
Show answer
gets()
gets() reads a string from standard input until a newline is reached.
Which function outputs a string?
Show answer
puts()
puts() is the string output function and works with strings.
+125 more questions on Functions (NIOS Class 12 Computer Science)
Practise AllFrequently Asked Questions
What are the important topics in Functions for NIOS Class 12 Computer Science?
How many practice questions are there for Functions?
Sources & Official References
Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.
More resources for Functions
Important Questions
Exam-style questions with answers
Revision Notes
Key points for last-minute revision
Formula Sheet
The chapter's formulas in one place
Chapter Summary
Understand the chapter at a glance
Concept Maps
See how topics connect
Study Plan
Step-by-step plan for this chapter
Flashcards
Quick-fire cards for active recall
Syllabus
What topics to cover
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.