CHAPTER 8 QUESTION 1 Many systems force users to have their files organized for
ID: 3820667 • Letter: C
Question
CHAPTER 8
QUESTION 1
Many systems force users to have their files organized for fixed-length records if the records are to be accessed directly.
True
False
4 points
QUESTION 2
In indexed storage, when a file is created, the pointers in the index block are all set to ____.
a.
zero
b.
the beginning of the volume
c.
null
d.
the end of the volume
4 points
QUESTION 3
In noncontiguous storage, one way to link file extents is at the storage level where each extent points to the ____.
a.
current subdirectory
b.
master directory entry
c.
next extent in the sequence
d.
next file in the sequence
4 points
QUESTION 4
In a file directory tree structure, the “leaves” of the tree are subdirectories created by the user.
True
False
4 points
QUESTION 5
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.
database
b.
subdirectory
c.
master file directory
d.
volume
4 points
QUESTION 6
____ text compression builds on the previous data element. The first data element in a list is not compressed but each entry after that takes a given number of characters from the previous entry that they have in common and then adds the characters that make it unique.
a.
Repeated-characters
b.
Front-end
c.
Repeated-terms
d.
Lossy
4 points
QUESTION 7
A file’s ____ filename includes all path information for that file.
a.
extended
b.
long-form
c.
relative
d.
absolute
4 points
QUESTION 8
Files cannot be converted from sequential to direct or vice versa.
True
False
4 points
QUESTION 9
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.
file location
b.
subdirectory
c.
volume directory
d.
master file directory
4 points
QUESTION 10
The formula for computing the current byte address (CBA) for a direct access file with fixed record length is ____.
a.
CBA = RN * RL
b.
CBA = (RN – 1) * RL
c.
CBA = (RN + 1) * RL
d.
CBA = RN / RL
4 points
QUESTION 11
A(n) ____ filename is the name that differentiates a file from other files in the same directory.
a.
absolute
b.
relative
c.
directory
d.
short-form
4 points
QUESTION 12
To support text compression, data in a fixed-length field that includes a short name followed by many blank characters can be replaced with a variable-length field and a special code to indicate how many blanks were truncated.
True
False
4 points
QUESTION 13
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.
lowest record key
b.
last record name
c.
first record name
d.
highest record key
4 points
QUESTION 14
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.
lookup
b.
translation
c.
hashing
d.
grouping
4 points
QUESTION 15
The File Manager responds to the CREATE command by creating a new file.
True
False
4 points
QUESTION 16
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
4 points
QUESTION 17
An indexed sequential file does not have overflow areas.
True
False
4 points
QUESTION 18
A subdirectory is created when a user opens an account to access the computer system.
True
False
4 points
QUESTION 19
____ are special files with listings of filenames and their attributes.
a.
Databases
b.
Directories
c.
Programs
d.
Data files
4 points
QUESTION 20
A file extension is usually two to four characters in length and is separated from the relative name by a period.
True
False
4 points
QUESTION 21
A volume must contain a single file.
True
False
4 points
QUESTION 22
When data is stored in fixed length fields, data that extends beyond the fixed size ____.
a.
generates an operating system error
b.
is broken up and stored in more than one field
c.
is truncated
d.
combines multiple fields to accommodate the data
4 points
QUESTION 23
As long as users refer to files in the ____ directory, they can access the files without entering the absolute filename.
a.
root
b.
main
c.
home
d.
working
4 points
QUESTION 24
A compressed image file can be reconstructed if a lossy compression algorithm is used because the compression process is reversible.
True
False
4 points
QUESTION 25
A UNIX or Linux system might identify a file as: /usr/imfst/flynn/inventory.doc. The first entry is a forward slash ( / ) representing the master directory, called the ____ directory.
a.
working
b.
branch
c.
main
d.
root
a.
zero
b.
the beginning of the volume
c.
null
d.
the end of the volume
Explanation / Answer
1) True many systems force users to have their files organized for fixed-length records if the records are to be accessed directly as to access a file , the manager needs to a sequential search and to do it saves the last record accessed and do the search or keep the table of records and their CBAs and search table for exact storage location of the record and to avoid all such hassle and problem, system force to have fixed length records.
2) In indexed storage, when a file is created, the pointers in the index block are all set to null.
3) In noncontiguous storage, one way to link file extents is at the storage level where each extent points to the next extent in the sequence.
4) False, in a file directory tree structure, the “leaves” of the tree are subdirectories created by the user.Instead the leaves are regular files.