Files — Practice Quiz
NIOS · Class 12 · Computer Science
4 MCQs on Files for NIOS Class 12 Computer Science: tap an answer to check it and see why. The full chapter test has 77 questions.
Interactive on Super Tutor
Studying Files? 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: Files
0/4Tap an answer to check it instantly. No sign-up needed for these 4.
What is a file in computer science according to the chapter?
What are the two types of data communication needed in a program that works with files?
In writing data to a file, which flow of data is correct?
In reading data from a file, which flow of data is correct?
Sample Questions
Which header file is required for output stream?
Show answer
ofstream.h
Output stream requires ofstream.h.
Which header file is required for input stream?
Show answer
ifstream.h
Input stream requires ifstream.h.
Which header file is required when both input stream and output stream are used in the same program?
Show answer
fstream.h
When both input and output streams are used in the same program, fstream.h is required.
How can a file be opened?
Show answer
Using the constructor function of a class or the member function open()
A file can be opened in two ways: constructor function or open() member function.
+73 more questions on Files (NIOS Class 12 Computer Science)
Practise AllFrequently Asked Questions
What are the important topics in Files for NIOS Class 12 Computer Science?
How many practice questions are there for Files?
Sources & Official References
Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.
More resources for Files
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 Files 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.