WorksheetsDbms Quiz 1
Total questions: 48
Worksheet time: 24mins
In an ER diagram, which symbol is typically used to represent an entity?
Oval
Diamond
Rectangle
Triangle
Which element in an ER diagram represents a relationship?
Diamond
Rectangle
Oval
Hexagon
In an ER diagram, an attribute is usually represented by:
Oval
Rectangle
Diamond
Parallelogram
Which attribute type can have multiple values?
Derived attribute
Composite attribute
Multivalued attribute
Primary attribute
Which attribute type is calculated from other attributes?
Derived attribute
Composite attribute
Multivalued attribute
Simple attribute
In ER diagrams, a weak entity is represented by:
Dashed diamond
Double rectangle
Single rectangle
Bold diamond
The relationship between a weak entity and its owner entity is represented by:
Dashed line
Double diamond
Single diamond
Wavy line
A relationship that involves more than two entities is called:
Binary relationship
Unary relationship
Ternary relationship
Strong relationship
In ER diagrams, a one-to-many relationship is represented by:
1:1
1:N
N:1
M:N
Which of the following is an example of a unary relationship?
Employee manages Employee
Student enrolled in Course
Doctor treats Patient
Supplier supplies Product
Which notation shows total participation in ER diagrams?
Single line
Double line
Dashed line
Wavy line
Which cardinality represents “many-to-many” relationship?
1:1
1:N
N:M
1:0
What is used to uniquely identify an entity in an ER diagram?
Attribute
Primary key
Relationship
Participation
A relationship where an entity is related to itself is called:
Recursive relationship
Weak relationship
Binary relationship
Derived relationship
Which ER model element can have a composite structure?
Entity
Attribute
Relationship
Cardinality
A key attribute in ER diagram is represented by:
Bold oval
Oval with underline
Double oval
Dotted oval
Which of these is NOT a valid type of attribute in ER diagrams?
Simple
Composite
Conditional
Multivalued
In an ER diagram, partial participation means:
All entities participate
Some entities participate
No entities participate
Weak entities participate only
Which of these is a weak entity example?
OrderItem
Customer
Product
Department
The degree of a relationship refers to:
Number of attributes
Number of entities in the relationship
Number of relationships an entity has
Number of keys
Which type of relationship connects two different entity sets?
Binary relationship
Unary relationship
Ternary relationship
Quaternary relationship
Which of these is represented by a double oval?
Multivalued attribute
Derived attribute
Key attribute
Weak entity
Which constraint specifies the number of instances in a relationship?
Participation
Cardinality
Degree
Attribute
Which is true for a weak entity?
Has its own primary key
Depends on a strong entity
Cannot have attributes
Represents only relationships
Which of the following is an identifying relationship?
Connects weak entity to its owner
Connects two strong entities
Connects derived attributes
Connects composite attributes
In ER diagram, a derived attribute is represented by:
Oval with underline
Oval with dashed border
Double oval
Oval with thick border
Which symbol represents an associative entity?
Rectangle inside diamond
Double diamond
Circle
Dotted rectangle
Which is an example of ternary relationship?
Student-Course-Teacher
Student enrolls Course
Doctor treats Patient
Employee manages Employee
An entity that can exist without depending on another entity is called:
Strong entity
Weak entity
Derived entity
Recursive entity
Which of the following is NOT represented in an ER diagram?
Entities
Attributes
SQL queries
Relationships
An ER diagram has 2 entities connected by a one-to-one relationship. After conversion, how many tables are generally created (assuming no merging)?
1
2
3
4
An ER diagram has 3 entities connected by a one-to-many relationship. How many tables will be created?
2
3
4
5
If there are 2 entities with a many-to-many relationship, how many tables will be created?
2
3
4
5
An ER diagram has 4 entities connected in a chain of one-to-one relationships. How many tables will be created without merging?
2
3
4
5
If a weak entity set is present with its owner in a one-to-many identifying relationship, how many tables are needed?
1
2
3
4
For 3 entities connected by binary many-to-many relationships between each pair, how many tables will be created?
3
6
4
5
In a ternary relationship between 3 strong entities, how many tables will be created?
3
4
5
6
If 5 entities are all connected by one-to-one relationships, and no merging is done, how many tables are created?
1
3
5
6
In a one-to-many relationship, where the “many” side is a weak entity, how many tables are required?
1
2
3
4
If there are 2 entities and 1 multivalued attribute in one entity, how many tables will be created?
2
3
4
5
For 4 entities each having a many-to-many relationship with every other entity, how many relationship tables will be added?
6
5
4
3
If 2 entities are connected with a one-to-one relationship and merged into one table, how many tables are created?
1
2
3
4
In a one-to-many relationship, how many separate relationship tables are created?
0
1
2
3
If there is a ternary relationship with all sides having total participation, how many tables are created?
3
4
5
6
If an entity has 2 multivalued attributes, how many tables will be created for that entity alone?
1
2
3
4
If there are 3 strong entities with one many-to-many relationship between two of them and a one-to-many relationship between the other two, how many tables are created?
3
4
5
6
In a binary many-to-many relationship, the number of tables created is:
1
2
3
4
If you have a weak entity with a composite key derived from its owner, how many tables are required for owner and weak entity together?
1
2
3
4
