Erstellt von Andrew Lewis
vor fast 4 Jahre
|
||
A file that data is written to is known as an _____.
A file that data is read from is known as an _____.
Before a file can be used by a program, it must be _____.
When a program is finished using a file, the file should be _____.
The contents of this type of file can be viewed in editor such as Notepad. Contents have been encoded as text, using a scheme such as ASCII or Unicode.
This type of file contains data that has not been converted to text.
When working with this type of file, you access its data from the beginning of the file to the end of the file. All data must be read and no skips can be made.
When working with this type of file, you can jump directly to any piece of data in the file without reading the data that comes before it.
This is a small "holding section" in memory that many systems write data to before writing the data to a file. Increases system's performance. When this is full or when the file is closing, the computer's OS writes the contents to the file.
This is a character or set of characters that marks the end of a piece of data. Used to separate the different items that are stored in a file.
This is a character or set of characters that marks the end of a file.
This marks the location of the next item that will be read from a file. When an input file is opened, it will automatically be set to the first item in the file.
When a file is opened in this module, data will be written at the end of the file's existing contents (the existing contents won't be erased upon reopening). If the file doesn't exist, it will be created.
True/False: The expression "NOT eof(myFile)" is equivalent to "eof(myFile) == False".
This is a single piece of data within a record.
Short sequence of characters that appear at the end of a filename preceded by a period. (Example: .jpg, .txt, .doc)
A complete set of data that describes one item.
Document that describes the fields that are stored in a particular file, including their data types.
Program that performs an ongoing task, but temporarily interrupts the task when a control variable changes its value. When this happens, some other action is performed and then the program resumes its ongoing task.
A _____ is used to design the appearance of the printed report. Its a sheet of paper that has a grid, similar to graph paper.
There are always three steps that must be taken when a file is used by a program. What are they?
True/False: In most languages, if a file with the specified external name already exists when the file is opened, the contents of the existing file will be erased.
Where are files normally stored?
When writing a program that performs an operations on a file, what two file-associated names do you have to work with in your code?
What is the purpose of opening a file?
What is the purpose of closing a file?
What is the purpose of the "eof" function?
Is it acceptable for a program to attempt to read beyond the end of a file?
What would it mean if the expression "eof(myFile)" were to return "True"?