McGraw-Hill OnlineMcGraw-Hill Higher EducationLearning Center
Student Centre | Lecturer Centre | Info Centre | HOME

Glossary
Q 18.C supplement
Self-test Questions

Cover
Object-Oriented Systems Analysis and Design Using UML, 2/e
Simon Bennett, Systems Architect with GEHE UK
Steve McRobb, Senior Lecturer, De Montfort University
Ray Farmer, Associate Dean, Coventry University

Implementation

Self-test Questions



1

Which of the following statements best describes what is meant by a CASE tool?
A)A software tool for drawing diagrams.
B)A software package that maintains graphical models and other data about systems, and may generate program code.
C)A software package that enables a developer to produce a graphical user interface by dragging and dropping components onto forms.
2

Which of the following statements best describes what is meant by a configuration management tool?
A)A software package that keeps track of the dependencies between components and the versions of source code and resource files used to produce a particular release of software.
B)A software package that enables a developer to produce a graphical user interface by dragging and dropping components onto forms.
C)A software package that builds archives or zip files that can be used with an installation tool to install software onto a computer.
3

Which of the following statements best describes what is meant by an integrated development environment?
A)A software package that builds archives or zip files that can be used with an installation tool to install software onto a computer.
B)A software package that contains a multi-window editor, mechanisms for managing the source files in a project, and links to the compiler and debugger so that they can be run from within the environment.
C)A software package that enables a developer to produce a graphical user interface by dragging and dropping components onto forms.
4

Which of the following examples conforms to the standard for class names used in the book and generally in Java programming?
A)Sales_Order_Proxy.
B)salesOrderProxy.
C)SalesOrderProxy.
5

Which of the following examples conforms to the standard for attribute names used in the book and generally in Java programming?
A)budgetTextField.
B)budgetTextField().
C)BudgetTextField.
6

Which of the following examples conforms to Hungarian notation?
A)iLength.
B)length.
C)LengthInt.
7

Which of the following is not a reason for documenting your code?
A)Someone else may be maintaining the code that you have written.
B)However good your use of naming conventions, you can always provide extra help to readers of your code (including yourself when you come back to it in a few months’ time).
C)End-users will need to read your program code to understand how to use the system.
8

What is shown in a component diagram?
A)1. Software components in the system and the dependencies between them.
B)Hardware components in the system and the software that runs on them.
C)Classes and the messages that are passed between them in the live system.
9

Which of the following is true of the diagram below?

<a onClick="window.open('/olcweb/cgi/pluginpop.cgi?it=gif::Fig. 19.9::/sites/dl/free/0077098641/41598/ch19_p9.gif','popWin', 'width=NaN,height=NaN,resizable,scrollbars');" href="#"><img valign="absmiddle" height="16" width="16" border="0" src="/olcweb/styles/shared/linkicons/image.gif">Fig. 19.9 (1.0K)</a>
Fig. 19.9

A)The component Production scheduler has a dependency on the component Staff planner.
B)The component Staff planner has a dependency on the component Production scheduler.
C)The software component Staff planner runs on the hardware component Production scheduler.
10

Which of the following can component diagrams be used for?
A)To show the dependency of compiled components on other compiled components.
B)To show the dependency of compiled components on the source code files used to produce them.
C)Both 1 and 2.
11

Based on the dependencies in the diagram below, which of the following statements is true?

<a onClick="window.open('/olcweb/cgi/pluginpop.cgi?it=gif::Fig. 19.11::/sites/dl/free/0077098641/41598/ch19_p11.gif','popWin', 'width=NaN,height=NaN,resizable,scrollbars');" href="#"><img valign="absmiddle" height="16" width="16" border="0" src="/olcweb/styles/shared/linkicons/image.gif">Fig. 19.11 (2.0K)</a>
Fig. 19.11

A)If SalesOrder.cpp changes it will not affect any other components.
B)If SalesOrder.cpp changes it will affect the SalesOrder.h component.
C)If SalesOrder.cpp changes it will affect the SalesOrder.o and PrintOrder.exe components.
12

Which of the following statements best describes what is shown in a deployment diagram?
A)The configuration of run-time processing elements and the software components and processes that are located on them.
B)The actors who will be involved in the deployment of software in the finished system and the communication between them and the system hardware.
C)Software components and the dependencies between them.
13

Which of the following is the notation for a node in a deployment diagram?

<a onClick="window.open('/olcweb/cgi/pluginpop.cgi?it=gif::Fig. 9.13::/sites/dl/free/0077098641/41598/ch19_p13.gif','popWin', 'width=NaN,height=NaN,resizable,scrollbars');" href="#"><img valign="absmiddle" height="16" width="16" border="0" src="/olcweb/styles/shared/linkicons/image.gif">Fig. 9.13 (1.0K)</a>
Fig. 9.13

A)1
B)2
C)3
14

Which of the following items are shown as well as the processor nodes in the deployment diagram below?

<a onClick="window.open('/olcweb/cgi/pluginpop.cgi?it=gif::Fig. 19.14::/sites/dl/free/0077098641/41598/ch19_p14.gif','popWin', 'width=NaN,height=NaN,resizable,scrollbars');" href="#"><img valign="absmiddle" height="16" width="16" border="0" src="/olcweb/styles/shared/linkicons/image.gif">Fig. 19.14 (3.0K)</a>
Fig. 19.14

A)Software components, a class and a stereotyped dependency.
B)Software components, an active object and a communication association.
C)Hardware components, an active object and a message.
15

Which of the following best describes black box testing?
A)It tests the internal workings of the software and whether the software works as specified.
B)It tests whether the software produces the correct outputs for specific inputs.
C)It tests whether the software can be used ‘out of the box’ by end-users.
16

Which of the following best describes white box testing?
A)It tests the internal workings of the software and whether the software works as specified.
B)It tests whether the software produces the correct outputs for specific inputs.
C)It tests whether the software can be used ‘out of the box’ by end-users.
17

Which of the following is the likely order in which these five kinds of testing will be carried out?
A)Unit testing, integration testing, sub-system testing, system testing, user-acceptance testing.
B)Unit testing, user-acceptance testing, sub-system testing, integration testing, system testing.
C)User-acceptance testing, unit testing, sub-system testing, system testing, integration testing.
18

Which of the following statements best describes beta testing?
A)Testing individual classes and then the interaction between instances of those classes in programs.
B)Testing software applications in a simulated environment.
C)Testing software applications in a live environment.
19

Why are test plans with test data and expected results created?
A)So that programmers can make sure that testers only test their code with values that they know will work.
B)So that testing is carried out thoroughly with a wide range of values, and the outcome according to the specification can be checked.
C)To save time for testers, so that they don’t have to think about the results.
20

Which of the following best describes the activity of data conversion?
A)Making sure that all the data to be used in the system is converted into a modern format like XML as soon as possible.
B)Testing that data from Windows systems can correctly be loaded into Unix applications.
C)Collating manually held data from different sources for entry into the new system, and converting data from existing computerised systems into a format for import into the new system.
21

When should user training take place?
A)Months before the implementation of the new system.
B)As soon as possible before the implementation of the new system.
C)A few weeks after the implementation of the new system.
22

Who should write user manuals?
A)Technical authors.
B)Programmers.
C)Users’ managers.
23

Which changeover strategy is most suitable for systems where there is a high level of risk and the system is central to the operation of the business?
A)Direct changeover.
B)Phased changeover.
C)Parallel running.
24

Which of the following is an advantage of the direct changeover approach?
A)The new system will immediately bring business benefits and will start paying for itself.
B)The outputs of the old and new systems can be compared as a form of validation.
C)Thorough testing of each stage or sub-system can be carried out as it is introduced.
25

In the diagram below which part represents parallel running schematically?

<a onClick="window.open('/olcweb/cgi/pluginpop.cgi?it=gif::Fig. 19.25::/sites/dl/free/0077098641/41598/ch19_p25.gif','popWin', 'width=NaN,height=NaN,resizable,scrollbars');" href="#"><img valign="absmiddle" height="16" width="16" border="0" src="/olcweb/styles/shared/linkicons/image.gif">Fig. 19.25 (3.0K)</a>
Fig. 19.25

A)1
B)2
C)3
26

Which of the following is not a good reason for a post-implementation evaluation?
A)The project can be assessed to establish how well it has met the functional and non-functional requirements, and if any functional requirements were left out a decision can be made about implementing them in a future project.
B)Problems with the software can be identified and the developers responsible for those parts of the system can be identified and demoted or sacked.
C)The experience can be used to learn useful things, for example, the actual time spent on each part of the project can be compared with the estimates and used to improve the estimation process in future projects.
27

Which of the following is not likely to be a section in a post-implementation report?
A)Candidate components for reuse.
B)Positive experiences.
C)Test plan.
28

Why should maintenance of an application be controlled?
A)In order to assess the cost of changes and the impact of changes on the rest of the system.
B)To maintain a steady income for the software company that developed the application.
C)To avoid maintenance activities interfering with work on developing new systems.