File Handling in C++

Quiz
•
Computers
•
12th Grade - University
•
Medium
Fahad Khan
Used 32+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Files store data permanently in a/ an
storage device.
array.
function.
variable.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A collection of characters that is written or read during file handling in C++ is called
variable.
stream.
bits.
numbers.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Fstream library provides C++ programmers with ___________ classes for working with files
Two
Three
Four
Five
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A class which is used for reading information from data files is called
ofstream
ifstream
fstream
iostream
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A class which is capable of creating files, writing to files, reading from data files is called
ofstream
ifstream
fstream
iostream
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A class which is capable of creating files and writing information to files is called
ofstream
ifstream
fstream
iostream
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
To perform file processing in C++, header files <iostream> and <fstream> must be included in your C++ source file.
True
False
Create a free account and access millions of resources
Similar Resources on Wayground
21 questions
Een website met Wordpress

Quiz
•
8th - 12th Grade
15 questions
Databases

Quiz
•
10th Grade - University
15 questions
File Handling in C++ Programming

Quiz
•
12th Grade
20 questions
File Handling Revision- Text file Handling Quiz 1

Quiz
•
12th Grade
25 questions
CSV File handling in Python

Quiz
•
12th Grade
15 questions
File Formats

Quiz
•
9th - 12th Grade
18 questions
File Types

Quiz
•
12th Grade
20 questions
Audio

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade