DATA FILE HANDLING USING C++
Quiz by Kiran Kumari K
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
8 questions
Show answers
- Q1By default, all the files are opened in ___________mode .AteTextDatBinary30s
- Q2It is not possible to combine two or more file opening mode in open () method.FalseTrue30s
- Q3Which of the following is not a file opening mode ____ .ios::nocreateios::noreplaceios::truncateios::ate30s
- Q4Due to ios::trunc mode, the file is truncated to zero length.TrueFalse30s
- Q5If we have object from ofstream class, then default mode of opening the file is _____ .ios::outios::inios::out|ios::trunkios::in|ios::app30s
- Q6To create an output stream, we must declare the stream to be of class ___________ .iofstreamofstreamifstream30s
- Q7Streams that will be performing both input and output operations must be declared as class _________ .stdstreamStdiostreamiostreamfstream30s
- Q8To perform File I/O operations, we must use _____________ header file.ofstreamifstreamfstream30s