File Handling in C++

File Handling in C++

12th Grade - University

20 Qs

quiz-placeholder

Similar activities

Protecting Yourself Online Lesson 8 of the CIW

Protecting Yourself Online Lesson 8 of the CIW

12th Grade

16 Qs

GIT Básico

GIT Básico

University

18 Qs

การตัดต่อภาพยนตร์

การตัดต่อภาพยนตร์

12th Grade

20 Qs

Sistem Informasi Manajemen

Sistem Informasi Manajemen

University

20 Qs

Bermain Gambar

Bermain Gambar

1st Grade - Professional Development

15 Qs

IAS CH4

IAS CH4

University

20 Qs

C-Programming Basics

C-Programming Basics

12th Grade

16 Qs

Microsoft Excel

Microsoft Excel

KG - Professional Development

20 Qs

File Handling in C++

File Handling in C++

Assessment

Quiz

Computers

12th Grade - University

Medium

Created by

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers