QUESTION 1 Programmers usually refer to the process of saving data to a file as
ID: 3690302 • Letter: Q
Question
QUESTION 1
Programmers usually refer to the process of saving data to a file as _______________a file.
Saving data to.
Copying data to.
Writing data to.
Put data to.
None of the above.
2 points
QUESTION 2
What is the term used to describe a file that data is read from?
In file.
Out file.
Output file.
Input file.
None of the above.
3 points
QUESTION 3
How many steps must be taken when a file is used by a program?
One.
Two.
Three.
Four.
None of the above.
3 points
QUESTION 4
Opening a(n) ________ file creates a file on disk and allows the program to write data to it.
In .
Out .
Output .
Input.
None of the above.
3 points
QUESTION 5
What type of data file can be opened and viewed in an editor such as Notepad?
Text file.
Output file.
Input file.
Binary file.
None of the above.
3 points
QUESTION 6
What type of data file cannot be opened and viewed in an editor such as Notepad?
Text file.
Output file.
Input file.
Binary file.
None of the above.
3 points
QUESTION 7
Which type of data file access starts from the beginning of the file and proceeds to the end of the file?
Direct access.
Sequential access.
Input access.
Output access.
None of the above.
3 points
QUESTION 8
Which type of data file access allows access to any piece of data in the file without reading the data that comes before it?
Direct access.
Sequential access.
Input access.
Output access.
None of the above.
3 points
QUESTION 9
Which flowcharting symbol is used for opening and closing files?
Rectangle.
Parallelogram.
Diamond.
Oval.
None of the above.
3 points
QUESTION 10
In an input file, what maintains the location of the next item that will be read from the file?
Marker.
Locator.
Read locator.
Read marker.
Read position.
3 points
QUESTION 11
What type of file does the AppendMode work with?
Text file.
Output file.
Input file.
Binary file.
None of the above.
3 points
QUESTION 12
What is the terminology used when a task is temporarily interrupted as a control variable reaches a specific value?
Control break.
End of page.
Break.
Control break logic.
None of the above.
3 points
QUESTION 13
In general, how many types of files are there?
One.
Two.
Three.
Five.
None of the above.
3 points
QUESTION 14
The data saved in a file will remain there even after the program stops running but will be wiped out when the computer is turned off..
True
False
3 points
QUESTION 15
In a text file, all data is stored as a series of characters.
True
False
3 points
QUESTION 16
All types of data files are viewable in a text editor.
True
False
3 points
QUESTION 17
The sequential access file is similar to the way a cassette player works.
True
False
3 points
QUESTION 18
The direct access file is similar to the way an MP3 player works: the player starts from the beginning.
True
False
3 points
QUESTION 19
The use of a buffer increases the system’s performance because writing data to memory is faster than writing to a disk.
True
False
3 points
QUESTION 20
When an input file is opened, the read position is initially set to the first item in the file.
True
False
3 points
QUESTION 21
The programmer has the option to append data anywhere in an output file.
True
False
3 points
QUESTION 22
The term output file is used to describe a file that data is read from.
True
False
3 points
QUESTION 23
The term input file is used to describe a file that data is written to.
True
False
3 points
QUESTION 24
The Output file is used to describe a file that data is written to.
True
False
3 points
QUESTION 25
When a program performs the task of retrieving data from a file, it is known as reading data from/to the file.
True
False
3 points
QUESTION 26
The process of opening a file creates a connection between the file and the program.
True
False
3 points
QUESTION 27
When a program closes a file, it disconnects the file from the program.
True
False
3 points
QUESTION 28
The direct access file is also known as a random access file.
True
False
3 points
QUESTION 29
When writing a program to perform a file operation, there is one names that you have to work with in the program’s code.
True
False
3 points
QUESTION 30
The word OutputFile indicates the mode in which the file is used.
True
False
3 points
QUESTION 31
The buffer is a small holding section in memory.
True
False
3 points
QUESTION 32
The end-of-file-marker marker indicates where the file’s content ends.
True
False
3 points
QUESTION 33
Data in a file is organized in records, which are a complete set of data about an item.
True
False
3 points
QUESTION 34
There are always two steps that must be taken when a file is used by a program.
True
False
A.Saving data to.
B.Copying data to.
C.Writing data to.
D.Put data to.
E.None of the above.
Explanation / Answer
1.Writing data to.[option c]
2.Input file.[option D]
3.Three.[option c]
4.Output .[option c]
5.Text file.[option A]
6.Binary file.[option D]
7.Sequential access [option B]
8.Direct access.[option A]
9.Rectangle.[option A]
10.Read position.[option E]
11.Output file.[option B]
12.Control break logic.[option D]
13.Two.[option B]
14. False
15.
16.True
17.True
18.False
19.True
20.True
21.False
22.False
23.False
24.True
25.True
26.True
27.True
28. True
29.False
30.True
31.True
32.False
33.True
34.True
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.