25 Jan (TCO 4) What is a sequence diagram
CIS339 Object-Oriented Analysis and Design
WEEK 1 Quiz
Question 1
(TCO 1) In the Unified Process (UP) methodology, Testing activities occurs during the _____ phases.
Inception
Elaboration
Construction
All of the Above
None of the Above
Question 2
(TCO 1) The four phases of the Systems Development Life Cycle are _____.
analysis, gathering, modeling, and diagramming
construction, installation, testing, and converting
designing, charting, formatting, and structuring
planning, analysis, design, and implementation
system request, feasibility, planning, and staffing
Question 3
(TCO 1) Important guiding principle of requirements analysis include:
do not rush into creating models for the problem
use the above-listed principles to formulate the problem’s requirements
use good requirements discovery techniques as your foundation
All of the above
None of the above
Question 4
(TCO 1) In which phase of the SDLC is the project plan developed?
Analysis
Design
Implementation
Planning
Reconstruction
Question 5
(TCO 1) Use Cases Diagrams and Descriptions are developed in which phase of the SDLC?
Analysis
Design
Implementation
Planning
System delivery
Question 6
(TCO 1) Interfaces (e.g., user interface design, database design, program design, and method specification) are specified during the _____ phase of the SDLC.
analysis
design
implementation
planning
system delivery
Question 7
(TCO 1) UML unification is not just historical in scope, UML attempts (and largely succeeds) in being unified across several different domains.
Development life cycle
Application domains
Implementation languages and platforms
Development processes
All of the Above
Question 8
(TCO 1) A software engineering process (SEP), also known as a software development process, defines the ______ of developing software.
who, what, when and how
why, what and when
why, what and how
None of the above
Question 9
(TCO 1 Requirements engineering is a term used to describe the activities involved in:
eliciting,
documenting,
maintaining a set of requirements for a software system
discovering what the stakeholders need the system to do for them.
All of the above
None of the above
Question 10
(TCO 1) We can define a requirement as “a specification of what should be implemented”. There are basically two types of requirements:
functional requirements – what behavior the system should offer;
non-functional requirements – a specific property or constraint on the system.
All of the above
None of the above
CIS339 Object-Oriented Analysis and Design
WEEK 2 Quiz
Question 1
(TCO 2) A use case include relationship represents _____.
how a use case optionally include another use case
an extra functional modeling of the use that is optional
an integral part of the base use case
how a use case inherits from another use case
Question 2
(TCO 2) The flow of events in a use case description should include _____.
actor, trigger, and use case relationships
action nodes, flows, and object nodes
include, extend, and sub flows
main flow and alternate flows,
Question 3
(TCO 2) A use case extend relationship represents _____.
how the use case extends an actor
an extra functional modeling of the use case that is optional
a mandatory functionality of the use case
how a use case inherits from another use case
Question 4
(TCO 2) Jim has documented a functionality of a system as “to compute gross pay by multiplying the hours worked that are recorded on the time card from the time clock by the hourly rate that is recorded in the employee master file from the database.” This is an example of a(n) _____ .
a possible system requirement
an alternate flow of a use case
a post condition of a use case
use case
Question 5
(TCO 2) The entity that specifies a role that some external entity adopts when interacting with your system is called a(n) _____.
action
actor
hammer
anvil
Question 6
(TCO 2) The correct sequence of the major steps in creating use case diagrams is _____.
find a candidate system boundary, find the actors, find the use cases.
find the actors, find a candidate system boundary, find the use cases.
find the use cases, find a candidate system boundary, find the actors.
sequence does not matter.
Question 7
(TCO 2) In an activity diagram, the action node represents _____.
a simple, decomposable piece of behavior
the data stored as an object
discrete and atomic unit of work
the control flow between processes
Question 8
(TCO 2) In a use case description, the Alternate Flow section contains _____.
logic that is rarely executed
alternative paths that capture errors, branches, and interrupts to the main flow
logic from a separate use case
the starting logic in the use case
Question 9
(TCO 2) The primary actor in a use case description is _____.
the trigger of the use case, and the trigger type is internal
the trigger of the use case, and the trigger type is external
triggered by the use case, and the trigger type is internal
triggered by the use case, and the trigger type is abstract
Question 10
(TCO 2) Using Time as an actor is helpful to show _____.
how long the Use Case takes to execute
when you require the Use Case to be triggered at a specific point in time
how long the interval is between Use Case executions.
the development time for the Use Case.
CIS339 Object-Oriented Analysis and Design
WEEK 3 Quiz
Question 1
(TCO 3) Which of the following is most likely not an example of an attribute?
Employee name
Customer address
Stock number
ISBN
Cancel appointment
Question 2
Which of the following is NOT a characteristic of attribute instance scope?
by default, attributes have instance scope
every object of the class gets its own copy of the instance scope attributes
each object may therefore have different instance scope attribute values
each object will therefore have the same class scope attribute values
Question 3
(TCO 3) Polymorphism means
many forms
many shapes
many types
many attributes
many vales
Question 4
(TCO 3) What is NOT part of the Association syntax?
an association name
role names
object name
multiplicity
navigability
Question 5
(TCO 3) Objects of the same class have:
the same operations and attributes
the same attributes and different operations
the same operations and different attributes
the same operations and attributes with the same values
the same attributes and different operation signatures
Question 6
(TCO 3) Which of the following would NOT be an appropriate class name?
Student
Patient
John
Customer
Doctor
Question 7
(TCO 3) Which of the following does not make a good analysis class?
its name reflects its intent
it is crisp and models one specific element
has well define responsibilities
it has high cohesion
it has high coupling
Question 8
(TCO 3) Generalization is a relationship between:
many general things
a more general thing and a more specific thing
many specific things
a more general things and a less specific thing
Question 9
(TCO 3) An example of a boundary classes would be:
user
internal system interface
web form
database
executable program
Question 10
(TCO 3) Class relationships’ multiplicity in a UML class diagram documents _____.
how many inherited classes can be created from a given class
a concise way to express certain business constraints relating to the “number of things” participating in a relationship
how many classes should be in one class diagram
how to create objects from multiple classes
how to create objects from abstract classes
CIS339 Object-Oriented Analysis and Design
WEEK 4 Quiz
Question 1
(TCO 4, 5, 8) The two types of interaction diagrams are _____ diagrams.
use case and sequence
class and sequence
sequence and communication
object and communication
Question 2
(TCO 4, 5, 8) A(n) _____ describes information about an object.
attribute
behavior
operation
instance
Question 3
(TCO 4, 5, 8) _____ are information sent to objects to tell them to execute one of their behaviors.
Attributes
Operations
Messages
Instances
Question 4
(TCO 4, 5, 8) Which of the following objects is most likely to be destroyed at some point in time in a sequence diagram?
Customer
Order
Item
Invoice
Question 5
(TCO 4, 5, 8) The order of messages on a sequence diagram goes from _____.
right to left
bottom to top
left to right
top to bottom
Question 6
(TCO 4, 5, 8) In UML behavioral modeling, a message is _____.
a named location in memory where information is deposited and retrieved
a data structure to hold information
a function or procedure call from one object to another object
a relationship between two objects
Question 7
(TCO 4, 5, 8) In a communication diagram, a(n) _____ between actors and objects is shown with an undirected line.
procedure call
data flow
link
message
Question 8
(TCO 4, 5, 8) The time ordering of messages is represented by the _____.
communication diagram
object diagram
use case diagram
sequence diagram
Question 9
(TCO 4, 5, 8) Which of the following are valid event types?
call event
signal event
change event
All of these
Question 10
(TCO 4, 5, 8) The life of a lifeline is indicated by its _____ on the sequence diagram.
vertical position
horizontal position
vertical length
width
CIS339 Object-Oriented Analysis and Design
WEEK 5 Quiz
Question 1
(TCO 6) Object-oriented design (OOD) is the phase in which the functional, structural, and behavioral analysis models are transformed into the ________ for the software implementation.
project plan
technical specifications
blueprints
user requirements
Question 2
(TCO 6) What are the two possible stereotypes allowed for package:
framework and private
modelLibrary and protected
framework and modelLibrary
framework and protected
Question 3
(TCO 6) Packages may be nested inside other packages to any depth. However, just ________ levels of nesting are generally enough. Much more than this, and the model may become difficult to understand and navigate.
one or two
two or three
three or four
four or more
Question 4
(TCO 6) Transitivity is a term that applies to relationships. It means that if there is a relationship between thing A and thing B and a relationship between thing B and thing C, then
thing A and thing C maybe related
thing A and thing C may not be related
there is an explicit relationship between thing A and thing C
there is an implicit relationship between thing A and thing C
Question 5
(TCO 6) Which of the following is NOT true for package ownership?
the packages form a hierarchy;
the root package may be stereotyped «lowerLevel»;
by default, model elements are placed in the «topLevel» package.
Every model element is owned by one package
Question 6
(TCO 6) There is a different take on the number of layers and on their definitions.: According to Microsoft Certified Solution Developer Solutions Architecture exam, what is NOT a valid architectural layer?
Presentation – includes all the forms that collect only input and display output.
Application (or business) logic layer – contains all the algorithmic processing that transforms your input into output.
Data layer – contains all the services necessary to connect to, and interact with, your data stores.
Security layer – includes all the necessary controls to protect the digital assets of the organization
Question 7
(TCO 6) Preliminary or architectural design is the activity that begins the transition from the analysis, or business domain, to the _______ domain.
problem
interface
solution
conversion
Question 8
(TCO 6) When deciding on the package architecture, the Common Closure Principle states that packages that need changing for a similar reason should be packaged together.
any
conformity
similar
architectural
Question 9
(TCO 6) In moving from analysis to design, CRC cards map to:
package, subsystem, contract, constraint and method design
class and object design
contract and constraint design
package and subsystem design
Question 10
(TCO 6) If you perform the packaging correctly,
you will greatly reduce the complexity of the construction and long-term maintenance activities.
increase the development time
decrease the development time
decrease the implementation time
CIS339 Object-Oriented Analysis and Design
WEEK 6 Quiz
Question 1
(TCO 6) Even if you skipped all the requirements analysis steps, the two steps guaranteed to be completed in any software development are
policy and procedure development
use case activity diagram testing
method design and coding
data conversion and user training
Question 2
(TCO 6) An analysis view may only have between ___ and ___ of the classes that are in the detailed design
1% and 5%
1% and 10%
10% and 20%
20% and 30%
Question 3
(TCO 6) Analysis view are invaluable for:
introducing new people to the project;
understanding the system months or years after delivery;
understanding how the system satisfies user requirements;
All of these
None of these
Question 4
(TCO 6) Analysis is about modeling ___ the system should do. Design is about modeling ___ that behavior may be implemented.
what; how
how; what
how; how
what; what
Question 5
(TCO 6) The minimal characteristics that a design class must have to be considered well-formed are:
complete and sufficient;
primitive and high cohesion;
low coupling.
All of these
None of these
Question 6
(TCO 6) With interface realization you get:
an interface – a set of public operations, attributes and relationships that have no implementation.
interface – the public operations of the base classes;
implementation – the attributes, relationships, protected and private operations of the base classes.
All of these
None of these
Question 7
(TCO 6) Nested classes allow:
you define a class inside another class;
the nested class exists in the namespace of the outer class – only the outer class can create and use instances of the nested class;
nested classes are known as inner classes in Java, and are used extensively for event handling in GUI classes.
All of these
None of these
Question 8
(TCO 6) Some excellent advice on minimizing connascence includes:
Minimize overall connascence by breaking the system into encapsulated elements.
Minimize any remaining communication that crosses encapsulation boundaries.
Maximize connascence within encapsulation boundaries.
All of these
None of these
Question 9
(TCO 6) Cohesion is one of the most desirable features of a(n) _____.
inheritance
method
object
class
Question 10
(TCO 6) The system architecture is compromise when coupling is between ________.
interactions
objects
data
subsystems
CIS339 Object-Oriented Analysis and Design
WEEK 7 Quiz
Question 1
(TCO 7) Implementation is about transforming a design model into __________.
executable code
user procedures
policies and procedures
test scripts
Question 2
(TCO 7) Artifacts – represent the specifications of real-world things such as:
source files
design documents
test data
test results
Question 3
(TCO 7) The ________ maps the software architecture created in design to a physical system architecture that executes it.
architectural diagram
sequence diagram
deployment diagram
state chart diagram
Question 4
(TCO 7) The construction of the deployment diagram is a two-step process. In the implementation workflow, the main focus is on:
assigning artifact instances to node instances (instance form), or artifacts to nodes (descriptor form)
node or node instances and connections
software to hardware
routers to networks
Question 5
(TCO 7) Which of the following in NOT why the construction phase is important:
a large part of the software development
the central activity in software development
the individual programmer’s productivity can improve enormously
Construction’s product, the user training, is often the only accurate description of the software project.
Question 6
(TCO 7) Which of the following is NOT a way data and information hiding and encapsulation improves construction and maintenance?
Data type changes isolate the change to a single class, and the entire program is not affected.
Adding additional details is isolated to a single class.
Programming to an interface makes the code more logical.
Coupling is increased
Question 7
(TCO 7) Which of the following is NOT a self-documenting code technique meaning that the programmer uses program structure and easily understood programming techniques, such as good:
color coding
constants
routine names
variable names
Question 8
(TCO 7) According to McConnell (2004), what is NOT a way comments can be broken down into the following categories.
Marker in the code
Summary of the code
Description of the programmer’s intent
Repeat of the code
Question 9
(TCO 7) In information systems development, quality is driven by more by _____ than it is by program construction.
good requirements analysis and design
program coding
program testing
system testing
Question 10
(TCO 7) The pseudocode generated in the method design
can be used for actual coding of the method
can be used as comments in the code
cannot be reused during the programming activity
cannot be used for user training.
CIS339 Object-Oriented Analysis and Design
WEEK 8 Final Exam
Question 1
(TCO 1) UML unification is not just historical in scope, UML attempts (and largely succeeds) in being unified across several different domains.
Development life cycle
Application domains
Implementation languages and platforms
Development processes
All of the Above
Question 2
(TCO 1) Requirements engineering is a term used to describe the activities involved in:
eliciting,
documenting,
maintaining a set of requirements for a software system
discovering what the stakeholders need the system to do for them.
All of the above
None of the above
Question 3
(TCO 2) If a use case becomes too complex, it should be _____.
rewritten to simplify it
decompose into alternative flows
written with a series of repeating steps to simplify it
written from the perspective of an independent observer to simplify it
Question 4
(TCO 2) In writing Use Cases, the analyst should _______.
keep Use Cases short and simple.
focus on the how and not the what.
promote functional decomposition.
focus on the what and not the how.
Question 5
(TCO 3) CRCs are created by performing a textual analysis of _____.
collaboration and responsibility cards
object lists
use case diagrams
use case descriptions
Question 6
(TCO 3) Which of the following does not make a good analysis class?
its name reflects its intent
it is crisp and models one specific element
has well define responsibilities
it has high cohesion
it has high coupling
Question 7
(TCO 4, 5, 8) Which of the following are valid event types?
call event
signal event
change event
All of these
Question 8
(TCO 4, 5, 8) There are many different types of interaction diagram, each of which emphasizes a different aspect of the interaction.
Sequence diagrams – these emphasize the time-ordered sequence of message sends between lifelines.
Communication diagrams – these emphasize the structural relationships between objects and are very useful in analysis.
Interaction overview diagrams – these show how complex behavior is realized by a set of simpler interactions.
All of these
Question 9
(TCO 4, 5, 8) In a communication diagram, a(n) _____ between actors and objects is shown with an undirected line.
procedure call
data flow
link
message
Question 10
(TCO 4, 5, 8) The life of a lifeline is indicated by its _____ on the sequence diagram.
vertical position
horizontal position
vertical length
width
Question 11
(TCO 4, 5, 8) An analyst depicts the dynamic view of an information system with _____.
use case models
structural models
interaction models
None of these
Question 12
(TCO 6) After a set of candidate packages has been identified, you should then attempt to minimize the public members of the packages and the dependencies between the packages by:
moving classes between packages
renaming packages
removing packages.
adding more packages
Question 13
(TCO 6) There is a different take on the number of layers and on their definitions.: According to Microsoft Certified Solution Developer Solutions Architecture exam, what is NOT a valid architectural layer?
Presentation – includes all the forms that collect only input and display output.
Application (or business) logic layer – contains all the algorithmic processing that transforms your input into output.
Data layer – contains all the services necessary to connect to, and interact with, your data stores.
Security layer – includes all the necessary controls to protect the digital assets of the organization
Question 14
(TCO 6) Cohesion means that each class should model a ______ and should have a __________ that support the intent of the class.
single method; set of properties
set of method; single property
single object; name
single abstract concept; set of operations
Question 15
(TCO 6) Inheritance has certain undesirable characteristics.
It is the strongest form of coupling possible between two or more classes.
Encapsulation is weak within a class hierarchy.
It is a very inflexible type of relationship.
All of these
None of these
Question 16
(TCO 6) Some excellent advice on minimizing connascence includes:
Minimize overall connascence by breaking the system into encapsulated elements.
Minimize any remaining communication that crosses encapsulation boundaries.
Maximize connascence within encapsulation boundaries.
All of these
None of these
Question 17
(TCO 7) There are cases where an explicit implementation modeling activity, performed by trained OO analyst/designers, might be very important.
If you intend to generate code directly from the model and if you are doing component based development (CBD) to reuse components.
If you are considered a packaged solution from a software vendor.
If you are re-developing an existing application for security reasons.
If the project is not based on OO principles
Question 18
(TCO 7) Which of the following is NOT a way data and information hiding and encapsulation improves construction and maintenance?
Data type changes isolate the change to a single class, and the entire program is not affected.
Adding additional details is isolated to a single class.
Programming to an interface makes the code more logical.
Coupling is increased
Question 19
(TCO 7) A node represents a type of:
database instance
computational resource
database tables
network router
Question 20
(TCO 7) The deployment diagram brings ________, _______ and ______ together to specify the physical architecture of the system
components, artifacts and nodes
hardware, software and nodes
components, software and nodes
hardware, software and artifacts
Question 21
(TCO 1) Briefly summarize the purpose of the design phase in SDLC. Explain why it exists and what it contributes to the completion of the system.
Question 22
(TCO 1) What are the three axioms of UP?
Question 23
(TCO 4) What is a sequence diagram used for? How do you read it? If a client sends a message to an architect object, called Get_Estimate(), which class would the Get_Estimate method be written in?
Question 24
(TCO 2) Distinguish between the Extend and Include relationships in use case diagrams. What does INCLUDE: VALIDATE CREDIT CARD mean in a use case description named PROCESS SALE? Show how to use it in the use case description normal flow section.
Question 25
(TCO 3) Define a structural model. Why should a systems analyst create one? What is class cohesion? Give an example of class cohesion. In your example, discuss attributes and operations.
Question 26
(TCO 3) Define the following terms: class, attribute, and operation. Give examples of each in a class.
Question 27
(TCO 5) In a communication diagram, a teacher object and course object are connected with a line. Above the line it states “CourseAttendance()” and it points to the course object from the teacher object. Another message on the line is “UpdateCreditHrsTaught()” and it points from the course object to the teacher object. Explain what this information means. Include in your answer which object is sending the messages to which object and which objects contain the methods.
Question 28
(TCO 6) Explain the concept of polymorphism. Give an example.
Question 29
(TCO 7) Explain what is meant by the implementation model.
Question 30
(TCO 8) Give an explanation and an example of an object that would be an excellent candidate to diagram in an object state diagram besides the ones in your course project or text. Give an explanation and example of an object that would be a poor candidate to diagram in an object state diagram. Justify your answers.
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteEdu. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
Do you need help with this question?
Get assignment help from WriteEdu.com Paper Writing Website and forget about your problems.
WriteEdu provides custom & cheap essay writing 100% original, plagiarism free essays, assignments & dissertations.
With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Chat with us today! We are always waiting to answer all your questions.