Quiz9-Files Flashcards
In current gaming software, it is rare for data files to be needed.(T/F)
False
The data saved in a file will remain there after the program ends but will be erased when the computer is turned off. (T/F)
False
In a text file, all data is stored as a series characters.(T/F)
True
All types of files can be viewed correctly in a simple text editor. (T/F)
False
Sequential access files are easy to work with because you can immediately jump to any piece of data without reading all the data before it.(T/F)
False
The use of a buffer increases the system’s performance because writing data to memory is faster than writing data to a disk.(T/F)
True
When an input file is opened, the read position is initially set to the first item in the file.(T/F)
True
The term “output file” describes a file that data is read from.(T/F)
False
In a file a record is a complete set of data about an item and a field is an individual piece of data within a record.(T/F)
True
It is possible to manipulate data in a file directly without saving its contents to an array or anywhere else in a program. (T/F)
False
A file specification document describes the fields that are used in a file and is used to help programmers understand how the data is organized before they begin writing programs to manipulate that data.(T/F)
True
Control break logic is used when the programmer wants a program to terminate immediately.(T/F)
False
Programmers usually refer to the process of saving to a file as ___________ to a file.
Writing
When a web page is visited, the browser may store a small file on the user’s computer. This file is known as a ______________.
Cookie
Opening a(n) _____________ file creates a file on disk and allows the program to write data to it.
Output