Home > Articles

  • Print
  • + Share This
This chapter is from the book

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?

  1. Class diagrams

  2. Activity diagrams

  3. Deployment diagrams

  4. Statechart diagrams

  5. 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.)

  1. Use cases use actions and reactions to describe the system's behavior from a user's standpoint.

  2. Use cases show the definition of the system's boundaries and the relationships between the system and the environment.

  3. Use cases show an image If a system's functionality when triggered by the actions of an external (user) actor.

  4. Use cases show where automation will be required.

  5. 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?

  1. An actor represents the role played by a person or thing that interacts with a system.

  2. Actors always represent people.

  3. The name of the actor represents the role played by the user.

  4. The same person can play the roles of several actors.

  5. 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?

  1. The process to hire developers for the development project

  2. Setting prices for the co-payment amounts

  3. A Billington customer logging on to the Web site

  4. Determining a new logo for the Web site

  5. 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.)

  1. Usage scenarios document the series of steps required to complete a business function.

  2. Usage scenarios are depicted pictorially.

  3. Usage scenarios capture requirements in the users' business context.

  4. Usage scenarios are used only in the requirements-gathering phase.

  5. 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?

  1. Uses relationship

  2. Communicates relationship

  3. Extends relationship

  4. Functional relationship

  5. 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?

  1. Support for new cultures can be added quickly.

  2. The .NET Framework fully supports Unicode.

  3. A feature of .NET is the System.Globalization namespace.

  4. .NET enables you to create a different application for each country.

  5. 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?

  1. Develop a unique application for each culture/locale.

  2. Encourage the use of local colloquialisms.

  3. Determine the language favored in each individual country.

  4. Apply a currency exchange rate calculation to the application.

  5. 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.)

  1. Language displayed to the users

  2. Allocation of adequate screen space to display all text regardless of language

  3. Format patterns for dates, currency, and numbers

  4. Preventing the display of offensive or misleading icons

  5. 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.)

  1. The selected database management system has a major impact on developing localized versions.

  2. Efforts to develop localized versions should begin only after the entire application has been developed and implemented.

  3. To avoid having an application that won't work in some locales, knowing which keyboards can be used is important.

  4. Applications that follow the localization model are easier and less expensive to maintain and are usually more stable.

  5. 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.

  • + Share This
  • 🔖 Save To Your Account