You are on page 1of 4
Republic of Yemen Course : database Taiz University Time: 2 hours Faculty of Date: 24/12/2016 Engineering and IT CND Dept. Level 3 Midterm exam ‘Answer all the following questions: No.g ‘Questions and Notes mark Qi | Defines the following term: a. databas b, meta data:. c. database management system: Q2 | Choose the correct answer: 1-Row is synonymous with the term: A ecotd 1B. retation. ©. column. D. fiekd 2+ The primary key fs selected frm the: A. composite keys. B. determinants, ©. candidate koys. D, foreign keys. 3+ Arelation is considered a: Q2 | Choose the correct answer: 1-Row is synonymous with the term: A. record. B. relation, ©. column, D. field, 2+ The primary key is selected from the: ‘A. composite keys. B. determinants. . candidate keys. D.. foreign keys. 3+ Arelation is considered a: A. Column. B. one-dimensional table. C. two-dimensional table, 4- An attribute is ato): ‘A. column of a table, 8. two dimensional table. C. rowolatable. D. key of a tablo. 5- Atuplo is afo): A. column of a table. B. two dimensional table. C. row of atablo. D. key of atable. 6- Which of the following indicates the maximum number of entities that can be involved in a relationship? A. Minimum cardinality B. Maximum cardinality ©. ERD 1D. Greater Entity Count (GEC) 7-- Which type of entity cannot exist in the database untess another type of entity also exists in the database, but does not require that the identifier of that other entity be included as part of ts own identifior? 1D. Greater Entity Count (GEC) ‘7- Which type of entity cannot exist in the database unless another type of entity also exists in the database, but does not require that the identifier of that other entity be included as part of its own Identifier? ‘A. Weak entity B. Strong entity C. [D-dependent entity D. |D-independent entity 8- Which type of entity represents an actual occurrence of an associated generalized entity? ‘AL Supertype entity B. Subtype entity ©. Archetype entity 1D. Instance entity 9+ A recursive relationship isa relationship between an entity and itsolf a subtype entity ©. anarchetype entity D. aninstance entity 10- Which of the following refers to something that can be identified in the users’ work environment, something that the users want to track? AL Entity B. Atwibute C. Identifies D. Relationship 11- An attribute that names or identifies entity instances is a(n): AL entity. attribute. ©. identifier. D. relationship. 12- Entities can be associated with one another in which of the following? AL Entities B. Awibutes C. Identifiers bandllfencralaanari 1. relationship. 112: Entities can be associated with ane another in which ofthe folowing? A Entities 8. Anributes . Mentitions D. Relationships Q3 ~Decide if the following sentences are True or False? a. All instances of an entity class have different attributes] J b. An attribute describes the entity's characteristics} . Composite identifiers consist of only one atributel J. . A subtype entity is a special case of anothor entity called a supertype enity[ | . Allinstances of an entity class have the same attributes]. {. Entity instances are associated by relationship classes] g. two-tier database uses wob server [__ J. ‘What is the different between: a. Enterprise model and project-level model. b. candidate key and primary key. . strong entity and weak entity. 4d. relation and tuple. as Give one example for each case for the following: 1-unary relationship. 2-super type and supertype(determine the constraint(partial or total )ovarlaping or disjoint) ) 3-associative entity Q6 Draw ER-diagriam by using those business rules: ~Each student can submit one or more applications (one application per year for multiple years). Each application is submitted by only one applicant. -Each school can be associated with one or more applications. - Each application is associated with only one school. Each application must include two or more recommendations. -£ach recommendation is included with only one application, -£ach bowling center can be associated with one or more applications. -Each application is associated with only one bowling center.

You might also like