a
Regarding the notion of an interface... a. it only contains the definition of operations (no implementation). b. we cannot extend interfaces. c. we cannot implement interfaces. d. none of the answers is correct
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. interfaces represent a better option if we want to reuse data and some operations. b. Abstract classes 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, flexibility, extensibility, etc d. none of the answers is correct.
c
Regarding preconditions.. a. They must not be checked (neither by the client nor the provider) b. The client must not check preconditions. c. The client must assure preconditions (it is one of its obligations) d. The provider must assure preconditions (it is one of its obligations)
c
In the context of contract-based programming and having inheritance (subcontracting) a. The postcondition in a subclass must be weaker (or equal) than the postcondition in the superclass. b. The precondition in a subclass must be stronger (or equal) than the precondition in the superclass. c. The precondition in a subclass must be weaker 8or equal) than the precondition in the superclass. d. None of the above is correct
b
Regarding class invariants... a. they can sometimes be true b. they must always be true c. They must not be true if they are negative d. None of the answers is correct
a
in the context of contract-based programming and having inheritance (subcontracting)... a. The postcondition in a subclass must be stronger (or equal) than the postcondition in the superclass. b. The postcondition in a subclass bust be weaker (or equal) than the postcondition in the superclass. c. The precondition in a subclass must be stronger (or equal) than the precondition in the superclass. d. none of the above is correct
a
In the 4+1 architectural view model, which aspect is considered in the process view? a. the concurrency and synchronisation aspect. b. The mapping between software-hardware c. The representation of the information model d. Leave this question blank. e. The software organisation in the development environment
d
in the context of design by contract and given some preconditions... a. The provider must guarantee preconditions (it is one of its obligations) b. Leave this question blank c. The client must assure postconditions (it is one of its obligations) d. The client must guarantee preconditions (it is one of its obligations) e. They must not be checked (neither by the client nor the provider)
d
If we want an architecture to ease the evolution of existing functionalities... we must consider the next non-functional requirement: a. Extensibility b. Efficiency c. Simplicity d. Modifiability e. Leave this question blank
b
What is coupling? a. A measure of the strength of association among modules in a computer program. b. A measure of the interdependence among the modules in a computer program. c. A measure of the strength of association of the elements within a module d. Leave this question blank e. A measure of the interdependence among the element within a module.
a
a stack is a Data structure to manage data items following a LIFO (last Input First Output) strategy. A stack mainly provides two operations: 1) push(item) , to add a new element and 2) pop() -> item, to remove an element. Select the CORRECT answer: a. A class invariant for a stack is that the number of elements must be always positive (>= 0) b. A postcondition of the operation push is that the pop method must be invoked to allocate space for a new element. c. A precondition of the operation push is that the number of elements in the stack must be increased, once the new element is added. d. Leave this question blank e. A postcondition of the operation pop is that, at least, the stack must contain one element.
e
Select the CORRECT answer in regards to the notion of interface: a. An interface is a set. of classes that offer a coherent service. b. A component can offer one and only one interface. c. Leave this question blank. d. Two interfaces offered by the same component are necessarily disjoint. e. The same interface can be implemented by two different components/classes.
d
Regarding coupling and cohesion... a. The degree of cohesion and coupling does not have impact on the maintainability and evolution of a system architecture. b. A proper architectural model shall look for maximising coupling and minimising cohesion. c. Coupling is the degree of intra-dependence among there elements within a module and cohesion is the degree of inter-dependence among modules. d. A proper degree of cohesion and coupling helps us to minimise the number of dependencies. e. Leave this question blank.
c
Given the next relationships and considering that the type of input parameters is a kind of precondition and the type of return values is a kind of postcondition, select the CORRECT answer: a. "MyFactory" breaks the contract between "Client" and "Factory" in the class invariants of method get. b. "MyFactory" does not break the contract between "Client" and "Factory" c. "MyFactory" breaks the contract between "Client" and "Factory" in the postconditions of method get. d. "MyFactory" breaks the contract between "Client" and "Factory" in the preconditions of method get. e. Leave this question blank.
c
Which is NOT a characteristic of an extensible architectural model? a. Leave this question blank. b. It eases the addition of new characteristics c. It simplifies the architectural design. d. It increases the degree of abstraction e. It requires more design time.
e
Which are the main software-related aspects that are addressed with the use of contracts? a. The scalability and standardisation of a software system. b. The accessibility and usability of a software system. c. Leave this question blank. d. The performance and completeness of a software system. e. The robustness and correctness of a software system.
b
Which statement regarding preconditions is correct? a) The supplier must ensure that they are fulfilled (it is his obligation in the contract). b) The client must ensure that they are fulfilled (it is his obligation in the contract). c) The client should not check the preconditions. d) They should not be checked (neither by the client nor by the supplier).
c
Given the following component diagram... a) A requires the interfaces of B. b) A implements the interfaces of B. c) B requires the interfaces of A. d) B implements the interfaces of A.
d
Weak generalization implies that... a) Reuse is increased. b) Dependence is decreased. c) Yield decreases. d) All of the above are false.
b
In the 4+1 view model, the development view... a) Illustrates the system from the perspective of the programmer, including the flow diagram. lessons. b) Illustrates the system from the perspective of the programmer, including the flow diagram. components. c) Explain the system processes and how they communicate, including the flow diagram. components. d) a) and b) are correct.
a
Extensibility can be a criterion for the selection of an architecture. Which Of the following is NOT a feature of an extensible architecture? a) It makes the design easier. b) Provides a higher degree of abstraction. c) It requires investing time in the architectural design. d) Allows higher performance.
b
6.In relation to the concepts of coupling and cohesion in the framework of modeling architecture of a system a) Coupling is the degree of communication between the elements of the same module, and cohesion the degree of communication between the modules. b) Good architectural modelling should seek to maximize cohesion and minimize coupling. c) Good cohesion and coupling ensure that dependencies are maximized. d) Cohesion and coupling do not influence maintainability and subsequent modification of an architecture.
b
In design based on contracts and existing inheritance... a) The postcondition in the subclass must be less restrictive than or equal to that of the parent. b) The postcondition in the subclass must be more restrictive than or equal to that of the parent. c) The precondition in the subclass must be more restrictive than or equal to that of the parent. d) None of the above is correct.
b
Which of the following architectural views belongs to the 4+1 model? a) View of classes. b) View of use cases. c) Context view. d) Assignment view.
c
What does the contract syntax specify? a) Indicates the errors to the client. b) The creation of interfaces. c) The external aspect. d) The content of the contract.
b
We have an application, which below there is a database where the information is stored. information. This database is controlled by maintenance personnel from a database manager program external to this application. If we have to do a requirements document, Do we have to have both the administrator and the normal user in account when making the document?: a) Both must be taken into account, and their corresponding classes must appear in document diagrams. b) The user should appear, but the administrator should not, since the user is an actor of the application, and the administrator when using an external program does not. c) The user should not appear, but the administrator should, since the latter has more weight that the user performs the necessary operations for the application to work. d) Neither of them should appear.
d
An interface offers a consistent service if: a) Contains the implementation of the operations. b) It has attributes. c) It has navigable associations. d) You cannot have direct instances.
d
Indicate which of these views does not belong to the 4+1 view model. a) Development view. b) Process view c) Logical view d) Functional view
d
In Component Architecture, an interface is... a) A view that is shown to the user. b) Physical and functional connection between two independent devices or systems. c) A set of methods that implement operations. d) Set of operations that offer a consistent service.
b
Which of the following characteristics does not belong to the realization? a) Reduce dependency. b) Mixed hierarchies of interfaces and classes. c) Decreases reuse. d) Alternative to multiple generalization, does not support many languages
c
The criteria for selecting an architecture are: a) Extensibility, Modifiability, Simplicity and Efficiency. b) Extensibility, Modifiability, Complexity and Efficiency. c) Extensibility, Modifiability, Simplicity and Efficiency. d) Extensibility, Modifiability, Complexity and Efficiency.
b
Which of the following is NOT one of the dimensions of the design? a) System. b) Domain. c) Specification. d) Concrete.
b
The 4+1 architectural view model contains the following views: a) Conceptual view, class diagram and architectural model. b) Logical, process, development, physical and use case views. c) View of components, actor-system and reflexive. d) None of the above.
b
What is an interface? a) It is a documented need for the content, form or functionality of a product or service. b) A set of operations that offer a consistent service. c) A set of abstract diagrams that represent the relationship between the components of a system. d) None of the above.
d
Which of the following is not a benefit of Design for Contracts (DbC)? a) Better understanding of software construction. b) Effective for debugging, testing and quality assurance. c) Better understanding of the inheritance mechanism. d) None of the above.
b
Indicate which of the following answers is correct in reference to the Formal Specification of the contract, a) Every contract has two equally essential parts: Customer and Supplier. b) Every contract has two equally essential parts: Syntax and Semantics. c) Every contract has two equally essential parts: Pre and Post condition. d) Every contract has two equally essential parts: service and operation.
b
In Software Architecture, How is an effective modular decomposition achieved?, Mark the right answer. a) Maximum relationship, minimum process. b) Maximum cohesion, minimum coupling. c) Maximum relationship, minimum coupling. d) Maximum cohesion, minimum process.
b
We have an application, below which there is a database where the information used by the users themselves is stored. This database is controlled by administrator personnel from a database manager program external to this application. Should both the administrator and the normal user be taken into account when making the conceptual models of the considered application?
a) Both must be taken into account, and their corresponding classes must appear in the diagrams of the requirements document. b) The user must appear, since he is an actor of the application and his data, but the administrator does not, because he uses an external program. c) The user should not appear, but the administrator should, since the latter has more weight that the user performs the necessary operations for the application to work. d) Neither of them should appear, since they are external agents to the system, and therefore they should not appear in the information model of the system, or conceptual model.
b
On class invariants: a) They must be true at some point. b) They must be true at all times. c) They must not be true if they are negative invariants. d) None of the above is correct.
c
In programming by contracts and existing inheritance... a) The postcondition in the subclass must be less restrictive than or equal to that of the parent. b) The precondition in the subclass must be more restrictive than or equal to that of the parent. c) The precondition in the subclass must be less restrictive than or equal to that of the parent. d) None of the above is correct.
b
If both abstract classes and interfaces serve to specify primarily operations, when should we opt for one or the other? a) It would be convenient to use interfaces when data reuse is necessary, take advantage of the implementation of some methods and not only to define the behavior to through an operations interface. b) It would be convenient to use abstract classes when it is necessary to reuse data, take advantage of the implementation of some methods and not only to define the behavior through an operations interface. c) It does not matter, the final result will be the same (no instances created, capacity system extensibility, etc.). d) None of the above is correct
a
Related to an interface... a) It only contains the definition of the operations, not their implementation. b) It cannot be extended. c) It cannot be implemented. d) None of the above is correct.
a
A definition of “software architecture”... a) Software architecture is the fundamental organization of a system embodied in its components, the relationships between them and with the environment, and the principles that guide its design and evolution. b) Software architecture is the functional organization of a system embodied into its components, the relationships between them and with the environment, and the principles that guide its design and evolution. c) Software architecture is the fundamental organization of a system embodied in its components, the relationships between them and with the environment. d) Software architecture is the functional organization of a system embodied into its components, the relationships between them and with the environment, and the principles that guide its design and evolution.
b
The degree of interaction between two modules is known as: a) Cohesion. b) Coupling. c) Inheritance. d) Instantiation.
b
In relation to the difference between Class and Data Type (datatype), indicate the answer INCORRECT: a) The population of a Class is finite and variable, while the population of a Type of Data is finite or infinite, but in any case constant. b) A Class can be simple or structured, while a Data Type must be always plain. c) The attributes of a Class are fixed or variable, while the values of a Type Data are fixed and immutable. d) A Class can participate in unidirectional or bidirectional associations, while a Data Type can only participate in unidirectional associations.
a
How to decide without a concept of the domain should be modeled as a class or as a type of fact? Mark the INCORRECT answer. a) A concept of the domain will always be modeled as a class, since the concepts they are by their very nature abstract. 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 an instance domain specific. d) A domain concept will be modeled as a class if it represents a family or type of things, rather than a concrete thing.
b
If an architecture is sought to facilitate the evolution and change of functionalities existing, the following non-functional requirement should be considered: a) Extensibility b) Modifiability c) Simplicity d) Efficiency.
a
In the 4+1 model for documentation of a software architecture, what aspect is do you see in the physical or display view? a) The software-hardware correspondence. b) The organization of the software in the development environment. c) The capacity for concurrence and synchronization. d) The representation of the information model.
a
A generalization is: a) The relationship between a general element and a specific element, where the element specific 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
c
In the 4+1 model the logical view... a) describes the mapping of the software on the hardware and reflects the distribution aspects. b) describes the concurrency and synchronization aspects of the design. c) describes the object model of the layout when a layout method is used object oriented. d) describes the static organization of the software in its development environment. The Extensibility can be a criterion for the selection of an architecture.
a
Extensibility can be a criterion for the selection of an architecture. Which Of the following is NOT a feature of an extensible architecture? a) It makes the design easier. b) Provides a higher degree of abstraction. c) It requires investing time in the architectural design. d) Allows higher performance.
b
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.
c
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.
a
If both abstract classes and interfaces serve to specify primarily operations, when should we opt for one or the other? a) It would be convenient to use abstract classes when it is necessary to reuse data, take advantage of the implementation of some methods and not only to define the behavior through an operations interface. b) It would be convenient to use interfaces when data reuse is necessary, take advantage of the implementation of some methods and not only to define the behavior to through an operations interface. c) It does not matter, the final result will be the same (no instances created, capacity system extensibility, etc.). d) It is indifferent, in both cases the state of the parent class or of the interface is inherited correspondent.
a
In relation to the concepts of coupling and cohesion in the framework of modeling architecture of a system a) Good architectural modeling should seek to maximize cohesion and minimize The coupling. b) A good architectural modeling should seek to maximize the coupling and minimize cohesion. c) Cohesion and coupling do not influence maintainability and subsequent modification of an architecture. d) Only cohesion influences the maintainability and subsequent modification of a architecture.
a
Which statement about interfaces is CORRECT? a) Two components can offer the same interface. b) In the same component the interfaces are necessarily disjoint. c) A component may offer only one interface. d) An interface is a set of classes that offer a consistent service.
d
Which statement about postconditions is CORRECT? a) They must not be checked (neither by the customer nor by the supplier). b) The client must ensure that they are fulfilled (it is his obligation in the contract). c) The client must not check the preconditions. d) The supplier must ensure that they are fulfilled (it is his obligation in the contract).
b
There is currently great pressure to have software systems that are capable of meeting new needs. For this, an architecture of system with the following characteristics: a) Modifiability. b) Extensibility. c) Usability. d) Scalability Regarding the architecture of a software system.
a
Regarding the architecture of a software system. Mark the CORRECT statement. a) Every software system has an architecture, even if it has not been made explicit or documented. b) There are software systems that do not have any architecture. c) The software architecture does not consider in any case the possible evolution of the system. d) The software architecture does not consider in any case the possible addition of new features to the system.
a
In the 4+1 model for the documentation of a software architecture, what aspect is do you see in the physical or display view? a) The software-hardware correspondence b) The organization of the software in the development environment c) The capacity for concurrency and synchronization d) The representation of the information model
b
A stack is a data structure that allows you to store a certain number of elements following a LIFO (“Last Input First Output”) strategy through two essential operations: 1) push(item): inserts an element on the stack and 2) pop()→removes an element from the battery. Tick the CORRECT answer: a) A precondition of the push operation is that the number of elements in the stack is increment after a new element is introduced. b) A precondition of the pop operation is that there is at least one element in the stack. c) A postcondition of the pop operation is that the number of elements on the stack is increment after an element is extracted. d) A postcondition of the push operation is that there is space on the stack for introduce a new item.
c
Which statement about interfaces is CORRECT? a) Two components cannot offer the same interface. b) In the same component the interfaces are necessarily disjoint. c) A component can offer several interfaces. d) An interface is a set of classes that offer a consistent service.
b
Extensibility is a selection criterion for an architecture, indicate the answer INCORRECT: a) It makes the design more complex. b) It necessarily implies a higher yield. c) Provides a higher degree of abstraction. d) It requires investing in general solutions. 17. In relation to the differences between
c
Class and Data Type (datatype), mark the INCORRECT answer: a) The population of a Class is finite and variable, while the population of a Type of Data is finite or infinite, but in any case constant. b) The attributes of a Class are fixed or variable, while the values of a Type Data are fixed and immutable. c) A Class can be simple or structured, while a Data Type must be always plain. d) A Class can participate in unidirectional or bidirectional associations, while a Data Type can only participate in unidirectional associations.
b
Within the framework of interface specification and implementation, mark the answer CORRECT: a) At least one implementation must be provided for each interface specified. b) A class that implements an interface must necessarily implement all the methods of this by itself or in its subclasses c) You can create instances of an interface. d) In UML 2.0, attributes cannot be included in an interface specification 20.
c
In the 4+1 model for documentation of a software architecture, what aspect seen in the process view? a) The software-hardware correspondence b) The organization of the software in the development environment c) The capacity for concurrency and synchronization d) The representation of the information model
c
In relation to the concepts of coupling and cohesion in the framework of modeling architecture of a system a) Coupling is the degree of communication between the elements of the same module, and cohesion the degree of communication between the modules. b) Good architectural modeling should seek to minimize cohesion and maximize The coupling. c) Good cohesion and coupling has a positive impact in minimizing the dependencies. d) Cohesion and coupling do not influence maintainability and subsequent modification of an architecture
d
Given the following component diagram... a) Information flows from “A” to “C”. b) Changes in “A” can affect “C”. c) “A” does not depend on “C”. d) “A” depends on “C” and changes in “C” can affect “A”.
b
On class invariants: a) They must be true at some point. b) They must be true at all times. c) They must not be true if they are negative invariants. d) None of the above is correct.
b
Given the following relationships and placing the framework in design by contract and assuming that the type of a parameter is a precondition and the return type of a method is a postcondition, mark the correct answer: a) “MiFábrica” breaks the contract between the "Client" and "Factory" classes for the get method in the about the preconditions. b) “MiFábrica” breaks the contract between the get method regarding postconditions. c) “MiFábrica” breaks the contract between the "Client" and "Factory" classes for the get method in the relative to class invariants. d) “MiFábrica” does not break the contract between the "Client" and "Factory" classes.
d
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.
b
Indicate which of the following elements related to programming is similar to the component interface: a) An object. b) An abstract class. c) A static class. d) The implementation of a method. 1
a
Which statement about interfaces is CORRECT? a) Two components can offer the same interface. b) In the same component the interfaces are necessarily disjoint. c) A component may offer only one interface. d) An interface is a set of classes that offer a consistent service.
e
Which of the following is NOT a view of the 4+1 view model? e) Association view. f) Process view. g) Development view. h) Physical view.
d
In the following image:
a) There can only be information flow from “A” to “C”. b) Changes in “A” affect “C”. c) “A” does not require the presence of “C”. d) “A” requires the presence of “C” and changes to “C” can affect “A”.
b
Regarding the concepts of coupling and cohesion in the framework of modeling architectural of a system: a) Coupling is the degree of communication between the elements of the same module, and cohesion the degree of communication between modules. b) A good architectural modeling should seek to maximize cohesion and minimize The coupling. c) Good cohesion and coupling ensure that dependencies are maximized. d) Cohesion and coupling do not influence maintainability and subsequent architecture modification.
c
A stack is a data structure that allows data to be stored and retrieved following a LIFO (“Last Input First Output”) strategy through two essential operations: 1) push(item): push an item onto the stack and 2) pop() pop an item off the stack. Point out the correct answer: a) A postcondition of the pop operation is that there is at least one element on the stack. b) A precondition of the push operation is that the number of elements on the stack is increment once a new element is introduced. c) An invariant of a Stack class is that the number of elements must always be positive (>=0). d) All the previous answers are correct.
b
In design based on contracts and existing inheritance... a) The postcondition in the subclass must be less restrictive or equal to that of the parent b) The postcondition in the subclass must be more restrictive or equal to that of the parent. c) The precondition in the subclass must be more restrictive or equal to that of the parent. d) None of the above is correct.
c
Given the following relationships, placing the framework in design by contracts and assuming that the type of a parameter is a precondition and the return type of a method is a postcondition, mark the correct answer: a) "F1" breaks the contract between classes "C" and "F" for the get method as far as preconditions are concerned. b) "F1" breaks the contract between classes "C" and "F" for the get method regarding class invariants. c) "F1 "breaks the contract between classes "C" and "F" for the get method regarding postconditions. d) "F1" does not break the contract between classes "C" and "F".
a
Select the CORRECT answer in regard to the notion of interface: a) The same interface can be implemented by two different components/classes. b) Two interfaces offered by the same component are necessarily disjoint. c) A component can offer one and only one interface. d) An interface is a set of classes that offer a coherent service.
b
Select the CORRECT statement regarding the software architecture of a system. a) There are software systems without any architecture. b) Any software system has an architecture, although it is not explicitly stated or documented. c) A software architecture never considers the possibility of evolving the system. d) A software architecture never considers the possibility of adding new capabilities to the system.
c
If we want an architecture to ease the addition of new characteristics...we must consider the next non-functional requirement: a) Modifiability. b) Simplicity. c) Extensibility. d) Efficiency.
b
In the 4 -1 architectural view model, which aspect is considered in the deployment or physical view? a) The software organization in the development environment. b) The mapping between software-hardware. c) The concurrency and synchronization. d) The representation of the information model.
b
A stack is a data structure to manage data items following a LIFO (Last Input First Output) strategy. to stack mainly provides two operations: 1) push(item), to add a new element and 2) pop()->item, to remove an element. Select the CORRECT answer: a) A postcondition of the operation pop is that the number of the elements in the stack must be increased, once the new element is added. b) A postcondition of the push operation is that the number of the elements in the stack must be increased, once the new element is added. c) A precondition of the push operation is that the number of elements in the stack must be positive. d) A precondition of the pop operation is that the number of elements in the stack must be constant.
c
Given the next statements, select the CORRECT answer: • There is class A with a method m that takes as input ·parameter a value between [0-10] and return it's a value between [0-5]. • There is a class A1, subclass of A, that overrides this method m to take as input parameter a value between [0-8] and returns a value between [0-3]. • There is class C that invokes the method m in class A.
a) The class A1 fulfills the contract between C and A in regard to postconditions. b) The class A1 cannot appear replacing A. c) The class A1 does not fulfill the contract between C and A in regard to preconditions. d) The class A1 does not fulfill the contract between C and A in regard to postconditions.
c
Regarding the functional decomposition of a system architecture... a) A proper architectural model shall look for maximizing coupling and minimizing cohesion. b) The degree of cohesion and coupling does not have impact on the maintainability and evolution of a system architecture. c) A proper degree of cohesion and coupling helps us to minimize the number of dependencies. d) Coupling is the degree of intra-dependence among the elements within a module and cohesion is the degree of inter-dependence among modules.
d
Given an on-line renting platform, which would be the most adequate architecture?
a) An architecture following a pipeline pattern. b) A physical architecture implemented on top of a bus. c) An embedded architecture within an intelligent device. d) An architecture based on a client-server model.
c
A component diagram... a) ...can include elements to specify the dynamics of the system. b) ...can include elements to represent implementation units within class diagrams. c) ...can include elements to represent implementation units like a database or a source code library. d) ...can include elements to represent the state of the system in a time t.
a
Which are the main software-related aspects that are addressed with the use of contracts? a) The robustness and correctness of a software system. b) The accessibility and usability of a software system. c) The scalability and standardization of a software system. d) The performance and completeness of a software system.
b
In design based on contracts and existing inheritance... a) The postcondition in the subclass must be less restrictive or the same as that of the parent. b) The postcondition in the subclass must be more restrictive or equal to that of the parent. c) The precondition in the subclass must be more restrictive or equal to that of the parent. d) None of the above is correct.
c
Which statement about interfaces is CORRECT? a) Two components cannot offer the same interface. b) In the same component the interfaces are necessarily disjoint. c) A component can offer several interfaces. d) An interface is a set of classes that offer a coherent service.
b
Extensibility is a criterion for selecting an architecture, mark the INCORRECT answer: a) It makes the design more complex. b) It necessarily implies higher performance. c) Provides a higher degree of abstraction. d) It requires investing in general solutions.
a
In relation to the concepts of coupling and cohesion within the framework of architectural modeling of a system: a) A good architectural modeling should seek to maximize cohesion and minimize coupling. b) A good architectural modeling should seek to maximize coupling and minimize cohesion. c) Cohesion and coupling do not influence the maintainability and subsequent modification of an architecture. d) Only cohesion influences the maintainability and subsequent modification of an architecture
a
Which statement about interfaces is CORRECT? a) Two components can offer the same interface. b) In the same component the interfaces are necessarily disjoint. c) A component may offer only one interface. d) An interface is a set of classes that offer a coherent service.
d
Which statement referring to postconditions is CORRECT? a) They should not be checked (neither by the client nor by the supplier). b) The client must ensure that they are fulfilled (it is his obligation in the contract). c) The client should not check the preconditions. d) The supplier must ensure that they are fulfilled (it is his obligation in the contract).
b
There is currently great pressure to have software systems that are capable of covering new needs. For this, a system architecture should be carried out that has the following characteristic: a) Modifiability. b) Extensibility. c) Usability. d)scalability
a
Regarding the architecture of a software system. Mark the CORRECT statement. a) Every software system has an architecture, even if it has not been made explicit or documented. b) There are software systems that do not have any architecture. c) The architecture software does not consider in any case the possible evolution of the system. d) The software architecture does not consider in any case the possible addition of new features to the system.
a
In the 4+1 model for the documentation of a software architecture, what aspect is considered in the physical or deployment view? a) The software correspondence software-hardware. b) The organization of the software in the development environment. c) The concurrency and synchronization capacity. d) The representation of the information model.
a
A definition of “software architecture”... Select one: a. Software architecture 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. b. Software architecture is the functional organization of a system embodied in its components, the relationships between them, and with the environment, and the principles that guide its design and evolution. c. Software architecture is the fundamental organization of a system embodied in its components, the relationships between them, and with the environment.
c
How can efficient modular decomposition be achieved? Select one: a. Minimum cohesion and minimum coupling b. Minimum cohesion and maximum coupling c. Maximum cohesion and minimum coupling d. Maximum cohesion and maximum coupling