Physical Database Design(Engineering > Computer Science And Engineering > Database System ) Questions and Answers

Question 1. If a denormalization situation exists with a one-to-one binary relationship, which of the following is true?
  1.    All fields are stored in four relations.
  2.    All fields are stored in two relations.
  3.    All fields are stored in three relations.
  4.    All fields are stored in one relation.
Explanation:-
Answer: Option D. -> All fields are stored in one relation.

Question 2. Selecting a data type involves which of the following?
  1.    Maximize storage space
  2.    Improve data integrity
  3.    Represent most values
  4.    All of these
Explanation:-
Answer: Option B. -> Improve data integrity

Question 3. What is the best data type definition for Oracle when a field is alphanumeric and has a length that can vary?
  1.    VARCHAR2
  2.    CHAR
  3.    LONG
  4.    NUMBER
Explanation:-
Answer: Option A. -> VARCHAR2

Question 4. If a denormalization situation exists with a many-to-many or associative binary relationship, which of the following is true?
  1.    All fields are stored in four relations.
  2.    All fields are stored in two relations.
  3.    All fields are stored in one relation.
  4.    All fields are stored in three relations.
Explanation:-
Answer: Option B. -> All fields are stored in two relations.

Question 5. Which of the following is an advantage of partitioning?
  1.    Security
  2.    Inconsistent access speed
  3.    Extra space
  4.    Complexity
Explanation:-
Answer: Option A. -> Security

Question 6. What is the best data type definition for Oracle when a field is alphanumeric and has a fixed length?
  1.    CHAR
  2.    LONG
  3.    NUMBER
  4.    VARCHAR2
Explanation:-
Answer: Option A. -> CHAR

Question 7. Which of the following is not a factor to consider when switching from small to large block size?
  1.    Random row access speed
  2.    The length of all of the fields in a table row
  3.    The number of columns
  4.    Block contention
Explanation:-
Answer: Option C. -> The number of columns

Question 8. The blocking factor is:
  1.    the number of physical records per page.
  2.    a group of fields stored in adjacent memory.
  3.    attributes grouped together by the same secondary key.
  4.    attributes grouped together by the same primary key.
Explanation:-
Answer: Option A. -> the number of physical records per page.

Question 9. Which of the following improves a query's processing time?
  1.    Use compatible data types.
  2.    Combine a table with itself.
  3.    Write complex queries.
  4.    Query one query within another.
Explanation:-
Answer: Option A. -> Use compatible data types.

Question 10. Which of the following are integrity controls that a DBMS may support?
  1.    Assume a default value in a field unless a user enters a value for that field.
  2.    Limit the use of null values in some fields.
  3.    All of these
  4.    Limit the set of permissible values that a field may assume.
Explanation:-
Answer: Option C. -> All of these