MCQ CHP8-CIS Flashcards
(30 cards)
1.An inventory record contains part number, part name, part color, and part weight. These
individual items are called
a. fields.
b. stored files.
c. bytes.
d. occurrences.
A. Fields
.It is appropriate to use a sequential file structure when
a. records are routinely inserted.
b. single records need to be retrieved.
c. records need to be scanned using secondary keys.
d. a large portion of the file will be processed in one operation.
D. A large portion of the file will be processed in one operation
Which of the following statements is not true?
a. Indexed random files are dispersed throughout the storage device without regard for
physical proximity with related records.
b. Indexed random files use disk storage space efficiently.
c. Indexed random files are efficient when processing a large portion of a file at one time.
d. Indexed random files are easy to maintain in terms of adding records.
C. Indexed random files are efficient when processing a large portion of a file at one time.
Which characteristic is associated with the database approach to data management?
a. data sharing
b. multiple storage procedures
c. data redundancy
d. excessive storage costs
A. Data Sharing
.Which statement is not correct? The VSAM structure
a. is used for very large files that need both direct access and batch processing.
b. may use an overflow area for records.
c. provides an exact physical address for each record.
d. is appropriate for files that require few insertions or deletions.
C. provides an exact physical address for each record.
Which statement is true about a hashing structure?
a. The same address could be calculated for two records.
b. Storage space is used efficiently.
c. Records cannot be accessed rapidly.
d. A separate index is required.
A. The same address could be calculated for two records.
.In a hashing structure,
a. two records can be stored at the same address.
b. pointers are used to indicate the location of all records.
c. pointers are used to indicate the location of a record with the same address as another
record.
d. all locations on the disk are used for record storage.
C. pointers are used to indicate the location of a record with the same address as another
record.
.Pointers can be used for all of the following except
a. to locate the subschema address of the record.
b. to locate the physical address of the record.
c. to locate the relative address of the record.
d. to locate the logical key of the record
A. to locate the subschema address of the record.
Pointers are used
a. to link records within a file.
b. to link records between files.
c. to identify records stored in overflow.
d. all of the above.
D. all of the above
In a hierarchical model
a. links between related records are implicit
b. the way to access data is by following a predefined data path
c. an owner (parent) record may own just one member (child) record
d. a member (child) record may have more than one owner (parent)
B. the way to access data is by following a predefined data path
Which term is not associated with the relational database model?
a. tuple
b. attribute
c. collision
d. relation
C. Collision
.In the relational database model
a. relationships are explicit
b. the user perceives that files are linked using pointers
c. data is represented on two-dimensional tables
d. data is represented as a tree structure
C. data is represented on two-dimensional tables
.The most serious problem with unnormalized databases is the
a. update anomaly
b. insertion anomaly
c. deletion anomaly
d. none of the above
C. Deletion Anomaly
.In the relational database model all of the following are true except
a. data is presented to users as tables
b. data can be extracted from specified rows from specified tables
c. a new table can be built by joining two tables
d. only one-to-many relationships can be supported
D. only one-to-many relationships can be supported
.In a relational database
a. the user’s view of the physical database is the same as the physical database
b. users perceive that they are manipulating a single table
c. a virtual table exists in the form of rows and columns of a table stored on the disk
d. a programming language (COBOL) is used to create a user’s view of the database
B. users perceive that they are manipulating a single table
The update anomaly in unnormalized databases
a. occurs because of data redundancy
b. complicates adding records to the database
c. may result in the loss of important data
d. often results in excessive record insertions
A. occurs because of data redundancy
The deletion anomaly in unnormalized databases
a. is easily detected by users
b. may result in the loss of important data
c. complicates adding records to the database
d. requires the user to perform excessive updates
B. may result in the loss of important data
.Which statement is correct?
a. in a normalized database, data about vendors occur in several locations
b. the accountant is responsible for database normalization
c. in a normalized database, deletion of a key record could result in the destruction of the
audit trail
d. connections between M:M tables are provided by a link table
D. connections between M:M tables are provided by a link table
Which of the following is not a common form of conceptual database model?
a. hierarchical
b. network
c. sequential
d. relational
C. Sequential
Which of the following is a relational algebra function?
a. restrict
b. project
c. join
d. all are relational algebra functions
D. all are relational algebra functions
.Entities are
a. nouns that are depicted by rectangles on an entity relationship diagram
b. data that describe the characteristics of properties of resources
c. associations among elements
d. sets of data needed to make a decision
A. nouns that are depicted by rectangles on an entity relationship diagram
.A user view
a. presents the physical arrangement of records in a database for a particular user
b. is the logical abstract structure of the database
c. specifies the relationship of data elements in the database
d. defines how a particular user sees the database
D. defines how a particular user sees the database
.All of the following are advantages of a partitioned database except
a. increased user control by having the data stored locally
b. deadlocks are eliminated
c. transaction processing response time is improved
d. partitioning can reduce losses in case of disaster
B. deadlocks are eliminated
A table is in third normal form when it is
a. free of repeating group data
b. free of transitive dependencies
c. free of partial dependencies
d. free of deletion anomalies
e. none of the above
B. free of transitive dependencies