Files

Files

University

8 Qs

quiz-placeholder

Similar activities

Simdig

Simdig

12th Grade - University

10 Qs

python quiz

python quiz

6th Grade - Professional Development

10 Qs

Tes Awal Modul 5

Tes Awal Modul 5

University

10 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Java History Characteristics Environment

Java History Characteristics Environment

University

12 Qs

Google Docs

Google Docs

5th Grade - University

13 Qs

Computer Intro-Final Review 4

Computer Intro-Final Review 4

KG - University

10 Qs

Microsoft  Office Word

Microsoft Office Word

4th Grade - University

12 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