Files

Files

University

8 Qs

quiz-placeholder

Similar activities

ความรู้เบื้องต้นเกี่ยวกับ Flash

ความรู้เบื้องต้นเกี่ยวกับ Flash

12th Grade - University

10 Qs

assemblyLanguageChap3

assemblyLanguageChap3

University

10 Qs

Quiz Mid Semester Data Manajemen

Quiz Mid Semester Data Manajemen

University

10 Qs

Pemrograman Web 1

Pemrograman Web 1

University

10 Qs

Q5 - ICT2

Q5 - ICT2

University

10 Qs

MT_Chapter 5 & 6 (set 2)

MT_Chapter 5 & 6 (set 2)

University

10 Qs

OS-Process Termination

OS-Process Termination

University

10 Qs

SO-750

SO-750

University

10 Qs

Files

Files

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Carol Redfield

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to open a file?

fopen

fclose

fgets

fprintf

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For every fopen command in a program, there should be an _____ command?

fopen

fclose

fgets

fprintf

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command writes text to a file?

fopen

fclose

fgets

fprintf

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command reads lines of text from a file?

fopen

fclose

fgets

fprintf

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the code that declares a pointer to a file?

afile * file;

FILE *afile;

file *afile;

*afile FILE;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False: In order to get data from a file, we need to know where the file is located.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To find a location of file with its path, in every place there is a \, we need to change it to ___.

_

.

\\

/

Access all questions and much more by creating a free account

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

Already have an account?

Discover more resources for Computers