Notifications

Block II: Conceptual Modelling

0.0(0) Reviews
Duplicate
Report Flashcard set

Spaced Repetition

Scientifically backed study method

spaced repetition

Flashcards

Review terms and definitions

flashcards

Learn

Study with MC, T/F, and other questions

learn

Practice Test

Take a test on your terms and definitions

exam

Tags

120 Terms
ūüėÉ Not studied yet (120)
A relative association... a. ...establishes a relationship between the static methods of a class. b. ...establishes a relationship between the interface of a class. c. ...establishes a relationship between the instances of a class. d. ...establishes a relationship between the statics attributes of a class. e. Leave question blank
c
A conceptual model can be defined as follows: a. a graphical view of the requirements. b. it is a kind of implied version of a real-world domain. c. a diagram of objects and relationships in our system. d. leave this question blank. e. it is a kind of system process view.
a
Select the CORRECT definition: a. a class diagram is an integrated set of elements, subsystems or assemblies that accomplish a defined objective. b. leave this question blank c. a class diagram shows the structure of a system under a certain situation. d. an object diagram captures and specifies the system vocabulary (elements, relationships and structures). e. a class diagram captures and specifies the system vocabulary (elements, relationships and structure)
e
According to the Liskov substitution principle: a. All the instances of a superclass are also instances of a subclass. b. leave this question blank. c. the definition of a subclass is applicable to an interface. d. all instances of a subclass are also instances of the superclass. e. the definition of a subclass is applicable to a superclass.
d
What kind of relationships can appear in a class diagram to represent a conceptual model? a. association, dependency, aggregation, composition and generalisation. b. leave this question blank. c. association and dependency. d. association, dependency, aggregation, composition, and contracting. e. association and contracting
a
The weak generalization or realisation... a. it is not an alternative to. multiple inheritance that is not support in most of programming languages. b. leave this question blank. c. it increases the degree of dependency. d. it is equivalent to a composition with 1-n multiplicity. e. it reduces the reuse of data and code.
e
which is an application of an association class? a. restrict the access to the instances of the association. b. add extra information to an association. c. reduce the multiplicity of some association. d. establish association roles. e. leave this question blank.
b
which is NOT a desired property of a model? a. predictive. b. comprehensive c. linear d. precise e. leave this question blank
c
what is aggregation? a. it is a kind of non-shared composition. b. it serves us to represent a kind of generalization process. c. it is a type of association that represents a "whole-part" relationship, transitive and asymmetric. d. it is the set of operations to solve a problem or reach an objective. e. leave this question blank
c
A conceptual model can be defined as follows: a. a diagram of objects and relationships in our system. b. It is a kind of simplified version of a real-world problem. c. a graphical view of the requirements. d. it can be a reflexive association at a class-level but not in a sub-class level
c
Which is NOT a desired property of a model? a. comprehensive b. analytical c. precise d. predictive
b
what type of classes can exist according to the different types of objects? a. physical, historical, tangible. b. physical, logical, tangible. c. historical, logical and tangible d. physical, logical and historical
d
What is aggregation? a. it is a type of generalization that represents a "whole-part" transitive and asymmetric relationship. b. it is a type of association that represents a "is-a" transitive and asymmetric relationship. c. it is a type of generalization that represents a "is-a" transitive and asymmetric relationship. d. it is a type of association that represents a "whole-part" transitive and asymmetric relationship.
d
Which is an application of an association class? a. reduce the multiplicity of some association. b. establish association roles. c. add extra information to an association d. restrict the access to the instances of the association
c
given a class hierarchy, select the CORRECT answer: a. it does not have neither instances nor multiplicity. b. it represents a pure relationship between instances. c. It represents a pure relationship between interfaces. d. a class can only have one parent class.
a
according to the semantics of an association, which is NOT a type of association? a. inheritance b. N-ary c. composition d. aggregation
b
The weak realisation or generalisation implies: a. the degree of reuse is increased. b. the degree of dependency is decreased. the performance is decreased. d. all answers are false
b
knowt flashcard image
Given the next UML class diagram, select the CORRECT interpretation: a. a flat can be rented by several tenants under the same contract. b. a flat can be rented by several tenants under different contracts. c. a tenant can rent two flats under the same contract. d. a tenant can rent one flat under different contracts.
a
knowt flashcard image
given the next UML class diagram, select the CORRECT interpretation. a. one object of D must be associated with at least one object of C or B. b. one object of A must be associated with an object of D. c. one object of B must be associated wit exactly 2 objects of D. d. two objects of D must be associated with multiple objects of A.
c
which is an application of an association class? a. reduce the multiplicity of some association b. establish association roles c. add extra information to an association d. restrict the access to the instances of the association
c
from a conceptual point of view... a. a datatype represents a concept within a system b. a datatype can only keep constant or variable values. c. a class represent a concept within the system d. a class can only keep constant and immutable values.
c
given a class hierarchy, select the CORRECT answer: a. it represents a pure relationship between classes. b. the level of abstraction is reduced. c. a subclass only inherits superclass protected properties. d. a subclass can only have a parent class
a
what is aggregation? a. it is a type of generalisation that represents a "whole-part" transitive and asymmetric relationship. b. it is a type of association that represents a "whole-part" transitive and asymmetric relationship. c. it is a type of association that represents a "is-a" transitive and asymmetric relationship. d. it is a type of generalisation that represents a "is-a" transitive and asymmetric relationship.
b
A reflexive association... a. .. establishes a relationship between the interfaces of a class. b. .. establishes a relationship between the instances of a class. c. .. establishes a relationship between the static attributes of a class. d. ... establishes a relationship between the static methods of a class.
b
select the CORRECT statement... a. if the requirements are specified with graphical techniques, the derived conceptual model is always complete. b. a detailed conceptual model can contain classes that are not stated in the requirements. c. a descriptive model generated by a reverse engineering process is complete. d. non-functional requirements are not represented in a conceptual mode.
b
A rule of thumb t model class attributes... a. if the range of values is large, an attribute will fit better. b. if the range of values is large, a subclass will fit better. c. if the range of values is large, an enumeration will fit better. d. if the range of values is large, an interface will fit better
a
An n-ary association... a. it eases the navigability b. aggregation is not allowed. c. it cannot be, at the same time, a class association. d. the minimum multiplicity must be 1
b
given an UML class diagram stating an inheritance relationship between a superclass A and subclass A1. Which of the following statements is CORRECT? a. establish the navigability is optional. b. establish the name is mandatory c. the subclass A1 inherits some of the properties of A. d. the subclass A1 inherits all the properties of A.
d
Select the INCORRECT statement regrind data types a. they can be primitive data types or enumerated. b. they can contain operations c. they are general-purpose d. it is possible to create instances, although they are anonymous, without identity.
b
Which is an application of an association class? a. reduce the multiplicity of some associations. b. establish association roles. c. add extra information to an association. d. restrict the access to the instances of the association.
c
knowt flashcard image
Given the next UML class diagram, select the INCORRECT interpretation. a. An instance of A is associated with exactly 1 instance of B or 1 instance of C. b. The association between A and D is navigable from A to D. c. An instance of A is associated with exactly 2 instances of D. d. An instance of B may be associated with n instances of A.
c
Select the CORRECT statement regarding navigability a. it specifies the possibility of sending messages to the attributes of a class. b. it specifies the possibility of creating instances of a class and access static methods. c. it specifies the ability of a source instance to create attributes and operations of instances. d. it specifies the ability of a source instance to access attributes and operations of instance.
d
A reflexive association.. a. .. establishes a relationship between the interfaces of a class. b. .. establishes a relationship between the instances of a class. c. .. establishes a relationship between the static attributes of a class d. .. establishes a relationship between the static methods of a class
b
if both, abstract classes and interfaces, serve to specify operations, when should we select between the use of an abstract class or an interface? a. abstract classes represent a better option if we want to reuse data and some operations. b. interfaces represent a better option if we want to reuse data and some operations. c, it does not matter, the result will be the same in terms of number of instances, extensibility, etc. d. it does not matter, in both cases the state of the parent class or interface is inherited
a
which is not a desired property of a model? a. comprehensible b. analytical/expensive c. precise d. predictive
b
One attribute is... a. equivalent to a bidirectional association b. equivalent to a unidirectional association c. equivalent to a reflexive association d. none are correct
b
what is a model? a. a graphical representation of a set of interconnected elements b. a graphical representation of the elements of a system c. a collection of elements that fulfil a specific functionality d. an abstraction of a system, a complete and consistent simplification of the real system, for a better understanding of it.
d
Select the INCORRECT one: a. an association allows to invoke justo one method b. any association has a double meaning: dynamic and static c. in associations are preferred nouns over verbs d. an attribute that is a class is equivalent to a unidirectional accusation
b
Select the INCORRECT one: a. an association allows to invoke justo one method b. any association has a triple meaning: dynamic, static and dimensional c. in associations are preferred nouns over verbs d. an attribute that is a class is equivalent to a unidirectional accusation
b
which are considere characteristics of the analysis process with objects and classes? a. use a simplified notation b. classes, attributes and methods are domain concepts c. all of them are CORRECT d. it is a specification tool
c
what is an aggregation? a. it is a non-shared composition b. it is a non-shared inheritance c. it is a special type of association that represents a whole-par relationship, transitive and asymmetric. d. the methods and operations required to solve a problem.
what types of classes exist depending on the represented object? a. historical, logical and tangible b. physical, logical and historical c. physical, logical and tangible d. physical, historical and tangible
b
conceptual modelling can be defined as: a. a graphical view of the requirements b. simplification of real-world phenomena c. a diagram with the objects related to our project and the relationships between them d. formal representation of the operations of a system
a
given a class hierarchy, select the CORRECT answer: a. the subclass inherits the protected properties of the superclass b. represents a pure relationship between classes c. the abstraction level is reduced d. it can be interpreted as a whole.part relationship
a
select the CORRECT answer: a. a system is an encapsulation of a model with a graphical representation of its elements b. a system is the graphical representation of a set of interconnected elements c. a system is an abstraction of a model, a complete and consistent simplification of the real system, for a better understanding of it. d. a system is a set of organized elements to fulfil a specific functionality.
d
what is a composition? a. it is a special type of aggregation representing an "is-a" relationship b. it is a special type of specification representing a "is-a" relationship c. it is a special type of generalisation representing a "whole-part" relationship and asymmetric d. c. it is a special type of association representing a "whole-part" relationship and asymmetric
d
In a composition... a. there are not any special restrictions regarding multiplicity b. copy and delete operations are kept c. the multiplicity can only be 0...1 or 1...1, same as aggregation d. can be a reflexive relationship, but not for subclasses.
b
Regarding the differences between classes and datatypes, please select the INCORRECT answer: a. the population is finite and variable while the population of a datatype is finite or infinite but constant. b. a class can be simple or structured while a datatype is always simple. c. the attributes of a class are fixed or variable while the values of a datatype are fixed and immutable. d. a class can be part of a unidirectional (one-way) or bidirectional (two-way) associations while a datatype can only be part of unidirectional associations.
b
how can we decide if a domain concept is modelled as a class or as a datatype? select the INCORRECT answer a. a domain concept will be always modelled as a class since concepts are always abstract. b. a domain concept will be modelled as a class or as a datatype depending on the target system. Therefore, the type of modelling is domain dependent. c. a domain concept will be modelled as an object if it represents a concrete domain instance. d. a domain concept will be modelled as a class if it represents a family of instances and not just a concrete concept.
a
select a characteristic that does NOT define a reflexive association. a. a reflexive (or recursive) association) is a kind of association in which both ends are start and finish in the same class. b. the links can connect instances of different classes or events an instance with itself. c. it is a kind of association that represents a whole-part, transitive and asymmetric relationship transitive. d. in a reflexive association, the role names are mandatory to distinguish the ends of the relationship.
d
regrind composition.. a. it serves to represent encapsulation but not restricted access to a class. b. it is a kind of non-shared aggregation. c. it does not propagate deletion operations. d. it can hold any type of multiplicity.
b
given a software system in which we have a database to store the information about users and an externa program that is used by administrators to manage the database, it is necessary to consider the administrators as a user in the conceptual modelling? a. yes, we must consider administrators as users, and they can appear in diagrams and documents such as the requirements specification. b. end -users must appear since they are actors, but administrators must not appear since they are using an external application to manage the database. c. end.users must not appear, but administrators must since they must perform operations to keep the system running. d. none of them must appear since they are external agents.
b
a possible rule of thumb for the property model a. if a range (set of possible values) is very large, an attribute would be better b. If the range (possible set of values) is very large, a subclass would be better. c. if the range (set of possible values) is enumerated an attribute would be better. d. None of the above is correct
a
An attribute is... a) Equivalent to a bidirectional association. b) Equivalent to a unidirectional association. c) Equivalent to a reflexive association. d) None of the above is correct.
b
What is called aggregation? a) It is a special type of association that represents a transitive and asymmetric whole-part relationship. b) It is a type of non-shared composition. c) To the functions and operations required to solve a problem or achieve an objective. d) None of the above.
a
A hierarchy of classes: a) It is a pure relationship between classes. b) It has no instances or multiplicity. c) The subclass inherits all the properties of the superclass. d) All of the above are correct. *A hierarchy of classes: It is a relationship
d
From a conceptual point of view... a) A data type represents a concept within the boundaries of the system. b) A data type can only contain fixed or variable values. c) A class represents a concept within the boundaries of the system. d) A class can only contain fixed and immutable values.
c
An n-ary relationship... a) It facilitates navigation. b) Does not allow aggregation. c) It cannot be an association class at the same time. d) The minimum multiplicity must be 1.
b
Weak generalization implies that... a) Reuse is increased. b) Dependence is decreased. c) Yield decreases. d) All of the above are false.
d
Multiplicity can be defined as... a) In a binary association, the multiplicity of an association end specifies the number of target instances that can be linked to a single source instance through association. b) In a binary association, the multiplicity specifies the capacity that an instance of the source class to access all instances of the target class via the instances of the association that connects them. c) In a binary association, the multiplicity of an association end specifies the type of target instances that can be linked to multiple source instances through association. d) In a binary association, the multiplicity specifies the capacity that an instance of class source to access some instances of the target class via the instances of the association that connect them.
a
In a binary association, the multiplicity of an association end... a) Specifies the number of target instances that can be interleaved with multiple instances origin through association. b) Specifies the ability of an instance of the source class to access instances of the target class by means of the association instances that connect it. c) Represents the number of classes that can be intertwined within the same class diagram. d) Specifies the number of destination instances that can be interleaved with a single instance origin through association.
a
A class diagram takes care of: a) Illustrate the structure of the system through particular situations. b) Capture and specify vocabulary of the system: elements, relations and structure. c) Graphically represent the algorithm or process. d) None of the above.
b
What is a model? a) Abstraction or simplification of reality. b) A way of programming. c) It is a type of requirement. d) It is a correspondence between requirements and classes.
a
A model is... a) A graphical representation of a set of interconnected elements. b) An abstraction of a system. c) A collection of elements organized to fulfill a specific purpose. d) A simplification of the requirements.
b
Which of these relationships can NOT contain a class diagram? a) Inheritance b) Aggregation c) Composition d) Reflexive associations.
a
A model... a) It is a collection of elements organized to fulfill a specific purpose. b) It is an abstraction of a system, that is, a (complete and consistent) simplification of the real system, which serves to understand it better. c) It is the graphic representation of a set of interconnected elements. d) None of the above.
b
What properties are desirable in a model? a) Understandable, Accurate, Cheap and Predictive. b) Comprehensive, Precise, Abstract and Predictive. c) Understandable, Abstract, Cheap and Predictive. d) Understandable, Extensive, Cheap and Predictive.
a
The class diagram is an element of: a) Conceptual modeling. b) The architectural model. c) Requirements analysis. d) None of the above.
a
How can the multiplicity symbol '*' also be expressed in an association relation of a UML diagram? a) 0..*. b) 1..*. c) 1..1. d) Another way
a
What does "conceptual model" mean? a) It is a graphic view of the information contained in the requirements. b) It is the fundamental organization of a system embodied in its components, the relationships between them and with the environment, and the principles that guide their design and evolution. c) It is a description of the steps or activities that must be carried out to carry out some process. d) It is the systematic application of scientific and technological knowledge, methods and experiences software design, implementation, testing and documentation.
a
About actor associations-system: a) Are those in which the two ends of the association are linked to the same class. b) Represents modeled entities within the system. c) Represents associations with entities external to the system. d) Represents a whole relationship-part.
c
Desirable properties of a model: a) Understandable, accurate, predictive and cheap. b) Fast, understandable and cheap. c) Colorful, precise, coherent and cheap. d) Simple, fast and cheap.
a
What is a model? a) It is an abstraction of a system, that is, a simplification of the real system, which serves to understand it better. b) It is a collection of elements organized to fulfill a specific purpose. c)It is an internal globalization of the real system, which serves to store requirements. d) It is the graphic representation of a set of interconnected elements, a partial view of a model.
a
Find the bogus property of the view attribute definition in class: a) It is a property shared by members of the same class. b) Each attribute has a different value for each object. c) The attributes of the same class always have the same value. d) None are false.
c
What does the following expression ‚Äú 1..* ‚ÄĚ mean in an association? a) One and only one. b) From one to many. c) From one to many (including zero). d) All except one.
b
what is an attribute? a) property shared by the objects of a class b) Distinctive quality of a class. c) Function that can be applied to the objects of a class. d) Exclusive ownership of an object of a class.
a
UML can be defined as: a) A graphical modeling language focused on the field of software engineering. b) A standard that defines the guidelines to be followed in the requirements engineering process. c) A modeling language that allows describing a software product through diagrams, textual descriptions and code snippets. d) All of the above are true.
a
Mark the answer that does NOT correspond to the characteristics of a reflexive association. a) A reflexive (or recursive) association is one in which the two ends of the association they are attached to the same class. b) Links can connect two different instances of the same class, or even one instance With itself. c) It is a special type of association that represents a relationship all-part, transitive and asymmetric. d) In a reflexive association role names are mandatory, in order to distinguish the two ends of the association.
c
Indicate the true sentence regarding the composition: a) Implement encapsulation, but not restricted access. b) It behaves as a non-shared aggregation. c) Does not propagate delete operations. d) Admits any type of multiplicity.
b
Regarding modeling in UML, associations... a) They are always symmetrical, and therefore the roles between the classes are interchangeable. b) They are always asymmetric, since they are equivalent to ordered pairs, and therefore the roles between the classes are not interchangeable. c) If they are reflexive, they can be symmetric. d) Asymmetric associations can only be unidirectional.
b
Select the INCORRECT answer: a) An attribute whose type is a class is equivalent to a one-way association. b) A single association allows the invocation of many operations. c) Every association has a triple meaning: dynamic aspect, static aspect and dimensional. d) In associations, static names (nouns) are preferable, reserving names dynamics (verbs) for operations.
c
According to the Barbara Liskov substitution principle: a) The definition of the subclass is applicable to the superclass. b) All objects of the subclass are also of the superclass. c) All objects of the superclass are also of the subclass. d) None of the other options is correct.
b
What is multiple generalization? a) It is the generalization in which a class generalizes several subclasses at the same time. It can't be done implement in some object-oriented programming languages. b) It is the same as multiple classification. c) It is the generalization in which a class C inherits from a class B which in turn inherits from a class A, and so on, forming a multilevel hierarchy. d) It is the generalization in which a class specializes several superclasses at the same time.
d
What types of classes are there according to the objects represented? a) Physical, Logical and Historical. b) Historical, Logical and Tangible. c) Physical, Historical and Tangible. d) Physical, Logical and Tangible.
a
Weak realization or generalization... a) Reduce dependency. b) Decreases reuse. c) Alternative to multiple generalization, not supported by many languages. d) All of the above are correct.
d
In relation to the difference between Class and Data Type (datatype), indicate the INCORRECT answer: a) The population of a Class is finite and variable, while the population of a Data Type is finite or infinite, but in any case constant. b) a class can be simple or structured while a data type must always be simple. c) The attributes of a Class are fixed or variable, while the values of a Data Type are fixed and immutable. d) A Class can participate in unidirectional or bidirectional associations, while a Data Type can only participate in unidirectional associations.
b
How to decide without a concept of the domain should be modeled as a class or as a data type? Point out the wrong answer. a) A domain concept will always be modeled as a class, since concepts are by their nature abstract nature itself. b) A concept of the domain will be modeled as a class or as a data type depending on the system in which it is used, therefore, the difference is relative to the system in question. c) A domain concept will be modeled as an object if it represents a concrete instance of the domain. d) A concept of the domain will be modeled as a class if it represents a family or type of things, more than one concrete thing.
a
In a reflexive relationship it is shown: a) The relationship between the interfaces of that class. b) The relationship between the instances of that class. c) The relationship between the static attributes of that class. d) The relationship between the static methods of that class.
b
What types of relationships can be identified on a class diagram to represent a model conceptual? a) Association, Dependency, Aggregation, Composition and Hiring. b) Association, Dependency, Aggregation, Composition and Generalization. c) Association and Dependency. d) Association and Generalization.
b
A generalization is: a) The relationship between a general element and a specific element, where the specific element you can add information and must be consistent with the general element. b) The specification of a set of connections between instances (links) that represent the structure and communication possibilities of the system. c) The function or transformation that can be applied to the objects of a class. d) The property shared by the objects of a class.
a
In a UML model there is an inheritance relationship between a superclass A and a subclass A1 of is. Which of the following statements is correct? a) Setting the navigability of the relationship is optional. b) Setting the relation name is mandatory. c) Subclass A1 inherits only some of the properties of superclass A. d) Subclass A1 inherits all the properties of superclass A.
d
Point out the INCORRECT statement about data types. a) They can be primitive or enumerated data types. b) They can have operations. c) They are of general domain. d) Instances can be created, although they are anonymous, without identity.
b
What is an application of association classes? a) Reduction of the cardinality of the association. b) Establishment of the roles of the association. c) Adding information to an association. d) Restriction of access to the instances of the association
c
Select the CORRECT option regarding the navigability of an association: a) It offers the possibility of sending messages in both directions. b) It offers the possibility of declaring variables that are of type public class. c) It is the ability of an instance of the source class to create instances of the target class through the bodies of the association. d) It is the ability of an instance of the source class to access instances of the class destination through the instances of the association.
d
Which is NOT a desirable property of a model? a) Understandable b) Analytical c) Precise d) Predictive
b
Select the INCORRECT answer: a) An attribute whose type is a class is equivalent to a one-way association. b) A single association allows the invocation of a single operation. c) Every association has a double meaning: dynamic aspect and static aspect. d) In associations, static names (nouns) are preferable, reserving names dynamics (verbs) for operations.
a
Which is NOT a desirable property of a model? a) Understandable b) Accurate c) expensive d) Predictive
c
Given a hierarchy of classes, mark the CORRECT answer: a) Represents a pure relationship between instances. b) The level of abstraction is reduced. c) The subclass inherits all of the properties of the superclass. d) It can be interpreted as a relationship “all-part".
c
Mark ‚Äč‚Äčthe CORRECT statement: a) If the requirements are specified using graphic techniques, the generated model is complete. b) A detailed conceptual model may contain classes that are not listed in the requirements. c) A descriptive model generated through reverse engineering techniques is always complete. d) Non-functional requirements have no representation in a conceptual model.
b
In relation to the differences between Class and Data Type (datatype), mark the INCORRECT answer: a) The population of a Class is finite and variable, while the population of a Data Type is finite or infinite, but in any case constant. b) The attributes of a Class are fixed or variable, while the values ‚Äč‚Äčof a Data Type are fixed and immutable. c) A Class can be simple or structured, while a Data Type must always be simple. d) A Class can participate in unidirectional or bidirectional associations, while a Data Type can only participate in unidirectional associations
c
In a class hierarchy: a) It is a pure relationship between classes. b) It has no instances or multiplicity. c) The subclass inherits all the properties of the superclass. d) All of the above are correct.
d
Weak generalization implies that... a) Reuse is decreased. b) Dependence increases. c) It is not an alternative to multiple generalization. d) None of the above is correct
a
Mark ‚Äč‚Äčthe CORRECT statement... a) If the requirements are specified using graphic techniques, the generated model is complete. b) A detailed conceptual model may contain classes that are not listed in the requirements. c) A descriptive model generated through reverse engineering techniques is always complete. d) Non-functional requirements have no representation in a conceptual model.
b
In a composition... a) The multiplicity can only be 0..1 or 1..1, as in aggregation. b) No special restriction is imposed on the multiplicity. c) Copy and delete operations are propagated. d) It can be reflexive for classes, but not for subclasses.
c
The conceptual model can be defined as: a) Diagram with the concrete objects that exist related to the project that we are going to undertake and the relationships between them. b) Graphic view of the information contained in the requirements. c) Simplification that mimics real-world phenomena. d) Formal representation of system operations
b
Regarding associations: a) They have a static (system structure) and dynamic (behavior) aspect. b) Dynamic names are preferred. c) It only allows the invocation of an operation. d) It is mainly used to represent relationships between concepts and their attributes.
a
behavioral elements: a) They allow explaining the model through notes b) Describe how the model works c) Describe the grouping of the model d) Describe the structure of the model
b
an object diagram a) It is the instantiation of a class diagram b) It is the set of objects in a UML model c) It is the association of different objects of a model d) It is the static part of a model
c
They are structural elements.. a)the classes b) the Associations c) the Class diagrams d) the Relationships
a
inheritance relationships: a) They can be reflexive b) They can be composition c) They can be dependency d) They can be generalizing
d
Should an information model include operations (methods)? a.Yes (and always), in case of being an information operational model. b.It should if a class diagram is used since UML always requires the specification of operations. c. No, since the specification of operations is against the concept of ‚Äúsystem‚ÄĚ. d. In a high-level of abstraction, it is preferred to not include operations (or class methods) since the goal is to state the information architecture instead of the implementation design.
d
Regarding a domain vocabulary…Please, select the INCORRECT answer: a. It comprises two sets: a conceptual model vocabulary and a technical vocabulary. b. The conceptual model vocabulary is a kind of bridge between a requirements specification and a conceptual model ensuring consistency between both. c. The technical vocabulary only collects technical terms in the context of the project (but not domain concepts). d. All previous answers are NOT correct.
d
Regarding the notions of forward and reverse engineering: a. Any software engineering project includes a stage of forward engineering before a stage of reverse engineering. b. The forward engineering produces a copy-model of an existing system while the reverse engineering produces a system from a specification. c. In the context of reverse engineering a model is correct if it properly represents an existing system while in forward engineering a system is correct if it properly implements what has been specified. d. None of the aforementioned answers is correct
c
Regarding UML associations… a. They are always symmetric and, therefore, the roles between classes can be exchanged. b. They are always asymmetric since they are a kind of sorted pairs and, therefore, the roles between classes cannot be exchanged. c. If they are reflexive, they can also be symmetric. d. The asymmetric associations can only be in one direction (unidirectional).
b
Select the INCORRECT answer: a. An attribute which type is a class is a kind of unidirectional association. b. The same association between two classes can allow the invocation of multiple methods. c. Any association has a multi-aspect view: dynamic, static and dimensional. d. Nouns are preferred to name association while verbs should be used to name operations.
c
knowt flashcard image
According to the following class diagram, Which should be the cardinality (multiplicity) between the classes Plate and Drink? Select one: a. These are aggregations and, therefore, it is not necessary to specify cardinality. b. These are specializations and, therefore, it is not necessary to specify cardinality. c. It is necessary to stablish cardinality 0..* between the associations connected to Dish, and, 1..* in the associations connected to Food and Drink since an instance of Dish can contain more than 1 drink or food. d. None of the answers is correct.
b
According to the Liskov substitution principle: Select one: a. The definition of a subclass is applicable to a superclass. b. All instances of a subclass are also instances of the superclass. c. All instances of a superclass are also instances of the subclass. d. None of the answers is correct.
b
In regards to the differences between Classes and Datatypes, please select the INCORRECT answer: a. The population of a class is finite and variable while the population of a datatype is finite or infinite but constant. b. A class can be simple or structured while a datatype is always simple. c. The attributes of a class are fixed or variable while the values of a datatype are fixed and immutable. d. A class can be part of unidirectional (one-way) or bidirectional (two-way) associations while a datatype can only be part of unidirectional associations.
b
What kind of classes we can find depending on the types of objects that are represented in a model? Select one: a.Physical, Logical and Historical b.Historical, Logical and Tangible c.Physical, Historical and Tangible d.Physical, Logical and Tangible
a
How can we decide if a domain concept is modeled as a class or as a datatype? Please, select the INCORRECT answer: a.A domain concept will be always modeled as a class since concepts are always abstract. b.A domain concept will be modeled as a class or as a datatype depending on the target system. Therefore, the type of modeling is domain-dependent. c.A domain concept will be modeled as an object if it represents a concrete domain instance. d.A domain concept will be modeled as a class if it represents a family of instances and not just a concrete concept.
a