Chapter 7 (File Handling) Flashcards
a collection of data stored on a nonvolatile device in a computer system
a computer file
What describes a permanent storage device wherein data items saved onto them are available for future use?
Durable
What are the 2 categories of computer files?
- text files
2. binary files
oftentimes, this designates the software that will be used to open a given file.
filename extension
what is the base unit that file sizes are measured in?
bytes
thousands of bytes
kilobyte
billions of bytes
gigabyte
What are the 2 organizational units on a storage device?
Directories and folders
Each computer files has a ________, by default. You cannot save a file without it.
filename
data that has not been encoded by text / cannot be read in a text editor.
binary files
Terms such as “temporary” and “permanent” do NOT refer to length of time, they refer to _______.
volatility
disk drive + the complete hierarchy of directories in which a file resides
a file’s “path”
When writing a program that stores a value in a variable, you are using ___________ storage.
temporary
the relationship among data components
data hierarchy
letters, numbers, and special symbols; they include seemingly “empty” symbols such as spaces and tabs
characters
The value of a variable is temporarily stored, so it is lost when the program ends or if the computer…
loses power
What is another term for permanent storage?
persistent storage
Files are…
a group of related records.
Characters -> ______ -> _______ -> Files
Fields, Records
these hold related file data in tables
database
These can contain multiple files as well as additional of itself.
Directories
True or False: functionally, directories and folders are the same.
True
Records are a group of ______ that go together for some logical reason.
fields
a million bytes
megabytes