Oose Jugar
Oose Jugar
Oose Jugar
CHAPTER#1
a.
2 Which software quality view is related to the amount a customer is willing to pay?
a. Product view
b. Value-based view
c. Manufacturing view
d. Transcendental view
a.
a.
4 Which author wrote the first paper on object oriented design (OOD) with title
"Object-Oriented Design"?
a. Grady Booch
b. Craig Larman
c. Steve Mellor
d. Peter Coad
a.
5 Which of the following view best describe the software quality as that you can
recognize the quality but cannot define it?
a.
a.
a. Computer Engineering
b. Software Engineering
c. Computer Science
d. None
a.
a. Development
b. Software
c. Management
d. Hardware integration
3 The costs of software on a computer are not greater than the hardware cost False
9 UML started by Booch and Rumbaugh in 1994 by combining their two methods
Booch and OMT. True
10 Analysis and design can be summarized in the phrase "do the right thing
(analysis), and do the thing right (design)" True
14 Mechanism to create new objects (child objects) based on old ones (parent object)
is called polymorphism.
False
15 UML has been adopted by the majority of the industry as well as the standards
governing boards as ANSI and OMG. True
17 A
view in which you recognize software quality, but cannot define it is the
manufacturing view of software quality. False
22 The skills of accurate responsibilities assignment to objects does not matter in the
"rush to code" situation. False
10 InUnified prcess, the system grows incrementally over time, iteration by iteration,
and thus this approach is also known as iterative and incremental development
13 If
a software is providing cent percent conformance to specification then it is
the manufacturing view of software quality.
Answer:
Software scope is a well-defined boundary, which encompasses all the activities that are done
to develop and deliver the software product.
Answer:
Answer:
- Time Constraints
- Cost constraints
- Developing reusable components
- Developing scalable and distributable components
- Ethical issues
Answer:
Answer:
Computer Science covers theoretical and functional aspects of computer. When a customer
brings any problem to be solved through computer, then its the discipline of software
engineering that uses computer science theories and functions to provide solution through
tools and technologies.
Answer:
1 _____ combines a piece of information with the specific behavior that act upon that
information?
a. Information hiding
b. Polymorphism
c. Encapsulation
d. Inheritance
a.
a. Analysis
b. Design
c. Object Oriented Analysis
d. Object Oriented Design
a.
3 How many Industry known visual modeling notations we have in software
engineering?
a. Three
b. Two
c. Four
d. Five
a.
4 The ability to hide murky details of an object from the outside world is
a. Encapsulation
b. Information Hiding
c. Polymorphism
d. Inheritance
a.
a.
a.
a.
a. Conceptual, Specification
b. Specification, Implementation
c. Implementation
d. Conceptual, Specification and Implementation
a.
9 If Class A owns Class B e.g. Body consist of arm, head, legs etc. Then it is:
a. Aggregation
b. Encapsulation
c. Composition
d. Association
a.
10 The process of taking the information from the model and displaying it graphically
using some sort of standard set of graphical elements is called:
a. TDD
b. Data Modeling
c. Object Modeling
d. Visual Modeling
a.
11 If Class A uses Class B (Employee uses university bus for transportation) Then it
is:
a. Aggregation
b. Encapsulation
c. Composition
d. Association
a.
a. architecture-centric
b. features-centric
c. component-centric
d. None
a.
a. RUP
b. UML
c. OOA/D
d. None
a.
a. Encapsulation
b. Data Hiding
c. Multi Programming
d. Polymorphism
a.
a. Object
b. Interface
c. State
d. none
a.
16 Which of the following is the benefit of iterative and evolutionary development?
a.
17 Which of the following emphasize on defining domain objects and how they
collaborate to fulfills the requirements?
a. Analysis
b. Design
c. Object Oriented Analysis
d. Object Oriented Design
a.
18 Which of the following emphasize on finding and describing the objects or concepts
in the problem domain?
a. Analysis
b. Object Oriented Design
c. Object Oriented Analysis
d. Design
a.
a. Waterfall
b. Visual Modeling
c. Unified process
d. UML
a.
a.
21 Which
of the following is a most famous visual language for specifying and
documenting the artifacts of the system
a.
a. Quality Assurance
b. Software Maintenance
c. Software Deployment
d. Hardwares
a.
23 Which of the following strongly influences the robustness, maintainability and re-
usability of software components?
a.
5 Initerative development, each iteration has its own requirements analysis, design,
implementation, and testing activities True
10 UP is very flexible and open, and encourages including skillful practices True
11 Information Hiding is not the ability to hide murky details of an object from the
outside world. False
12 Aggregation is used when life of object is dependent of container object False
13 UML is simply a standard visual modeling language, knowing its details teach you
how to think in objects False
14 Inception phase define iteration plan only for first elaboration phase True
16 Agile
practices such as Agile Modeling are key to applying the UML in an effective
way. True
18 Requirement collection is the process of taking the information from the model
and displaying it graphically using some sort of standard set of graphical
elements. False
19 The
Unified Modeling Language is a visual language for specifying and
documenting the artifacts of the system True
6 Inheritance is the mechanism to create new objects (child objects) based on old
ones (parent object). New objects inherit the qualities of its old object
7 Information Hiding is the ability to hide murky details of an object from the
outside world
8 UML is a visual language for specifying and documenting the artifacts of the
system.
10 In waterfall life-cycle
process there is an attempt to define (in detail) all or most
of the requirements before programming.
12 In
Iterative, development is organized into a series of short, fixed-length (for
example, three-week) mini-projects called Iterations
13 Thesystem grows incrementally over time, iteration by iteration, and thus this
approach is also known as iterative and incremental development
15 The process of taking the information from the model and displaying it graphically
using some sort of standard set of graphical elements is called Visual Modeling.
18 Industry
known visual modeling standards for notations are Unified Modeling
Language, Booch and Object Modeling Technology
CHAPTER.3
Multiple Choice Questions for Agile Method and Unified Process
1 Inthe transition phase of UP process includes..
a. Beta Tests
b. Deployment
c. Both A & B
d. Identification of scope
a.
2 TheUP (unified process) project organises the work and iterations across_______
major phases
a. two
b. three
c. four
d. five
a.
3 Which of the following are the two key values in Agile Manifesto ?
a. Working software
b. Early proposals
c. Responding to change
d. Prototyping
a.
a. Eloboration
b. Inception
c. Constructuion
d. Transition
a.
a. Object Oriented
b. Structured
c. Data Oriented
d. None
a.
2 Deployment and beta tests are done in transition phase of Unified Process True
3 Tacklehigh-risk and high-value issues in early iterations is not a good practice in
UP. False
5 The
purpose of modeling and models is primarily to support understanding and
communication, not documentation True
Answer:
2 What are the phases of Unified Process, Briefly describe each one?
Answer:
UP project organizes the work and iterations across four major phases:
Answer:
Answer:
Answer:
Risk-Driven;
Identify and drive down the highest risks. Early iterations focus on building, testing,
and stabilizing the core architecture. For example risk of technology failure etc
Client-Driven;
Build visible features that the client cares most about. Client's interest is first
priority.
6 What are the key points in Agile Manifesto?
Answer:
• Working software
• Customer collaboration
• Responding to change
Answer:
Accepting change in requirement is one of the principle of Agile UP. We collect the
changed requirement then plan and implement that changes in next Iteration of
development process.
CHAPTER.4
Multiple Choice Questions for Design Patterns
1 A short statement that tells what the design pattern does is
a. Intent
b. Structure
c. Motivation
d. Applicability
a.
a. Loose coupling
b. Extending functionality by sub-classing
c. Dependence on object representations or implementations.
d. Dependence on specific operations
a.
3 Which category of designs pattern concern with the process of object creation?
a. Creational
b. Structural
c. Behaviour
d. All Of Above
a.
4 Life/ existence of the objects are independent of each other, But one object is
playing the role of Owner of the other object
a. Association
b. Aggregation
c. Composition
d. none of these
a.
a.
6 Which of the following category of design patterns characterizes the ways in which
classes or objects interact and distribute responsibility.
a. Creational
b. Behavioral
c. Structural
d. Hierarchical
a.
7 If a line points from a class to another class with an unfilled diamond then its:
a. Aggregation
b. Association
c. Composition
d. Inheritance
a.
a. inheritance
b. Association
c. Composition
d. Interface
a.
a. Interface
b. Association
c. Aggregation
d. Composition
a.
10 If a class A uses Class B for example Student uses University Bus for traveling is:
a. Dependency
b. Inheritance
c. Association
d. Composition
a.
11 Design patterns are valuable information, If they were undocumented then what
are its effect?
a.
12 What makes the system and its architecture becomes more simple, maintainable,
flexible and efficient
a. Code reuse
b. OOP Language
c. Design Patterns
d. None
a.
1 Encapsulation and Information hiding both cannot limit the effect of change. False
9 Design patterns identify, name and abstract common themes in object oriented
design True
11 You can solve the problem of Algorithmic dependency by using Abstract Factory
design pattern. False
12 Ifwe have inheritance then its hard to modify or extend the available
functions. False
13 Inheritance makes new implementation easy since most of the functionality is
already available. True
6 Design pattern names and makes explicit a higher-level structure which is not
directly supported by a Programming language.
7 Algorithms that are likely to change should be isolated.
14 Composition is good but the end/resulting system tend to have more objects.
20 A recurring solution to the problem of design is also known as Design pattern
Answer:
Advantages:
Disadvantages:
o Breaks encapsulation
o White box reuse
o Subclasses may have to be changed if the implementation of super class
changes
o Implementation inheritance from super classes cannot be changed at run
time.
2 Discuss design patterns categories with at least two examples in each category?
Answer:
Abstract Factory
Building
Factory Method
Prototype
Singleton
3 Briefly
describe these designing problems of object oriented systems: "Tight
coupling", "Extending functionality by subclassing" and "Inability to alter classes
conveniently".
Answer:
o Tight coupling. Classes that are tightly coupled are hard to reuse in isolation,
since they depend on each other. Tight coupling leads to monolithic systems,
where you can't change or remove a class without understanding and
changing many other classes. Loose coupling increases the probability that a
class can be reused by itself and that a system can be learned, ported,
modified, and extended more easily.
Design patterns: Abstract Factory, Bridge, Chain of
Responsibility, Command, Facade, Mediator, Observer.
o Extending functionality by subclassing. Subclassing has its disadvantages. We
should favor composition, but heavy use of object composition can make
designs harder to understand. Many design patterns produce designs in which
you can introduce customized functionality just by defining one subclass and
composing its instances with existing ones.
Design patterns: Bridge, Chain of Responsibility, Composite,
Decorator, Observer, Strategy.
o Inability to alter classes conveniently. Sometimes you have to modify a class
that can't be modified conveniently. Perhaps you need the source code and
don't have it (as may be the case with a commercial class library). Or maybe
any change would require modifying lots of existing subclasses. Design
patterns offer ways to modify classes in such circumstances.
Design patterns: Adapter, Decorator, Visitor.
Answer:
Answer:
o Subject
o Observer
o Concrete Subject
o Concrete observer
6 Define Aggregation?
Answer:
7 Define Association?
Answer:
Answer:
Good designers do not solve every problem from scratch.They reuse solutions.
Answer:
Answer:
Answer:
This principles enforces developers to develop software in such a way that the code
remains open for extension But closed for modification. If we allow adding new
modules and classes this will add scalability to our product, But if we allow
modification in existing code then we may broke the existing functionality.
Answer:
When you specify a particular operation, you commit to one way of satisfying a
request. By avoiding hard-coded requests, you make it easier to change the way a
request gets satisfied both at compile-time and at run-time.
13 Creating
an object by specifying a class explicitly is a designing problem. Justify
your answer with Yes Or No?
Answer:
Yes, Its a designing problem. Specifying a class name when you create an object
commits you to a particular implementation instead of a particular interface. This
commitment can complicate future changes in the class.
14 TheGoF's (Gange of Four scientist) design patterns rely on which OO Design
Principles?
Answer:
Answer:
Chapater.5
Multiple Choice Questions for Inception Phase and Requirements in UP
1 Which artifact has customized unified process steps and artifacts for the project?
a. Use Case Model
b. Vision and Business Case
c. Development Case
d. Feasibility Report
e. None
a.
a. Usability
b. Reliability
c. Performance
d. Supportability
a.
3 Which artifact have customized unified process steps and artifacts for the project.
a.
4 Which artifact of inception phase covers high level goals and constraints, business
cases, and executive summary?
a. Glossary
b. Use Case Model
c. Vision and Business Case
d. Iteration Plan
a.
5 Buy or build decision for the components of the system are made in which phase of
UP?
a. Inception
b. Elaboration
c. Construction
d. Transition
a.
6 Inception phase should have detailed use cases _____ %.
a. 10
b. 20
c. 50
d. 100
a.
a. functional requirment
b. major module
c. rough estimate
d. non functional requirment
a.
a. Elaboration
b. Inception
c. Transition
d. Construction
a.
a.
10 The ideal duration for iteration is _______ weeks according to unified process.
a. 1-6
b. 2-6
c. 3-8
d. 4-10
1 Move quickly to construction phase when you find that the project is feasible, worth
serious investigation in elaboration phase and you finalize that the project will be
definitely done. False
2 Requirements
are the capabilities and conditions to which the software under
development may or may not fulfills. False
8 All
use cases are not written in details for the first iteration during inception
phase. True
9 Inception phase has no business case or vision artifact. False
13 The major success factor of the Unified Process is that it embraces change in
requirements True
9 Inception phase of UP, establish common vision and basic scope of the project.
1 What are the phases of Unified Process, Briefly describe each one?
Answer:
UP project organizes the work and iterations across four major phases:
2 What is FURPS+?
Answer:
3 What is an itration?
Answer:
An iteration is a set period of time within a project in which you produce a stable, executable version of the product,
together with any other supporting documentation.Each iteration builds upon the results of previous iteration, and will
produce a product increment one step closer to the final product. Iterations are timeboxed, meaning the schedule for an
iteration should be regarded as fixed, and the scope of the iteration's content actively managed to meet that schedule.
4
Answer:
1. It is feasible.
2. Worth serious investigation in elaboration phase.
3. Finalized that the project will be definitely done.
Answer:
Answer:
7 Define Requirements?
Answer:
Requirements are capabilities and conditions to which the system must confirm.
Answer:
Answer:
Inception phase should be very brief. Its duration should not be more than one
week. Move quickly to elaboration iff:
1. It is feasible
2. Worth serious investigation in elaboration phase
3. Finalized that the project will be definitely done
Answer:
Its the first phase of Unified Process in which common vision and basic scope of the
project is established. It mainly includes:
1. 10% Use cases
2. Analysis of non-functional requirements
3. Creation of business cases
4. Development environment preparation
5. Feasibility is determined.
6. Buy or Build decision are made.
7. Rough cost range is estimated and
8. A final decision to proceed or stop is made.
Answer:
CHAPTER.6
Multiple Choice Questions for Use Cases
1 Which style writing use cases keep the user interface out and focus on actor intent
only?
a. Concrete
b. Essential
c. Terseuse
d. None
a.
2 Inwhich section of the fully dressed use case, we should add all conditional and
branching statements?
a.
3 Which format of use case is terse one-paragraph summary that focus on usually
the main success scenario.
a. Brief
b. Casual
c. Fully Dressed
d. None
a.
a. Primary
b. Supporting
c. Offstage
d. Organizational
a.
a. Writing text
b. Drawing diagrams
c. Preparing bluprints
d. None
a.
6 Which of the following is NOT correct for a use case?
a.
a. RAD
b. V-Shape
c. Waterfall
a.
a. System event
b. Scenario of system
c. Actor
d. FURPS+
a.
9 To ensure a use case is valid, which of the following test(s) are used?
a. Boss
b. Elementary Business Process
c. Size
d. All of above
a.
a.
11 Which of the following summarize the customization of unified process for the
project?
a. Development Case
b. Iteration Plan
c. Prototype and Proof of Concepts
d. None
a.
12 Which style of the use case focus on user’s intentions and is free of technology
details?
a. Concrete Style
b. Essential Style
c. Casual Style
d. None
a.
13 Something with behavior e.g. Person, Computer System, cashier etc is:
a. Scenario
b. Hardware Objects
c. Use Case
d. Actor
a.
14 Ause case that includes other use case(s), or that is extended or specialized by
another use case is called a:
a.
15 All steps and variations are written in detail in _____ format of the use case.
a. Brief
b. Casual
c. Fully Dressed
d. Any
a.
16 The_____ section of fully dressed use cases focus on "Who cares about this use
case and what do they want?"
a. Scope
b. Stakeholders and Interests
c. Exceptions
d. Level
a.
a. Offstage Actor
b. Supporting Actor
c. Primary Actor
d. All Of Above
e. None of Above
1 Concrete style of use cases focus on the user interface and do not focus on actor
intent. True
4 The Unified Process defines the Use-Case Model within the Requirements
discipline. True
5 UML use case diagram shows collection of related success and failure scenarios that
describe an actor using a system to support a single goal. False
6 Thecasual format of use case has informal paragraphs with focus of each
paragraph on specific scenario. True
7 Thebrief level use case format has informal paragraphs with focus of each
paragraph on specific scenario. False
9 Briefformat of use cases has informal paragraph format where multiple paragraphs
cover various scenarios False
10 An abstract use case is never instantiated by itself; it is a sub function use case
that is part of another use case. True
11 A concrete use case is initiated by an actor and performs the entire behavior
desired by the actor. True
15 Fullydressed Use cases covers one paragraph summary and cover mainly success
scenario False
1 An actor is
something with behavior, such as a person (identified by role),
computer system, or organization
2 use case is a set of related success and failure scenarios that describe an actor
using a system to support a goal.
4 Use case is a textual story for a specific goal of the primary actor that he want to
fulfill from the system.
5 A scenario is a sequence of actions and interaction between user and the system
6 Offstage actor has interest in the behavior of the use case e.g. Government Tax
Agency
9 Stake holder and interest list suggest and bound what the system do.
10 If
use case also describe how it is used by its customers and partners the with
broader scope they are called Business use cases .
12 Sub functionlevel describe the sub steps required to support a user goal.
Answer:
o UC Diagram
o US Cases (Brief,Casual.Fully dresssed)
o SSD ( System Sequence Diagram )
o Contract
Answer:
3 How to append to the use case without modifying its original text?
Answer:
4 Where we Factor out sub function use cases and use the include relationship?
Answer:
Factor out sub function use cases and use the include relationship when:
5 What are main points for precondition and success guarantees in use case?
Answer:
Answer:
o Scope
o Level
o Primary Actor
o Stakeholder and interest list
o Precondition and success guarantees (Post condition)
o Main Success Scenarios and Steps ( Basis flow )
o Extension or Alternative flow
o Special Requirements
o Technology and data variations
Answer:
Answer:
o Keep the user of the system involved in finalizing its requirements. Use cases
are based on the user interaction with system and facilitate it very well.
o Use cases are simple. Its story communicate the requirements with less
confusion and easy understanding among the stakeholders and development
team.
o Emphasize on the user goals and perspective by asking them about the
system users, scenarios and goals.
o Provides layers of sophistication e.g. novice use case, use case diagram, use
cases relationships and use case packages etc.
Answer:
Use Case:
Answer:
Actor: Something with behavior e.g. Person, Computer System, cashier etc.
Primary Actor
o Has user goals fulfilled through using services of the SuD e.g. Cashier
o This type of actor drives a use case
Supporting Actor
Offstage Actor
o This actor has interest in the behavior of the use case e.g. Government Tax
Agency
o These are identified to ensure that all necessary interests are identified and
satisfied.
Answer:
o Boss test : For example Login all the day and boss is not happy fails it
o Elementary Business Process Test: Focus on use cases that reflect
Elementary Business Process
o Size Test: Is a use case a single step?
CHAPTER.7
a.
a.
a. Suplimentary specification
b. Glossary
c. Vision
d. Software architecture document
a.
a. Glossary
b. Vision Statement
c. Supplementry
d. System Sequence Diagram
a.
a. uence Diagram
b. Use Case Diagram
c. Data flow Diagram
d. All of above
a.
a. Major
b. Minor
c. All risks
d. None of these
True/False Questions for Non Functional Requirements in UP
2 Choosing Bar code laser scanner for the user interaction may be categorize under
the section Hardware Interace of supplementary specifications.
4 Non- Functional Requirement__ are good but not mandatory for OOA/D .
Answer:
o Adaptability
o Configurability
o Implementation Constraints
o Purchased Components.
Answer:
o Reports
o Hardware and Software Constraints
o Development constraints
o Design and implementation constraints
o Internationalization Concerns
o Documentation, User manual, installation instruction etc.
o Licensing information
o Packaging
o Standards (coding standards, safety, quality etc)
o Physical Environment concerns
o Operational concerns (Error handling, backup activities)
o Application specific domain rules
Answer:
o Supplementary Specifications
o Glossary
o Business rules
o Vision
Chapter.8:
a.
2 Planning and project management organize requirements and iterations by
a. risk
b. coverage
c. ooa
d. a &b
a.
3 _______ Implies that all major parts of the system are at least touched once in
early iterations.
a. Criticality
b. Risk
c. Coverage
d. all of above
a.
a. UP
b. XP
c. Scrum
d. All Of Above
e.
a.
5 In elaboration, the core, risky software architecture is ____ and tested.
a. designed
b. programmed
c. defined
d. refined
a.
6 In _____ phase the majority of requirements are discovered and stabilized.
a. Inception
b. Elaboration
c. Construction
d. Transition
a.
a.
a.
a. 1-2
b. 2-5
c. 2-6
d. only one week
a.
1 TheData Model includes the database schemas, and the mapping strategies
between object and non-object representations. True
1 Design Model is the set of diagrams that describes the logical design. This
includes software class diagrams, object interaction diagrams, package diagrams,
and so forth
Answer:
Organize requirements and iterations by risk, coverage, and criticality. Risk includes
both technical complexity and other factors, such as uncertainty of effort or usability.
Coverage implies that all major parts of the system are at least touched on in early
iterationsperhaps a "wide and shallow" implementation across many components.
Criticality refers to functions the client considers of high business value
2
Answer:
1. Risk Include both technical complexity and other factors, such as ambiguities
about efforts and usability.
2. Coverage Implies that all major parts of the system are at least touched on in
early iterations.
3. Criticality Functions the client considers of high business value.
4. These criteria are used to rank work across iterations. Logging mechanism
ranking
5. Ranking is done before iteration-1
6. Ranking order could be changed at every new iteration
7. Ranking could be High, Medium and Low
Answer:
As per user.
Answer:
a.
a. Multiplicity expression
b. Name
c. Navigability
d. All of these
a.
a. Interface
b. Association
c. Aggregation
d. Composition
a.
a.
a.
6 In domain model, If A is a line item of transaction B (e.g. Sales line item – Sale).
Its a categorization approach to find which one of the following:
a. Attributes
b. Associations
c. Concepts
d. Category
a.
7 Whichartifact in the following lower the gap between software representation and
our mental model of the domain
a. Package diagram
b. Domain Model
c. System sequence diagram
d. Operation contract
a.
a. ER Diagram, Methods
c. SSD, package.
d. rough sketch, relation
a.
9 The total number of conceptual classes in a domain model are 50.how many
possible association can be drawn among these conceptual classes?
a. 1225
b. 1125
c. 1256
d. Infinite
a.
a.
a. Sale item
b. Line item
c. Product item
d. All of the above
a.
12 Which one of the following is the easiest approch of finding conceptual classes
a. Current itration
b. First tow itrations
c. Over all system
d. All of the above
a.
a. Concepts
b. Attributes
c. Association
d. All
a.
a. Domain Diagram
b. Object Model
c. Business Model
d. Conceptual Model
a.
a. Practically
b. Theoratically
c. Both
d. None
a.
2 Description class contains information that describe something else. i.e. Product
Description [price, picture, textual description of item] True
1 Domain Model lower the gap between software representation and our mental
model of the system
7 According
to UML notation Domain Model is represented with the help of Class
Diagram___ in starUML CASE tool.
1 Mentionat least five categories to find conceptual classes in domain model using
the categorization technique.
Answer:
2 Writethe names with example of at least seven categories through which we can
find concepts in domain model.
Answer:
Answer:
1. Keeping the bottom and right sides of the class boxes open to easily grow the
class on attributes
2. Maintain domain model in a tool
3. Report objects
Receipt
Help in return process
4. Think like a mapmaker
Use existing names in the territory
Exclude out of scope features
Do not add things that are not there
5. For unreal work listen carefully to the core vocabulary and concepts that are
used by the domain experts
Telecommunications
Avoid making attribute while it should be a conceptual class
6. If X is not a number or text in the real world then X could be conceptual class
not an attribute
7. Model with description classes
Description class contains information that describe something else.
i.e. Product Description [price, picture, textual description of item]
Answer:
Build the core architecture, resolve the high risk elements, define most
requirements and estimate the overall schedule and resources.
Answer:
b. enterItem(itemId)
c. recordItem(ItemId)
d. None
a.
2 A description of what a system does, without explaining how it does it is:
a. System Design
b. System State
c. System Behavior
d. None
a.
a.
4 Which diagram emphasis the events that cross the system boundary from actors to
system?
a. Domain Model
b. Use Case Diagram
c. Operation Contract
1 In unified process most of the SSDs are created during elaboration phase. True
2 In unified process, SSDs are NOT usually motivated in inception phase. True
4 Don'tcreate SSDs for all scenarios, unless you are using an estimation
technique. True
7 SSDs are derived from use cases and show multiple scenarios of a use case in one
diagram False
8 One objective of SSD is to illustrate input and output events related to the
systems True
2 SSDs diagram will be clearer if the name of a system event starts with a verb.
4 Software
system reacts to external events from actor, timer events and faults or
exceptions.
Answer:
SSD is a picture that shows, for one particular scenario of a use case, the events that
external actors generate, their order, and inter-system events.
The emphasis of the diagram is events that cross the system boundary from actors
to systems.
2 What are the objectives of the system sequence diagram?
Answer:
CHAPTER.11 OPERATION
b. Cross Reference
c. Preconditions
d. Postconditions
a.
2 Which section of operation contracts records the state changes in objects after
completion of the system operation.
a. Operation
b. Cross Reference
c. Preconditions
d. Postconditions
a.
a.
a. Instance creation
b. association formed/broken
c. Attributes changes
d. Operation logic/behavior
a.
5 If a new object X was created in a post condition then it will belong to which of the
following category?
a.
a.
7 Which of the following are the events or I/O messages relative to the system,
identified during sketching SSDs.
a. System interfaces
b. System events
c. Operation contract
d. All of the above
a.
8 Which section of operation contract describes the parameters details which are
utilized in the operation.
a. Contract ID
b. Operation
c. Pre Condition
d. Post Condition
a.
9 Which section of the operation contract describes the state of objects after
completion of the operation.
a. Operation
b. Pre-Condition
c. Post Condition
d. Cross References
a.
a. Class diagram
b. State diagram
c. Operation contracts
d. Interaction diagrams
a.
11 Which of the following are the prime inputs to the operation contracts?
a. Use Cases
b. Use Case Scenarios
c. System Operations
3 InInception phase of UP, Contracts are not motivated since they are too
detailed. True
4 If
developers easily understand what to do without operation contracts, then
operation contracts can be skipped True
5 Operation contracts are useful in situations where the details and complexity of
required state changes are awkward or too detailed to capture in use cases. True
6 Initerative and evolutionary methods, all analysis and design artifacts are
considered partial and imperfect, and evolve in response to new discoveries. True
7 UML operation specification can not show an algorithm or solution, but only the
state changes or effects of the operation True
11 If
object X establish a relationship with another object Y in a post condition of the
operation contract then it will belong to "Association formed or broken"
category. True
12 If
object X establish a relationship with another object Y in a post condition of the
operation contract then it will belong to "Attribute change State" category. False
13 Post
conditions are observations about the domain model objects that are true
when the operation has finished after the smoke has cleared. True
16 A single operation contract CANNOT have more than one operation contract. True
17 Asingle system operation of SSD can have more than one operation
contracts. False
18 Operation contracts are defined against the system operations which were
identified in system sequence diagrams. True
19 Noteworthy assumptions about the state of the system or objects is recorded in
pre-condition section of operation contract. True
21 InOperation Contract artifact the "Cross References" section describes the name
and parameters of the system operation. False
5 Initerative and evolutionary methods, all analysis and design artifacts are
considered partial and imperfect, and evolve in response to new discoveries.
6 OCL defines an official format for specifying pre- and postconditions for operations
7 Object Constraint Language (OCL) can be used to express constraints of UML
operations.
11 The entire set of system operations, across all use cases, defines the
public system interface, viewing the system as a single component or class.
Answer:
Create Contract
Writing Contracts
Answer:
3 Whatare the categories in which the post conditions of operation contract are
categorized?
Answer:
The post condition of an operation will belongs to one of the following category:
Answer:
o Contract ID: enterItem
o Operation: enterItem(itemID: ItemID, quantity: integer)
o Cross References: Use Cases: Process Sale
o Pre-Condition: There is a sale underway.
o Post Conditions:
A SalesLineItem (SLI) instance was created (instance creation).
SLI was associated with the current Sale (association formed).
SLI quantity became quantity (attribute modification).
SLI was associated with a ProductDescription, based on itemID match
(association formed).
Answer:
Answer:
Chapter .12
b. Later
c. Both a & b
d. None
a.
a. result of feedback
b. early programming
c. early testing
d. All of Above
a.
3 Which of the following clarify the purpose of the design work for every iteration:
b. discovery of specifications
c. Specifications
d. Coding Guidelines
a.
4 In iterative development which of the following provokes changes in early iteration?
a. Early programming
b. Embrace Change
c. Feedback
d. None of above
a.
2 By the end of elaboration phase, perhaps 80% of the requirements are reliably
defined.
4 According
to RUP requirements gathering is a systematic approach to finding,
documenting, organizing and tracking the changing requirements of a system
Answer:
Computer Aided Software Engineering (CASE) tools are used to perform both
automatically and synchronize the code with UML diagrams and vice versa.
2 List
some time consuming preparation activities when you shift from
requirements to design in early iteration?
Answer:
When analysis is complete and we start with design the following activities still need
attention:
Answer:
We should always provoke early change in software than at later stage to minimize
their fixing efforts and resources consumed at later iteration. Early change execution
can be done by:
Chapter.13
a.
a. Actors
b. Timer Events
c. Faults and Exceptions
d. None
a.
3 In domain model, If A is a line item of transaction B (e.g. Sales line item – Sale).
It’s a categorization approach to find which one of the following:
a. Attributes
b. Associations
c. Concepts
d. Category
a.
4 If a layer only calls upon the services of the layer directly below it then it is:
a.
5 The
large-scale organization of the software classes into packages (or
namespaces), subsystems, and layers is:
a. Sequence Diagram
b. Logical Architecture
c. Analysis Model
d. Partition
a.
6 If
packages in the top layer directly depends only on the packages below its layer
then it will be which style of layered architecture?
a. strict architecture
b. relaxed architecture
c. open architecture
d. None
a.
7 If a package have no nested packages then its name will be written on:
a.
a. Domain Model
b. System Sequnce Diagram
c. Package Diagram
d. Class Diagram
a.
1 The
package name is always placed on the tab even if the package not shows inner
members. False
Fill in Blanks Questions for Logical Architecture and UML Package Diagrams
1 Discuss the notations of UML package diagram with the help of a simple
diagram.
Answer:
Answer:
In a strict layered architecture, a layer only calls upon the services of the layer
directly below it. This design is common in network protocol stacks, but not in
information systems.
In relaxed layered architecture a higher layer calls upon several lower layers. For
example, the UI layer may call upon its directly subordinate application logic layer,
and also upon elements of a lower technical service layer, for logging and so forth.
3 Whatis logical architecture. Does this include any decisions about the
deployment of the software?
Answer:
The large-scale organization of the software classes into packages (or namespaces),
subsystems, and layers is called logical architecture.
No, In package diagram there are no decision about how these elements are
deployed across different operating system processes or across physical computers
in a network .
Answer:
The layers of an architecture are said to represent the vertical slices and support
separation of concenrs at larg scale. While Partitions represent a horizontal division
of relatively parallel subsystems of a layer.
Answer:
An architecture is:
Chapter.16
a.
2 Whichtype of modeling help in designing the logic, the behavior of the code or the
method bodies?
a. Static
b. Dynamic
c. Both a & b
d. None
a.
3 Which of the following helps in design the definition of packages, class names,
attributes, and method signatures (but not method bodies)
a. Dynamic models
b. Static Models
c. Both a & b
d. None
a.
a. high
b. low
c. medium
d. none
a.
a. Low Cohesive
b. Low Coupled
c. High Cohesive
d. High Coupled
a.
6 First covering dynamic modeling with interaction diagrams helps in identifying the
a.
7 Ways of developers design objects are:
a. Code.
b. Draw, then code.
c. Only draw.
d. Above all
a.
a. one object
b. one class
c. two or more objects
d. two or more classes
a.
6 Static
models help design the definition of packages, class names, attributes, and
method signatures. True
10 The most common static object modeling is with UML class diagrams True
12 The most common static object modeling is with UML interaction diagrams. False
13 Dynamicmodeling help in designing the logic, the behavior of the code or the
method bodies True
14 Static
modeling help in designing the logic, the behavior of the code or the method
bodies False
Fill in Blanks Questions for Object Designing
3 During
dynamic modeling that we apply responsibility-driven design and
the GRASP principles.
4 Dynamic models help to design the logic, the behavior of the code or the method
bodies.
Answer:
Low cohesive objects suffer from the following problems: hard to comprehend hard
to reuse hard to maintain delicate; constantly affected by change Low cohesion
classes often represent a very "large grain" of abstraction or have taken on
responsibilities that should have been delegated to other objects.
Answer:
Doing responsibilities of an object includes:
Chap 14
Multiple Choice Questions for Logical Architecture and UML Package
Diagrams
a.
a. Actors
b. Timer Events
c. Faults and Exceptions
d. None
a.
a.
o 4 Ifa layer only calls upon the services of the layer directly below it
then it is:
a.
a. Sequence Diagram
b. Logical Architecture
c. Analysis Model
d. Partition
a.
a. strict architecture
b. relaxed architecture
c. open architecture
d. None
a.
o 7 Ifa package have no nested packages then its name will be
written on:
a.
a. Domain Model
b. System Sequnce Diagram
c. Package Diagram
d. Class Diagram
a.
1 Thepackage name is always placed on the tab even if the package not
shows inner members. False
Fill in Blanks Questions for Logical Architecture and UML Package Diagrams
Answer
Image to be added soon from text book figure 13.3
Answer
In a strict layered architecture, a layer only calls upon the services of
the layer directly below it. This design is common in network protocol
stacks, but not in information systems.
3 Whatis logical architecture. Does this include any decisions about the
deployment of the software?
Answer
The large-scale organization of the software classes into packages (or
namespaces), subsystems, and layers is called logical architecture.
No, In package diagram there are no decision about how these elements
are deployed across different operating system processes or across
physical computers in a network .
Answer
The layers of an architecture are said to represent the vertical slices and
support separation of concenrs at larg scale. While Partitions represent a
horizontal division of relatively parallel subsystems of a layer.
5 What is Software Architecture?
Answer
An architecture is:
1 Which style writing use cases keep the user interface out and focus on
actor intent only?
a. Concrete
b. Essential
c. Terse
d. None
a.
o 2 Inwhich section of the fully dressed use case, we should add all
conditional and branching statements?
a.
o 3 Which format of use case is terse one-paragraph summary that
focus on usually the main success scenario.
a. Brief
b. Casual
c. Fully Dressed
d. None
a.
a. Primary
b. Supporting
c. Offstage
d. Organizational
a.
a. Writing text
b. Drawing diagrams
c. Preparing bluprints
d. None
a.
a.
o 7 According to a survey conducted in 1982 ___________ model
caused a failure of 82% project due to ceased requirements.
a. RAD
b. V-Shape
c. Waterfall
a. View Answer
a. System event
b. Scenario of system
c. Actor
d. FURPS+
a.
a. Boss
b. Elementary Business Process
c. Size
d. All of above
a.
a. level
b. scope
c. actor
d. none
a.
o 11 Which of the following summarize the customization of unified
process for the project?
a. Development Case
b. Iteration Plan
c. Prototype and Proof of Concepts
d. None
a.
o 12 Which style of the use case focus on user’s intentions and is free
of technology details?
a. Concrete Style
b. Essential Style
c. Casual Style
d. None
a.
a. Scenario
b. Hardware Objects
c. Use Case
d. Actor
a.
a.
o 15 Allsteps and variations are written in detail in _____ format of
the use case.
a. Brief
b. Casual
c. Fully Dressed
d. Any
a.
a. Scope
b. Stakeholders and Interests
c. Exceptions
d. Level
a.
a. Offstage Actor
b. Supporting Actor
c. Primary Actor
d. All Of Above
e. None of Above
1 Concrete style of use cases focus on the user interface and do not focus
on actor intent. True
5 UML use case diagram shows collection of related success and failure
scenarios that describe an actor using a system to support a single
goal. False
6 The casual format of use case has informal paragraphs with focus of
each paragraph on specific scenario. True
7 The brief level use case format has informal paragraphs with focus of
each paragraph on specific scenario. False
9 Brief
format of use cases has informal paragraph format where multiple
paragraphs cover various scenarios False
13 Sub function level describe the sub steps required to support a user
goal. True
2 use case is a set of related success and failure scenarios that describe
an actor using a system to support a goal.
4 Usecase is a textual story for a specific goal of the primary actor that
he want to fulfill from the system.
9 Stake holder and interest list suggest and bound what the system
do.
10 Ifuse case also describe how it is used by its customers and partners
the with broader scope they are called Business use cases .