
Files

Quiz
•
Computers
•
University
•
Easy
Carol Redfield
Used 4+ times
FREE Resource
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 ___.
_
.
\\
/
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the fopen command, which one is not an input parameter for the mode.
r
w
d
a
Similar Resources on Wayground
5 questions
Práctica 7b - Archivos en C 2

Quiz
•
University
12 questions
C/C++ C Function

Quiz
•
University
10 questions
Files in C

Quiz
•
University
6 questions
files

Quiz
•
University
10 questions
CSC1003-QUIZ-1

Quiz
•
University
13 questions
Sains Komputer Tingkatan 5 - 3.2.2 Menghasil dan menyimpan

Quiz
•
1st Grade - Professio...
13 questions
C directorios

Quiz
•
University
8 questions
Rekurzió, sorozatok

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Computers
36 questions
USCB Policies and Procedures

Quiz
•
University
4 questions
Benefits of Saving

Quiz
•
5th Grade - University
20 questions
Disney Trivia

Quiz
•
University
2 questions
Pronouncing Names Correctly

Quiz
•
University
15 questions
Parts of Speech

Quiz
•
1st Grade - University
1 questions
Savings Questionnaire

Quiz
•
6th Grade - Professio...
26 questions
Parent Functions

Quiz
•
9th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University