Chapter 11
Symbol used to represent the parent directory in a relative path name.
..
Symbol used to separate the names in a path in a Unix environment
/
Distinguish between a file and a directory
A file is a named collection of data. A directory is a named collection of files.
audio file
B. mp3, au, and wav
Symbol used to separate the names in a path in a Windows environment
\
word processing file
doc and wp3
A relative path is relative to the root of the directory hierarchy
false
An absolute path and a relative path will always be the same length.
false
Sequential access and direct access take about the same amount of time to retrieve data.
false
The current file pointer indicates the end of a file.
false
image file
gif, tiff, jpg
program source file
java, c, and cpp
A program written in a high-level language is stored in a text file that is also called a source file.
true
A text file stores binary data that is organized into groups of 8 or 16 bits that are interpreted as characters
true
An operating system is responsible for managing the access to a disk drive.
true
In most operating systems, a directory is represented as a file
true
Some operating systems maintain a separate read pointer and write pointer for a file
true
The seek time is the amount of time it takes for the heads of a disk to reach a particular cylinder
true
The shortest-seek-time-first disk scheduling algorithm moves the heads the minimum amount it can to satisfy a pending request.
true
The type of a file determines which kinds of operations can be performed on it
true
Two files in a directory system can have the same name if they are in different directories
true
UNIX file permissions allow a group of users to access a file in various ways
true
text data file
txt