M363 past papers Flashcards
Apply the DIT, CBO and NOC metrics to the abstract class Account. Assume the class that has no parent is a direct subclass of the Object class.
DIT = 1, CBO = 3 and NOC = 2
The activity where requirements are categorized and prioritized, and examined for their properties of consistency, completeness and non-ambiguity is called: a. Elicitation b. Gathering c. Analysis and negotiation d. Validation
c
Special requirements that come about because of people involved in the product’s development and operation: a. Cultural and political b. Performance c. Maintainability d. Operational
a
A system ………… distinguishes between the internal and external components of a system a. Boundaries b. Interface c. Use cases d. Actors
a
Which diagram demonstrated who does what in a system? a. Activity b. Use case c. Class d. Object
b
……………. illustrates that an instance of the more specific element can be used in place of the more general element. a. Generalization b. Specialization c. Substitutability
c
The exclude stereotype is related to which part of the use case? a. Pre-condition b. Post-condition c. Main success scenarios d. Alternative scenarios
d
……………. causes transitions in an activity diagram a. Synchronization bar b. Event c. Completion of an activity d. Guard
c
In a car rental company, “renting a car” is one of the ……………of the business: a. Constraints b. Rules c. domains d. Processes
d
A ………… is an association, in which both of its ends terminate on the same class. a. link b. qualified association c. recursive association d. derived association
c
What is a legacy system?
Legacy systems are characterized by being: -Large -Critical to the business; -Have been changed a number of times since their inception; -Difficult to understand because of either a lack of documentation -Difficult to maintain because of the above factors
Explain the relation between partitioning and projection
We divide large problems into a number of mutually independent sub-problems known as partitions. These partitions usually slightly overlap in the sense that they are related to each other using common elements. This is called partitioning.
Give two reasons why a delivered software system might not meet its users’ needs.
Software systems are usually out of date even as they are being developed, since users’ needs: - are often missed during requirements capture; - change with time.
What are the benefits of using modules with defined interfaces?
e. The benefits are as follows: - developers will need to know only about the module’s interface (its syntax and what it achieves – its semantics), not how it provides those services, and consequently developers can be more productive; - developers can understand aspects of the software system more thoroughly, so fewer bugs will be introduced; - it should be easier to find bugs, as irrelevant modules are avoided; - the possibility of module reuse is increased once it is known what that module provides and requires.