Physical Database Design(Database ) 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 one relation.
  2.    All fields are stored in two relations.
  3.    All fields are stored in three relations.
  4.    All fields are stored in four relations.
Explanation:-
Answer: Option A. -> All fields are stored in one relation.

Question 2. Selecting a data type involves which of the following?
  1.    Maximize storage space
  2.    Represent most values
  3.    Improve data integrity
  4.    All of the above.
Explanation:-
Answer: Option C. -> 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 one relation.
  2.    All fields are stored in two relations.
  3.    All fields are stored in three relations.
  4.    All fields are stored in four relations.
Explanation:-
Answer: Option B. -> All fields are stored in two relations.

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

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

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

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

Question 9. 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 set of permissible values that a field may assume.
  3.    Limit the use of null values in some fields.
  4.    All of the above.
Explanation:-
Answer: Option D. -> All of the above.

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