Contents

A collection of related record that are permanently stored in secondary storage is called……
a) file                                    
b) record
c) data                                  
d) database

a

Which of the following operations are performed on files?
a) reading                             
b) writing
c) opening                            
d) all of these

d

By default, all the files in C++ are opened in……….mode.
a) text                                   
b) binary
c) VTC                                  
d) none of these

a

The file, which is not readable by human, but readable by machines is called……
a) binary file                      
b) text file
c) image file                         
d) video file

a

Which header file is required to use file I/O operations?
a) <ifstream>                       
b) <fstream>
c) <iostream>                      
d) all of these

b

Which of the following function is used to open the file in file handling?
a) new ()                                               
b) open ()
c) save ()                                               
d) none of these

b