SDT final
Which symbol is used to represent Protected visibility in UML ?
#
Which of the following statements is the most correct? _________ .
A class diagram can show relationships between java interfaces and other classes.
Which of the following statements is the most correct? _________.
A class diagram supports analyzing behavior of complex protocols.
Which of the following statements is the most correct?
A component diagram shows all potential interactions among components in a view. A component diagram can show instances of classes.
Agile Processes
A family of software development methodologies that produce software in short iterations and allow for greater changes or design
The incremental model of software development is
A good approach when a working programs is required quickly
Which of the following statements is the most correct? __________ .
A sequence diagram is used to model a sequence of messages exchanged among objects.
In which of the following pattern an interface is responsible for creating a factory of related objects without explicitly specifying their classes?
Abstract factory pattern
Which of the following is not a valid type of message arrow in sequence diagram?
Activate Message
Which diagram is like a flow chart which shows the steps decision points and branches?
Activity diagram
Key elements of use-case diagrams are
Actor, use cases
Identify which of the following modeling elements is not associated with Use case diagrams
Aggregate relationship
In component diagrams, ports ARE / ARE NOT optional
Are
An opcode mnemonic
Assembly language instructions consist of
Activity diagram, use case diagram, collaboration diagram and sequence diagram are considered as types of
Behavioral diagrams
Three notations of UML are __________ .
Class diagrams, Sequence diagrams, Use Case diagrams
Kind of diagrams which are used to show interactions between series of messages are classified as
Collaboration diagram
The primary difference between component diagrams and sequence diagrams is
Component diagrams show all potential interactions among a group of components whereas sequence diagram shows the interactions involved in response to a particular kind of request
Which of the following pattern is used where we need to treat a group of objects in similar way as a single object?
Composition Pattern
A design pattern ______ .
Contains a description of other related patterns. Can be useful describing how a software problem was solved by a developer. Is a general reusable solution to a commonly occurring problem within a given context in software design. Gives examples of code that used the pattern.
Which of the following is correct list of classifications of design patterns
Creational, Structural and Behavioral patterns
If you need to show the physical relationship between software components and the hardware in the delivered systems, which diagram can you use?
Deployment diagram
Which diagram in UML is used to describe the physical components their distribution and association?
Deployment diagram
Which of the following is true of a Context Diagram? _________.
Describes how the software being created interacts with elements in its environment. Can be based on a use case diagram. Might show the Internet. Describes what is in and what is outside the scope of the software project.
Which of the following is(are) NOT well supported by the class diagram notation? ___________.
Discussing how the system will behave.
XP with reference to software development methodology is
Extreme programming
Which of the following pattern hides the complexities of the system and provides an interface to client using which the client can access the system?
Facade Pattern
All class diagrams created during design of a system should be maintained as part of the project documentation.
False
All design decisions should be made before coding begins
False
Functional testing tests against the specification
False
In an implementation of the singleton pattern, there is no constructor
False
DOES NOT, HIGHEST CUSTOMER VALUE FIRST, TWO-FOUR WEEKS
For the question below, circle the best choice for the sets of alternatives provided in the sentence The XP software development process DOES / DOES NOT include up front design. It prioritizes work according to RISKIEST FIRST / HIGHEST CUSTOMER VALUE FIRST. And, its iteration length is typically TWO-FOUR WEEKS / LEFT OPEN.
What is Gang of Four (GOF)?
Four authors of Book 'Design Patterns - Elements of Reusable Object-Oriented Software' are known as Gang of Four (GOF).
Which of the following are terms used when describing formal use cases? (Circle all that apply.)
Goal. Actor. Level. Primary actor.
What is an opcode?
Groups of instruction combined into words and abbreviations
The Open-Close Principle _________.
Helps ensure that objects are easy to extend without requiring change to the original object.
The Dependency Inversion Principle ______.
Helps ensure that objects are highly reusable.
The Single Responsibility Principle _________.
Helps make changing an object easier
Which of the following are the best questions(s) the risk-driven model helps developers answer?
How much software architecture should we do? Which techniques should we use in developing our project?
Which of the following describes the Command pattern correctly?
In this pattern a request is wrapped under an object as command and passed to invoker object
Which of the following describes the Abstract Factory pattern correctly?
In this pattern an interface is responsible for creating a factory of related objects without explicitly specifying their classes.
Which of the following describes the State pattern correctly?
In this pattern, a class behavior changes based on its state.
Which of the following describes the Strategy pattern correctly
In this pattern, a class behavior or its algorithm can be changed at run time
Which of the following describes the Strategy pattern correctly?
In this pattern, a class behavior or its algorithm can be changed at run time.
1960s
In which of the following periods ALGOL language was developed?
1960s
In which of the following periods COBOL language was developed?
1960s
In which of the following periods FORTRAN language was developed?
1960s
In which of the following periods the notion "software engineering" was introduced?
The spiral model of software development
Includes project risks evaluation during each iteration
UML has many great features but its use describing domain models should be restricted because ___
It is not a language known by most non-developers.
In class diagram, inside each class what is to be printed?
Its name, attributes and operations
Which of the following programming languages is the best suited to design pattern?
Java
Aggregation (encapsulation) relationship is represented in UML notation by
Line with hollow diamond at one end
In sequence diagrams, lifelines represent the activity of CLASSES / OBJECTS
OBJECTS
Pair programming
One of the key practices in XP which ensures that all production code is written with two programmers working at the same machine or facility. This is the revision step taken to the extreme. All code is always reviewed by at least one other person
In component diagrams, the lollipop-symbol is used to represent a PROVIDES / REQUIRES interface
PROVIDES
Which of the following states that there are 2 persons associated with a contact and there can be any number of contacts?
Person 2----------*Contact
Which of the following pattern refers to creating duplicate object while keeping performance in mind?
Prototype Pattern
A type of software Life Cycle Activity which involves saving tests from the previous version to ensure that the new version retains the previous capabilities
Regression testing
Which of the following follows the correct sequence in a waterfall model?
Requirements, Feasibility, Design, Implementation, Testing
Liskov's Substitution Principle _________.
Requires that methods that are present in base classes must also be present in the derived classes.
The Interface Segregation Principle _________.
Requires that object interfaces only include methods that will be needed by most implementers.
Subroutine
Reusable module is called
Which of the following diagrams is time oriented?
Sequence diagram
A scrum is actually a
Software process model which is agile in nature team pack in rugby where everyone in the pack act together to move the ball down the field
Which of the following are valid ways to avoid having a bad user interface? (Circle all that apply)
Speaks to experts who study user interfaces Build prototypes Talk to users
Which of the following is not a characteristic of scrum model of product development?
Stable requirements
Class diagram, component diagram, object diagram and deployment diagram are considered as types of
Structural diagrams
UML provides special notation for a subsystem element because
Subsystem elements and component elements are not substantially different so there is no need for them.
Software engineering
The term ___ was coined in 1968 as a response to the desolate state of the art developing quality software on time and within budget
A reasonable approach when requirements are well defined
The waterfall model of software development is
Which of the following is correct about Creational design patterns.
These design patterns provide a way to create objects while hiding the creation logic, rather than instantiating objects directly using new operator
Which of the following describes the Builder pattern correctly?
This pattern builds a complex object using simple objects and using a step by step approach.
Which of the following describes of the Observer pattern correctly?
This pattern is used when there is one-to-many relationship between objects such as if one object is modified, its dependent objects are to be notified automatically
Which of the following describes the Composite pattern correctly?
This pattern is used where we need to treat a group of objects in similar way as a single object.
Which of the following is correct about Singleton design pattern
This type of design pattern comes under creational patterns This pattern involves a single class which is responsible to create an object while making sure that only single objects gets created Singleton class provides a way to access its only object which can be accessed directly without need to instantiate the object of the class All of the above
Which of the following describes the Behavioral pattern correctly?
This type of pattern are specifically concerned with communication between objects.
Can we create a clone of a singleton object?
True
Class diagrams can be generated directly from code.
True
Component details in UML can be shown as text within a compartment of a component
True
Object in a set of DFDs have unique names
True
The process of creating class diagrams is a valuable activity during design.
True
Unit test should be written both before and after code is written
True
Which of the following is best describes UML? ___________.
UML is a combination of notations. UML supports modeling multiple views of software. UML has evolved over time.
Which of the following is most correct? ___________.
Unified Modeling Language
False
Upper-CASE Tools to support later activities such as programming, debugging and and testing
Match the following: used to model domain model, used to represent runtime model, used to represent code model
Use Case Diagram, Sequence Diagram, Class Diagram
False
Verification and validation is intended to show that a system conforms to its specification and meets the requirements of the system customer
In which of the following pattern, a visitor class is used which changes the executing algorithm of an element class?
Visitor pattern
Which of the following models follow a purely sequential approach?
Waterfall model
Which of the following are examples of traditional process models?
Waterfall, Incremental, Spiral
Which of the following is a non functional requirement of a web based application?
When the user clicks a "read me" link, the next page should be opened with 5 seconds
A context diagram
Which of the following clearly describes the scope of a software project?
We do not adequately understand our customer's needs
Which of the following is not a software engineering risk?
Class diagram
Which of the following is the best choice for creating code views?
Herman Hollerith
Who suggested to encode information on punch cards?
Claude Shannon
Who wrote a thesis "A Mathematical Theory of Communication" (in the Bell System Technical Journal -1948) on how binary logic could be used in computing?
A use case is _________.
a goal for actors the system interacts with
___________ enhances performance and functionality of the software after delivery
maintance
Which symbol is used to represent Package visibility in UML?
~