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
15 questions
File Formats

Quiz
•
9th - 12th Grade
15 questions
Exception handling -oracle plsql

Quiz
•
University
20 questions
หน่วยงานข้อมูลสารสนเทศ ม.1

Quiz
•
12th Grade
15 questions
File Handling in C++ Programming

Quiz
•
12th Grade
15 questions
SISTEMAS OPERATIVOS

Quiz
•
2nd Grade - Professio...
22 questions
Operating System

Quiz
•
12th Grade
18 questions
KIEM TRA_WORD_2

Quiz
•
11th - 12th Grade
20 questions
Informatika Kelas 7 Bab 4 Jaringan Komputer dan Internet

Quiz
•
7th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade