
M4?: Prog
Authored by John Paglinawan
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
72 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Refers to the name of the file
Filename
file attribute
File pointer
file extension
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It points to a structure that contains about the file:
File name
Extension name
File type
File pointer
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax for declaring a file pointer?
*FILE fp;
file *fp;
File *fp;
FILE *fp;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Creates a new file or open an existing file
getc()
puc()
fclose()
fopen()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
File mode that opens a text file in append mode
rb
r
a
b
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to create an output stream?
ifstream
iostream
ofstream
fstream
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a
65 A
65
error
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?