SDP5 - Final [Part 2]

Description

SDP5 Quiz on SDP5 - Final [Part 2], created by Almat Tazhikenov on 25/03/2019.
Almat Tazhikenov
Quiz by Almat Tazhikenov , updated more than 1 year ago More Less
Good Guy Beket
Created by Good Guy Beket almost 7 years ago
Almat Tazhikenov
Copied by Almat Tazhikenov over 5 years ago
3
0

Resource summary

Question 1

Question
If you need to show the physical relationship between software components and the hardware in the delivered systems, which diagram can you use?
Answer
  • Component diagram
  • Deployment diagram
  • Class diagram
  • Network diagram

Question 2

Question
Which diagram in UML is used to describe the physical components their distribution and association?
Answer
  • Component diagram
  • Deployment diagram
  • Class diagram
  • Object diagram

Question 3

Question
Aggregation (encapsulation) relationship is represented in UML notation by
Answer
  • Line with solid diamond at one end
  • Line with hollow diamond at one end
  • Line with an arrow at one end
  • Line without an arrow

Question 4

Question
In class diagram, inside each class what is to be printed?
Answer
  • Its name, attributes, operations and derived class
  • Its name, attributes and operations
  • Its name and operations
  • Its name and attributes

Question 5

Question
Key elements of use-case diagrams are
Answer
  • People, computer
  • Actor, use cases
  • People, classes and objects
  • None of them

Question 6

Question
Which of the following describes the Strategy pattern correctly
Answer
  • In this pattern, a class behavior changes based on its state
  • In this pattern, a null object replaces check of NULL object instance
  • In this pattern, a class behavior or its algorithm can be changed at run time
  • In this pattern, an abstract class exposes defined way(s)/template(s) to execute its method

Question 7

Question
Which of the following pattern refers to creating duplicate object while keeping performance in mind?
Answer
  • Builder Pattern
  • Bridge Pattern
  • Prototype Pattern
  • Composite Pattern

Question 8

Question
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?
Answer
  • Composite Pattern
  • Facade Pattern
  • Adapter Pattern
  • Decorator Pattern

Question 9

Question
In which of the following pattern an interface is responsible for creating a factory of related objects without explicitly specifying their classes?
Answer
  • Factory pattern
  • Abstract factory pattern
  • Singleton Pattern
  • Builder Pattern

Question 10

Question
Which of the following is correct about Creational design patterns?
Answer
  • These design patterns are specifically concerned with communication between objects.
  • These design patterns provide a way to create objects while hiding the creation logic, rather than instantiating objects directly using new operator.
  • These design patterns concern class and object composition. Concept of inheritance is used to compose interface and define ways to compose objects to obtain new functionalities.
  • None of the above.

Question 11

Question
Which of the following describes of the Observer pattern correctly?
Answer
  • This pattern is used to get a way to access the elements of collection object in sequential manner without any need to know its underlying representation
  • This pattern is used to reduce communication complexity between multiple objects or classes
  • This pattern is used to restore state of an object to a previous state
  • 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

Question 12

Question
Which of the following describes the Builder pattern correctly?
Answer
  • This pattern builds a complex object using simple objects and using a step by step approach.
  • This pattern refers to creating duplicate object while keeping performance in mind.
  • This pattern is used when creation of object directly is costly.
  • This pattern is used when we need to decouple an abstraction from its implementation so that the two can vary independently

Question 13

Question
Which of the following pattern is used where we need to treat a group of objects in similar way as a single object?
Answer
  • Composition Pattern
  • Facade Pattern
  • Adapter Pattern
  • Builder Pattern

Question 14

Question
Can we create a clone of a singleton object?
Answer
  • True
  • False

Question 15

Question
Which of the following describes the Behavioral pattern correctly?
Answer
  • This type of patterns provide a way to create objects while hiding the creation logic rather than instantiating objects directly using new operator
  • This type of patterns concern class and object composition. Concept of inheritance is used to compose interface and define ways to compose objects to obtain new functionalities.
  • This type of pattern are specifically concerned with communication between objects.
  • This type of pattern are specifically concerned with the presentation tier.

Question 16

Question
Which of the following is correct about Singleton design pattern?
Answer
  • 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

Question 17

Question
Which of the following describes the State pattern correctly?
Answer
  • In this pattern, a class behavior changes based on its state.
  • In this pattern, a null object replaces check of NULL object instance.
  • In this pattern, a class behavior or its algorithm can be changed at run time.
  • In this pattern, an abstract class exposes defined way(s)/template(s) to execute its methods.

Question 18

Question
In which of the following pattern, a visitor class is used which changes the executing algorithm of an element class?
Answer
  • Visitor pattern
  • MVC pattern
  • Business delegate pattern
  • Composite entity pattern

Question 19

Question
Which of the following describes the Strategy pattern correctly?
Answer
  • In this pattern, a class behavior changes based on its state.
  • In this pattern, a null object replaces check of NULL object instance.
  • In this pattern, a class behavior or its algorithm can be changed at run time.
  • In this pattern, an abstract class exposes defined way(s)/template(s) to execute its methods.

Question 20

Question
Which of the following programming languages is the best suited to design pattern?
Answer
  • Java
  • C
  • Cobol
  • HTML

Question 21

Question
Which of the following is not a valid type of message arrow in sequence diagram?
Answer
  • Synchronous Message
  • Asynchronous Message
  • Return Message
  • Activate Message

Question 22

Question
Identify which of the following modeling elements is not associated with Use case diagrams
Answer
  • Actor
  • Include relationship
  • Extend relationship
  • Aggregate relationship

Question 23

Question
Which of the following is not a characteristic of scrum model of product development?
Answer
  • Incremental development
  • Agile nature
  • Stable requirements
  • Time-boxedscheduling

Question 24

Question
XP with reference to software development methodology is:
Answer
  • Extreme programming
  • Excellent programming
  • Extreme processing
  • Excellent processing

Question 25

Question
Which of the following is a non functional requirement of a web based application?
Answer
  • When the user clicks a “read me” link, the color of the link should change from blue to pink
  • When the user clicks a “read me” link, the next page should be opened with 5 seconds
  • When the user clicks a “read me” link, the mouse over should show the target page title in a tool tip
  • When the user clicks a “read me” link, the read me page should load successfully without errors

Question 26

Question
A scrum is actually a
Answer
  • 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
  • Both a and b
  • None of the above

Question 27

Question
___________ enhances performance and functionality of the software after delivery
Answer
  • re-design
  • re-engineering
  • post checking
  • maintance

Question 28

Question
Which of the following models follow a purely sequential approach?
Answer
  • Waterfall model
  • Spiral model
  • Iterative model
  • Incremental model

Question 29

Question
Class diagram, component diagram, object diagram and deployment diagram are considered as types of
Answer
  • Structural diagrams
  • Behavioral diagrams
  • Non-behavioral diagrams
  • Non-structural diagrams

Question 30

Question
Activity diagram, use case diagram, collaboration diagram and sequence diagram are considered as types of :
Answer
  • Structural diagrams
  • Behavioral diagrams
  • Non-behavioral diagrams
  • Non-structural diagrams

Question 31

Question
Kind of diagrams which are used to show interactions between series of messages are classified as
Answer
  • Activity diagram
  • Sequence diagram
  • Collaboration diagram
  • All of them

Question 32

Question
Which of the following diagrams is time oriented?
Answer
  • Activity diagram
  • Sequence diagram
  • Collaboration diagram
  • State chart diagram

Question 33

Question
Which symbol is used to represent Protected visibility in UML ?
Answer
  • +
  • _
  • @
  • ~
  • #

Question 34

Question
Which symbol is used to represent Package visibility in UML?
Answer
  • +
  • @
  • ~
  • #

Question 35

Question
Which diagram is like a flow chart which shows the steps decision points and branches?
Answer
  • Activity diagram
  • Sequence diagram
  • Collaboration diagram
  • State chart diagram
  • Communication diagram

Question 36

Question
Object in a set of DFDs have unique names
Answer
  • True
  • False

Question 37

Question
A...is represented graphically by an arrow into or out of a process
Answer
  • Process
  • Entity
  • Level
  • Flow

Question 38

Question
Data flow diagrams that ‘youtube’ on the movement of data between processes are referred to as:
Answer
  • process models
  • data models
  • flow models
  • flow charts

Question 39

Question
Calculating an employee’s salary is represented on a data flow diagram as a:
Answer
  • data flow
  • source
  • data store
  • process

Question 40

Question
An arrow on a data flow diagram represents a:
Answer
  • data store
  • dataflow
  • process
  • source/sink

Question 41

Question
Which of the following is not true statement regarding data flows?
Answer
  • A fork in a data flow means that exa
  • source
  • data store
  • process

Question 42

Question
In a data flow diagram, a data flow that consist of other data glows is a(an) :
Answer
  • Compound flow
  • Composite flow
  • Control flow
  • Complex flow

Question 43

Question
Which of the following is a true about IDEF0 diagram?
Answer
  • Slides of the box: right - input, left - output, up - controls, down - mechanisms
  • Slides of the box: right -controls, left -mechanisms, up - input, down - output
  • Slides of the box: right -controls, left - output, up - input, down - mechanisms
  • Slides of the box: right - input, left - output, up - mechanisms, down - controls

Question 44

Question
A data flow diagram:
Answer
  • is a process model
  • depicts the flow of data through a system
  • uses rounded rectangles to represent processes
  • depicts the processing performed by the system

Question 45

Question
Agile is:
Answer
  • Sequential
  • Iterative
  • Incremental
  • Both Iterative & Incremental
  • Both Iterative & Sequential
  • All of them

Question 46

Question
What is/are advantages of Agile testing?
Answer
  • Saves time
  • Requires less planning and creates less documantation
  • Regular feedback from end users
  • Solves issue in advance by daily meeting
  • All the term

Question 47

Question
When acceptance testing is performed in Agile development?
Answer
  • On request of customer
  • After system is ready
  • At the end of each iteration
  • Daily

Question 48

Question
Who is responsible for sprint meeting?
Answer
  • Product owner
  • Scrum team
  • Scrum master
  • Users

Question 49

Question
Who is prioritized product backlog?
Answer
  • Product owner
  • Scrum team
  • Scrum master
  • All of them

Question 50

Question
Arrange following scrum practice according to the order in which they are carried out. 1. Sprint planning 2. Daily scrum meet 3. Sprint retrospective meet 4. Sprint review meet 5. Sprint
Answer
  • 1,5,2,3,4
  • 1,5,2,4,3
  • 1,2,5,4,3
  • 1,3,2,4,5

Question 51

Question
… are people who are accountable for the project success.
Answer
  • Chickens
  • Release people
  • Hen
  • Pigs

Question 52

Question
What is the order in which test levels are performed?
Answer
  • Unit, Integration, System, Acceptance
  • Unit, System, Integration, Acceptance
  • Unit, Integration, Acceptance, System
  • It depends on nature of a project.

Question 53

Question
Which testing is concerned with behaviour of whole product as per specified requirements?
Answer
  • Acceptance testing
  • Component testing
  • System testing
  • Integration testing

Question 54

Question
System testing is a
Answer
  • Black box testing
  • White box testing
  • Grey box testing
  • Both a and b

Question 55

Question
Integrated testing is a
Answer
  • Black box testing
  • White box testing
  • Grey box testing
  • Both Black and White
  • Both Grey and White
  • None of them

Question 56

Question
Unit testing is a
Answer
  • Black box testing
  • White box testing
  • Grey box testing
  • Both a and b

Question 57

Question
System architecture is determined during which phase?
Answer
  • requirement gathering
  • implementation
  • development
  • design

Question 58

Question
Verifying that whether software components are functioning correctly and identifying the defects in them is objective of which level of testing
Answer
  • Integration testing
  • Acceptance testing
  • Unit testing
  • System testing

Question 59

Question
Standard phases (requirements, design, code, test) in order to choose the most appropriate model
Answer
  • Waterfall
  • Code and fix
  • Iterative
  • Spiral

Question 60

Question
Write some code, debug it, repeat - choose the most appropriate model
Answer
  • Waterfall
  • Code and fix
  • Iterative
  • Spiral
Show full summary Hide full summary

Similar

SDP5 - Final [Part 2]
Aidos Baktaev
SDP5 — [STATE EXAM | Part #2]
Good Guy Beket
SDP5 - Final [Part 2]
Csse 1502