Machine-translated by Google. Questions are authored in English.
Top

ER Model and Business Rules Questions and Answers

Answer: A

Correct answer: Defining one or more subtypes of the supertype and forming supertype/subtype relationships.

Specialisation works downward from the general to the particular: an existing entity type is examined, distinct subgroupings are identified, and subtypes are created and linked to it. Generalisation is the reverse process, starting from several specific entity types and abstracting a common supertype from them.

Please log in or register to report this question.

Answer: B

Correct answer: It may include restrictions.

A business rule constrains what the organisation permits, so restrictions are exactly what it expresses. The other options are the opposite of good practice - rules should be simple enough to be understood by the people who own them, and stating them so that they can be enforced in code is the point of capturing them at all.

Please log in or register to report this question.

Answer: B

Correct answer: Attributes are assigned at the highest logical level.

An attribute shared by every subtype belongs at the supertype, where it is held once and inherited by all. Pushing it down to the subtypes duplicates it and invites inconsistency. The rule is a matter of placing each attribute as high as it is true, and no higher.

Please log in or register to report this question.

Answer: A

Correct answer: An attribute of the supertype whose values determine the subtype

The discriminator sits on the supertype because the question it answers - which kind of thing is this - must be answerable before the subtype is known. Its value directs each instance to its subtype: an employee type code of H, S or C sending the instance to hourly, salaried or consultant.

Please log in or register to report this question.

25.

When an entity instance may be a member of multiple subtypes or it does not have to be a member of a subtype, it is which of the following?

Answer: C

Correct answer: Overlap with partial specialization

The stem states both rules. May be a member of multiple subtypes makes the specialisation overlapping rather than disjoint, and does not have to be a member makes it partial rather than total. This is the exact complement of the disjoint-and-total case, and the two rules remain independent of each other.

Please log in or register to report this question.

26.

A subtype entity name should be which of the following?

Answer: D

Correct answer: All of the above

The naming conventions for a subtype are those for any entity: a singular noun, because the name denotes one instance; concise, because it will be read many times; and meaningful within the organisation, since a name borrowed from a textbook rather than from the business will not be recognised by the people who must validate the model.

Please log in or register to report this question.

Answer: A

Correct answer: An instance of a subtype participates in a relationship that is unique to that subtype.

A supertype and subtype structure is justified either by attributes that apply only to some instances or by relationships that only some instances participate in. If every instance behaves alike in both respects there is nothing to separate and the subtypes add complexity without meaning.

Please log in or register to report this question.

28.

Which of the following is not one of the three ways to classify an action assertion?

Answer: D

Correct answer: Enabler

The three classifications are condition, integrity constraint and authorisation - a rule that must be tested, a rule that must always hold, and a rule about who may do what. Enabler is not among them; it names no distinct kind of constraint on behaviour.

Please log in or register to report this question.

29.

Packaged data models are meant to be exactly right straight out of the box.

Answer: B

Correct answer: False

A packaged model is a starting point built from experience in an industry, and it saves a great deal of the initial work. It still has to be tailored, because no two organisations define their entities identically. Taking one as correct out of the box means adopting someone else’s definitions of the business.

Please log in or register to report this question.

30.

An action assertion is a statement that expresses some aspect of the static structure of the organization.

Answer: B

Correct answer: False

A statement about static structure is a term or a fact. An action assertion constrains behaviour - what may happen, under what conditions, and by whom. The statement has attached the definition of the structural kind of rule to the name of the behavioural one.

Please log in or register to report this question.

Loading…

Other Subjects

Tags: ER Model and Business Rules Questions and Answers || ER Model and Business Rules MCQ Questions and Answers || ER Model and Business Rules GK Questions and Answers || ER Model and Business Rules GK MCQ Questions || ER Model and Business Rules Multiple Choice Questions and Answers || ER Model and Business Rules GK || GK on ER Model and Business Rules || Database Questions and Answers || Database MCQ Questions and Answers || Database GK Questions and Answers || GK on Database