ITS-235 Quiz 8

b. Directories

____ are special files with listings of filenames and their attributes.
a. Databases
b. Directories
c. Data files
d. Programs

True

When using a contiguous file storage scheme, the File Manager keeps track of empty storage areas by treating them as files.
True / False

a. folders

Many computer users and some operating systems call subdirectories ____.
a. folders
b. volumes
c. databases
d. files

d. relative

A(n) ____ filename is the name that differentiates a file from other files in the same directory.
a. short-form
b. directory
c. absolute
d. relative

True

If the File Manager is required to provide detailed instructions for each system device (how to start it, get it to move to the correct place where the desired record is located, and when to stop), then the program is considered device dependent.
True / F

False (each volume can contain several files)

A volume must contain a single file.
True / False

False (All program and data files subsequently added to the tree are the leaves.)

In a file directory tree structure, the "leaves" of the tree are subdirectories created by the user.
True / False

c. sequential, direct, or indexed sequential

On magnetic disks, files can be organized in one of three ways: ____.
a. sequential, indirect, or direct
b. indexed direct, indexed indirect, or random
c. sequential, direct, or indexed sequential
d. sequential, random, or indirect

contiguous

A type of file storage in which all the information is stored in adjacent locations in a storage medium best describes ______________ storage.

True

A subdirectory is created when a user opens an account to access the computer system.
True / False

directory

A storage area in a secondary storage volume (disk, disk pack, etc.) containing information about files stored in that volume best describes a(n) ____________.

False (An indexed sequential file also has overflow areas, but they're spread throughout the file, perhaps every few records, so expansion of existing records can take place, and new records can be located in close physical sequence as well as in logical

An indexed sequential file does not have overflow areas.
True / False

access

A(n) _______________ control list is an access control method that lists each file, the names of the users who are allowed to access it, and the type of access each is permitted.

d. master file directory

Each volume in a system has a volume descriptor followed by a ____ that lists the names and characteristics of every file contained in that volume.
a. volume directory
b. subdirectory
c. file location
d. master file directory

variable-

A(n) _____________length record refers to a record that does not always contain the same number of characters.

False (it's actually a command to access records within the file.)

When a user gives a command to modify the contents of a file, it's actually a command to access folders within the file.
True / False

current

The directory or subdirectory in which the user is presently working best describes the______________ directory.

c. is truncated

When data is stored in fixed length fields, data that extends beyond the fixed size ____.
a. is broken up and stored in more than one field
b. combines multiple fields to accommodate the data
c. is truncated
d. generates an operating system error

False (A field is defined as a group of characters separated
by at least one blank. A field is a group of related bytes that can be identified by the user with a name, type,
and size.)

A field is a group of related records that can be identified by the user with a name, type, and size.
True / False

b. subdirectory

Although a user directory is treated as a file, it is flagged to indicate to the File Manager that this file is really a ____ whose records are filenames that point to files.
a. master file directory
b. subdirectory
c. volume
d. database

b. Highest record key

When using indexed sequential record organization, each entry in the index file contains the ____ and the physical location of the data block where this record, and the records with smaller keys, are stored.
a. First record name
b. Highest record key
c. L

compression

A procedure used to reduce the amount of space required to store data by reducing, encoding, or abbreviating repetitive terms or characters best describes data __________.

a. Hashing

In a direct record organization scheme, the program used to store the data follows a set of instructions, called a ____ algorithm, that transforms each key into a number, the record's logical address.
a. Hashing
b. Grouping
c. Lookup
d. Translation

False (The relative filename is the name that differentiates it from other files in the same directory.)

A relative filename is a name that is selected by the File Manager when the file is created.
True / False

True

A file extension is usually two to four characters in length and is separated from the relative name by a period.
True / False

c. CBA = (RN - 1) * RL

The formula for computing the current byte address (CBA) for a direct access file with fixed record length is ____.
a. CBA = (RN + 1) * RL
b. CBA = RN / RL
c. CBA = (RN - 1) * RL
d. CBA = RN * RL

True

Although noncontiguous allocation schemes eliminate external storage fragmentation and the need for compaction, they don't support direct access because there's no easy way to determine the exact location of a specific record.
True / False

False

Files cannot be converted from sequential to direct or vice versa.
True / False

False (The highest level module is called the "basic file system," and it passes information through the access control verification module to the logical file system, which, in turn, notifies the physical file system, which works with the Device Manager.

In a file management system, information is passed from the Device Manager at the top of the hierarchy to the File Manager at the bottom.
True / False

False (there is no explicit command to create a new file; In some operating systems, when a user issues the command NEW (to open a New file), this indicates to the File Manager that a file must be created.)

In Windows, the File Manager responds to the CONSTRUCT command by creating a new file.
True / False