Practice Questions
Question 1
Which of the following UML diagrams documents the logic of a single operation or method, a single use case, or the flow of logic of a business?
Class diagrams
Activity diagrams
Deployment diagrams
Statechart diagrams
Sequence diagrams
The correct answer is B. The purpose of an activity diagram is to document the behavior of an operation as a set of actions. The other diagrams represent other parts of the modeling process, so only answer B is correct. Use cases use actions and reactions to describe the behavior of a system from a user's standpoint. They show the definition of the system's boundaries and the relationships between the system and the environment. A use case is an image of a system's functionality, which is triggered in response to the stimulation of an external actor.
Question 2
Which of the following are benefits of use cases? (Choose three.)
Use cases use actions and reactions to describe the system's behavior from a user's standpoint.
Use cases show the definition of the system's boundaries and the relationships between the system and the environment.
Use cases show an image If a system's functionality when triggered by the actions of an external (user) actor.
Use cases show where automation will be required.
Use case diagrams show the sequence in which events in the system must occur.
The correct answers are A, B, and C. Use cases do not show a system at a technical level, so answer D is not correct. Use cases are not concerned with a sequence of events, but with the expected system response to specific triggers, so answer E is also not correct.
Question 3
Considering the use of actors in a use case diagram, which of the following statements is not true?
An actor represents the role played by a person or thing that interacts with a system.
Actors always represent people.
The name of the actor represents the role played by the user.
The same person can play the roles of several actors.
Determining the actors also sets the system's boundaries.
The correct answer is B. Actors can also represent external hardware and other systems.
Question 4
In the Billington Pharmaceuticals case study, which of the following situations would require creating a usage scenario?
The process to hire developers for the development project
Setting prices for the co-payment amounts
A Billington customer logging on to the Web site
Determining a new logo for the Web site
Implementing computer systems in participating doctors' offices
The correct answer is C. All the other responses are considered outside the scope of the project, so only answer C is correct.
Question 5
Which of the following statements about usage scenarios are true? (Choose three.)
Usage scenarios document the series of steps required to complete a business function.
Usage scenarios are depicted pictorially.
Usage scenarios capture requirements in the users' business context.
Usage scenarios are used only in the requirements-gathering phase.
Usage scenarios can be used to validate the design.
The correct answers are A, C, and E. Because usage scenarios are used to document a business function, capture requirements in the users' business context, and help validate the design, answers A, C and E are all correct. Because usage scenarios are depicted in a narrative format and are used in all phases, answers B and D are not correct.
Question 6
Which of the following is the type of use case that represents a relationship between an actor and a use case?
Uses relationship
Communicates relationship
Extends relationship
Functional relationship
Logical relationship
The correct answer is B. The communicates relationship is the only relationship that exists between actors and use cases.
Question 7
Which of the following is not a major advantage of using .NET to develop world-ready applications?
Support for new cultures can be added quickly.
The .NET Framework fully supports Unicode.
A feature of .NET is the System.Globalization namespace.
.NET enables you to create a different application for each country.
Resources are used more efficiently.
The correct answer is D. The main advantage of using .NET is that it enables you to have only one application that can easily function in multiple countries.
Question 8
Which of the following is the major goal of globalization?
Develop a unique application for each culture/locale.
Encourage the use of local colloquialisms.
Determine the language favored in each individual country.
Apply a currency exchange rate calculation to the application.
Create an application that is both culture-neutral and language-neutral.
The correct answer is E. By using many of the functionality options already available in the .NET Framework, specifically the System.Globalization namespace, creating a culture- and language-independent application is an achievable goal.
Question 9
Billington Pharmaceuticals will be developing an application distributed globally using the .NET architecture and specifically incorporating Unicode features of and classes available in the System.Globalization namespace. Assuming the infrastructure is implemented properly, which of the following common internationalization issues will be resolved by the available .NET architecture and require no additional development or research effort? (Choose two.)
Language displayed to the users
Allocation of adequate screen space to display all text regardless of language
Format patterns for dates, currency, and numbers
Preventing the display of offensive or misleading icons
Syntax checking to remove slang or obscure phrases
The correct answers are A and C. Based on the assigned locale, the correct language and format patterns will be chosen. Allocation of adequate screen space is a design or development issue, so answer B is not correct. Not allowing offensive icons and preventing slang and obscure phrases from being part of the application are research efforts, so answers D and E are also not correct.
Question 10
When developing localized versions of an application, which of the following statements are correct? (Choose two.)
The selected database management system has a major impact on developing localized versions.
Efforts to develop localized versions should begin only after the entire application has been developed and implemented.
To avoid having an application that won't work in some locales, knowing which keyboards can be used is important.
Applications that follow the localization model are easier and less expensive to maintain and are usually more stable.
One advantage of localization is that it converts all screen flow to be left-to-right and top-to-bottom.
The correct answers are C and D. The choice of a DBMS should be not be a localization issue, so answer A is not correct. Localization efforts should begin in the requirements-gathering phase and continue to be done in parallel with the system development phases, so answer B is not true. Localization must take into account that some locales do not follow left-to-right display rules, so answer E is not correct.