Multiple Choice Questions On Databases
Multiple Choice Questions On Databases
Answer:
A) EmployeeID
B) Pa ent_ID
C) Pa ent_ID and Date_Of_Birth
D) VehicleID
Answer:
A) StudentName
B) CourseName
C) PhoneNumbers
D) Address
Answer:
Answer:
5. What does a (0,1) cardinality indicate?
A) A rela onship that is mandatory and can have one or more instances
B) A rela onship that is op onal and can have one or more instances
C) A rela onship that is op onal and can have zero or one instance
D) A rela onship that is mandatory and can have zero or one instance
Answer:
A) Age
B) Date_of_Birth
C) EmployeeName
D) Department
Answer:
Answer:
Answer:
Answer: C
10. Which of the following is NOT a part of Codd’s 12 Rules for rela onal databases?
Answer: D
A) En ty type
B) A ribute type
C) Rela onship type
D) All of the above
Answer: D
A) Simple A ribute
B) Composite A ribute
C) Mul valued A ribute
D) Derived A ribute
Answer: A
A) 1
B) 2
C) 3
D) 4
Answer:
14. Which rela onship type represents a situa on where an en ty is involved in the
rela onship mul ple mes in different roles?
A) Fan Trap
B) Chasm Trap
C) Recursive Rela onship
D) Binary Rela onship
Answer:
15. Which of the following cardinality constraints indicates that an en ty can have at most
one associated rela onship?
A) (1,1)
B) (0,1)
C) (1,)
D) (0,)
Answer:
16. Which approach in data modeling involves gathering informa on from an organiza on
and grouping it into en es?
A) Top-down Approach
B) Bo om-up Approach
C) Hybrid Approach
D) Composite Approach
Answer:
Answer:
Answer:
A) Cardinality Constraints
B) Par cipa on Constraints
C) Structural Constraints
D) Referen al Constraints
Answer:
20. What does the (1,*) nota on represent for an employee and project rela onship?
Answer:
21. Which of the following types of rela onships involves many en es on both sides?
A) One-to-One
B) One-to-Many
C) Many-to-Many
D) Many-to-One
Answer:
A) A single a ribute
B) Mul ple a ributes
C) A foreign key and primary key combina on
D) An iden fier and a derived a ribute
Answer:
Answer:
A) Address
B) FullName
C) PhoneNumbers
D) Salary
Answer:
25. Which cardinality represents the scenario where a record in en ty A can be associated
with mul ple records in en ty B, but a record in en ty B can only be associated with one
record in en ty A?
A) One-to-One
B) One-to-Many
C) Many-to-Many
D) Many-to-One
Answer:
Answer:
27. Which of the following is NOT a reason for using views in databases?
Answer:
Answer:
29. In which type of a ribute does each value consist of several components?
A) Simple A ribute
B) Composite A ribute
C) Mul valued A ribute
D) Derived A ribute
Answer:
30. Which of the following is NOT a valid cardinality for an ER rela onship?
A) One-to-One
B) One-to-Many
C) Many-to-Many
D) Many-to-Few
Answer:
31. Which approach is more likely to lead to a well-organized data model but risks missing
important details?
A) Top-down Approach
B) Bo om-up Approach
C) Hybrid Approach
D) Object-oriented Approach
Answer:
A) (0,1)
B) (1,)
C) (1,1)
D) (0,)
Answer:
A) 1
B) 2
C) 3
D) 4
Answer:
A) En ty
B) Rela onship
C) A ribute
D) Index
Answer:
Answer:
Answer:
38. Which of the following statements is true regarding the Bo om-up Approach?
Answer:
Answer:
A) Rectangle
B) Diamond
C) Ellipse
D) Triangle
Answer:
A) Rela onships
B) Views
C) Foreign keys
D) Indexing
Answer:
42. What does the (M:N) cardinality imply in an ER diagram?
Answer:
A) It can be null
B) It uniquely iden fies each row in a table
C) It can be duplicated across rows
D) It can consist of one or more non-unique a ributes
Answer:
A) A circle
B) A square
C) A dashed line
D) A rectangle
Answer:
Answer:
46. Which of the following is NOT part of the database design process?
A) Data Collec on
B) En ty Recogni on
C) Query Op miza on
D) Rela onship Establishment
Answer:
Answer:
**48.
Which of the following best describes referen al integrity?** A) A value in a foreign key must
match a value in the primary key
B) A foreign key must not contain any null values
C) A primary key must be unique for every record
D) All rela onships must be represented in the schema
Answer:
A) Simple Key
B) Compound Key
C) Composite Key
D) All of the above
Answer:
Answer:
These ques ons cover a broad range of topics related to databases and DBMS, including
concepts like en ty-rela onship diagrams, keys, normaliza on, and referen al integrity. Let me
know if you'd like any modifica ons!