Question 41
MediumA Person's Address is made of street, city and PIN code. What kind of attribute is Address?
- A.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
DBMS
A Person's Address is made of street, city and PIN code. What kind of attribute is Address?
Multivalued
Derived
Composite
Key
Sign up free to see the answer and a step-by-step explanation.
An Employee's Experience is calculated from Joining_Date and today's date. What kind of attribute is Experience?
Composite
Multivalued
Key
Derived
Sign up free to see the answer and a step-by-step explanation.
A Car entity set is split into Petrol_Car and Electric_Car, each with its own extra attributes. What is this?
Specialisation
Generalisation into one table
Aggregation
Normalisation
Sign up free to see the answer and a step-by-step explanation.
Savings_Account and Current_Account share many attributes, so a designer creates a single Account superclass. What is this?
Specialisation
Decomposition
Generalisation
Aggregation
Sign up free to see the answer and a step-by-step explanation.
In a specialisation, every Employee must be either a Manager or an Engineer, and no one can be both. What are the constraints?
Partial and overlapping
Total and overlapping
Total and disjoint
Partial and disjoint
Sign up free to see the answer and a step-by-step explanation.
A one-to-one relationship links Person and Passport, where every Passport belongs to a Person. What is the usual table mapping?
Put Person's key as a unique foreign key in Passport
Merge all attributes into a new third table
Create a separate relationship table always
Store Passport as a multivalued attribute
Sign up free to see the answer and a step-by-step explanation.
Supplier, Part and Project are linked by Supplies, recording which supplier supplies which part to which project. What is the degree of Supplies?
4
2 (binary)
3 (ternary)
1 (unary)
Sign up free to see the answer and a step-by-step explanation.
When the ternary relationship Supplies(Supplier, Part, Project) is mapped to tables, what is the primary key of the Supplies table (if all sides are many)?
The supplier key alone
The part key alone
The combination of the three foreign keys
A new key with no foreign keys
Sign up free to see the answer and a step-by-step explanation.
Which ER feature lets a relationship (such as Works_On between Employee and Project) take part in another relationship (such as Monitors with Manager)?
A derived attribute
A weak entity
Specialisation
Aggregation
Sign up free to see the answer and a step-by-step explanation.
In a strong entity set Book, ISBN is the key attribute, and a Book has several Authors. How many tables does the standard mapping create for Book and its authors?
1: Book with an authors column
0
2: Book and Book_Author(ISBN, author)
3
Sign up free to see the answer and a step-by-step explanation.