SDP5 - Final [Part-1]

Description

Advanced SDP5 (Software Development Tools) [ Teacher: Yunnikova Marina; Final Exam Full 1 + 2 parts ; INCLUDING STATE EXAM QUESTIONS] ▼ (Final Exam Prep) Quiz on SDP5 - Final [Part-1], created by Good Guy Beket on 02/12/2017.
Good Guy Beket
Quiz by Good Guy Beket, updated more than 1 year ago
Good Guy Beket
Created by Good Guy Beket over 6 years ago
1399
12

Resource summary

Question 1

Question
The term _____ was coined in 1968 as a response to the desolate state of the art developing quality software on time and within budget
Answer
  • Opcode
  • Software engineering
  • Scrum
  • Software Development Models

Question 2

Question
Reusable module is called:
Answer
  • Opcode
  • Subroutine
  • Machine code
  • Hexadecimal code

Question 3

Question
Assembly language instructions consist of:
Answer
  • A string of 0s and 1s
  • A hexadecimal code
  • An opcode mnemonic
  • A decimal code

Question 4

Question
In which of the following periods FORTRAN language was developed?
Answer
  • 1940s
  • 1950s
  • 1960s
  • 1970s

Question 5

Question
In which of the following periods the notion “software engineering” was introduced?
Answer
  • 1940s
  • 1960s
  • 1950s
  • 1970s

Question 6

Question
What is an opcode?
Answer
  • A string of 0s and 1s
  • Groups of instruction combined into words and abbreviations
  • A mathematical formula
  • A logical formula

Question 7

Question
In which of the following periods COBOL language was developed?
Answer
  • 1940s
  • 1950s
  • 1960s
  • 1970s

Question 8

Question
Which of the following clearly describes the scope of a software project?
Answer
  • An internals diagram
  • A context diagram
  • A sequence diagram
  • A functionality scenario

Question 9

Question
Who suggested to encode information on punch cards?
Answer
  • Herman Hollerith
  • Charles Babbage
  • Claude Shannon
  • John Von Neumann

Question 10

Question
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?
Answer
  • Charles Babbage
  • George Boole
  • Claude Shannon
  • John Von Neumann

Question 11

Question
In which of the following periods ALGOL language was developed?
Answer
  • 1940s
  • 1950s
  • 1960s
  • 1970s

Question 12

Question
A use case is _________.
Answer
  • a decision not to modify the system
  • a process that will run as part of the system
  • an argument that drives system design
  • a goal for actors the system interacts with
  • a diagram that shows what the system does

Question 13

Question
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.
Answer
  • DOES, RISKIEST FIRST, TWO-FOUR WEEKS
  • DOES NOT, RISKIEST FIRST, LEFT OPEN
  • DOES, HIGHEST CUSTOMER VALUE FIRST, TWO-FOUR WEEKS
  • DOES NOT, HIGHEST CUSTOMER VALUE FIRST, TWO-FOUR WEEKS

Question 14

Question
Which of the following is the best choice for creating code views?
Answer
  • Sequence diagram
  • Component diagram
  • Activity diagram
  • Class diagram
  • None of the above

Question 15

Question
Which of the following is not a software engineering risk?
Answer
  • The server may not scale to 1000 users
  • The code for the sort algorithm is overly complex
  • We do not adequately understand our customer’s needs
  • The system is working fine, but if we try to change anything it seems to always break something else

Question 16

Question
Upper-CASE Tools to support later activities such as programming, debugging and and testing
Answer
  • True
  • False

Question 17

Question
Verification and validation is intended to show that a system conforms to its specification and meets the requirements of the system customer
Answer
  • True
  • False

Question 18

Question
In component diagrams, ports ARE / ARE NOT optional.
Answer
  • Are
  • Are NOT

Question 19

Question
In component diagrams, the lollipop-symbol is used to represent a PROVIDES / REQUIRES interface
Answer
  • PROVIDES
  • REQUIRES

Question 20

Question
In sequence diagrams, lifelines represent the activity of CLASSES / OBJECTS
Answer
  • CLASSES
  • OBJECTS

Question 21

Question
Unit test should be written both before and after code is written:
Answer
  • True
  • False

Question 22

Question
Functional testing tests against the specification:
Answer
  • True
  • False

Question 23

Question
Which of the following are valid ways to avoid having a bad user interface? (Circle all that apply)
Answer
  • Speaks to experts who study user interfaces; Build prototypes; Talk to users;
  • Limit the functionality the users can customize to minimize the interface
  • Make sure the back end of the system works pretty well before presenting the user with the interface to avoid confusing the users with bugs and getting bad interface advice

Question 24

Question
Match the following: used to model domain model, used to represent runtime model, used to represent code model :
Answer
  • Class Diagram, Sequence Diagram, Component Diagram
  • Class Diagram, Collaboration Diagram, Use Case Diagram
  • Use Case Diagram, Sequence Diagram, Class Diagram
  • Use Case Diagram, Sequence Diagram, Deployment Diagram

Question 25

Question
Which of the following are the best questions(s) the risk-driven model helps developers answer? What is most important to the customer? When are we done with the project? How much software architecture should we do? What programming language should we do? Which techniques should we use in developing our project?
Answer
  • Both a and b
  • Both b and c
  • Both c and e

Question 26

Question
Which of the following statements is the most correct? __________ .
Answer
  • A sequence diagram is used to model a sequence of activities associated with a use case.
  • A sequence diagram is used to model a sequence of messages exchanged among objects.
  • A sequence diagram is used to model a sequence of transitions among objects in a use case.

Question 27

Question
Which of the following is most correct? ___________.
Answer
  • United Models for Languages
  • Universal Modeling Language
  • Unified Modeling Language
  • United Modeling Language

Question 28

Question
Which of the following is best describes UML? ___________.
Answer
  • UML is a combination of notations. UML supports modeling multiple views of software. UML has evolved over time.
  • UML was created by the OMG

Question 29

Question
Three notations of UML are __________ .
Answer
  • Activity diagrams, Component diagrams, Construction diagrams
  • Component diagrams, Action diagrams, Sequence diagrams
  • Class diagrams, ER diagrams, Action diagrams
  • Canonical diagrams, Activity diagrams, Sequence diagrams
  • Class diagrams, Sequence diagrams, Use Case diagrams

Question 30

Question
Which of the following is not a UML diagram? ____________.

Question 31

Question
The Dependency Inversion Principle ______.
Answer
  • Helps ensure that objects are highly reusable.
  • Requires that methods that are present in base classes must also be present in the derived classes.
  • Helps ensure that objects are easy to extend without requiring change to the original object.
  • Requires that object interfaces only include methods that will be needed by most implementers.
  • Helps make changing an object easier

Question 32

Question
The Open-Close Principle _________.
Answer
  • Helps ensure that objects are highly reusable.
  • Requires that methods that are present in base classes must also be present in the derived classes
  • Helps ensure that objects are easy to extend without requiring change to the original object.
  • Requires that object interfaces only include methods that will be needed by most implementers.
  • Helps make changing an object easier

Question 33

Question
Liskov’s Substitution Principle _________.
Answer
  • Helps ensure that objects are highly reusable.
  • Requires that methods that are present in base classes must also be present in the derived classes.
  • Helps ensure that objects are easy to extend without requiring change to the original object.
  • Requires that object interfaces only include methods that will be needed by most implementers.
  • Helps make changing an object easier

Question 34

Question
The Single Responsibility Principle _________.
Answer
  • Helps ensure that objects are highly reusable.
  • Requires that methods that are present in base classes must also be present in the derived classes.
  • Helps ensure that objects are easy to extend without requiring change to the original object.
  • Requires that object interfaces only include methods that will be needed by most implementers.
  • Helps make changing an object easier

Question 35

Question
The Interface Segregation Principle _________.
Answer
  • Helps ensure that objects are highly reusable.
  • Requires that methods that are present in base classes must also be present in the derived classes.
  • Helps ensure that objects are easy to extend without requiring change to the original object.
  • Requires that object interfaces only include methods that will be needed by most implementers.
  • Helps make changing an object easier

Question 36

Question
All design decisions should be made before coding begins :
Answer
  • True
  • False

Question 37

Question
UML has many great features but its use describing domain models should be restricted because ___
Answer
  • It takes too long to create the diagrams.
  • Good UML tools are too expensive.
  • It is not a language known by most non-developers.
  • Its use is incompatible with the goals of domain modeling.
  • The diagrams require you to include too much detail.

Question 38

Question
Which of the following states that there are 2 persons associated with a contact and there can be any number of contacts?
Answer
  • Person 1.2---------Contact
  • Person *--------1.2Contact
  • Person 2----------*Contact
  • Person *----------2Contact

Question 39

Question
Which of the following is true of a Context Diagram? _________.
Answer
  • 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.
  • All of a-d

Question 40

Question
The primary difference between component diagrams and sequence diagrams is
Answer
  • 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
  • There is very difference, they are just two different ways of viewing component
  • In component diagram the components use a rectangular shape with the component icon in the upper right corner but no component icon appears in sequence diagram
  • Component diagram represent the code whereas sequence diagram represent behavior

Question 41

Question
UML provides special notation for a subsystem element because
Answer
  • Subsystem elements have critical differences from components, which must be represented.
  • Subsystem elements and component elements are not substantially different so there is no need for them.
  • Component elements have important aspects that are not representable using the provided subsystem element notation.
  • Both a and c
  • None of the above

Question 42

Question
Component details in UML can be shown as text within a compartment of a component
Answer
  • True
  • False

Question 43

Question
Which of the following statements is the most correct?
Answer
  • A component diagram shows a configuration of the system at a given moment.
  • A component diagram shows all potential interactions among components in a view.
  • A component diagram can show instances of classes.
  • Both a and b
  • Both b and c

Question 44

Question
Which of the following statements is the most correct? _________ .
Answer
  • A class diagram shows a configuration of the system at a given moment.
  • A class diagram shows all potential interactions among components in a view.
  • A class diagram can show relationships between java interfaces and other classes.
  • Both a and b.
  • Both b and c.

Question 45

Question
Which of the following statements is the most correct? _________.
Answer
  • A class diagram for a module always has three components.
  • A class diagram shows relationships among code units.
  • A class diagram supports analyzing behavior of complex protocols.
  • Lollipop symbol is used to represent provides interfaces.
  • Socket symbol is used to represent provides interfaces.
  • Class and components diagrams are always very similar.

Question 46

Question
Which of the following is(are) NOT well supported by the class diagram notation? ___________.
Answer
  • Identifying public and private members of a class.
  • Identifying which classes depend on other classes.
  • Discussing how the system will behave.
  • Discussing how to add newly required functionality to the system.
  • Both a and d

Question 47

Question
Class diagrams can be generated directly from code.
Answer
  • True
  • False

Question 48

Question
The process of creating class diagrams is a valuable activity during design.
Answer
  • True
  • False

Question 49

Question
All class diagrams created during design of a system should be maintained as part of the project documentation.
Answer
  • True
  • False

Question 50

Question
A design pattern ______ .
Answer
  • 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.
  • Both a and c.
  • All of a-d.

Question 51

Question
What is Gang of Four (GOF)?
Answer
  • Four authors of Book ‘Design Patterns - Elements of Reusable Object-Oriented Software’ are known as Gang of Four (GOF).
  • Gang of Four (GOF) is a name of a book on Design Patterns.
  • Gang of Four (GOF) is a Design Pattern.
  • None of the above.

Question 52

Question
Which of the following describes the Abstract Factory pattern correctly?
Answer
  • This pattern creates object without exposing the creation logic to the client and refer to newly created object using a common interface.
  • In this pattern an interface is responsible for creating a factory of related objects without explicitly specifying their classes.
  • This pattern involves a single class which is responsible to create an object while making sure that only single object gets created.
  • This pattern is used when we want to pass data with multiple attributes in one shot from client to server.

Question 53

Question
Which of the following is correct list of classifications of design patterns
Answer
  • Creational, Structural and Behavioral patterns
  • Executional, Structural and Behavioral patterns
  • Creational, Executional and Behavioral patterns
  • None of the above

Question 54

Question
Which of the following describes the Composite pattern correctly?
Answer
  • This pattern builds a complex object using simple objects and using a step by step approach.
  • This pattern is used where we need to treat a group of objects in similar way as a single object.
  • This pattern hides the complexities of the system and provides an interface to the client using which the client can access the system.
  • This pattern is primarily used to reduce the number of objects created and to decrease memory footprint and increase performance

Question 55

Question
Which of the following describes the Command pattern correctly?
Answer
  • In this pattern a class represents functionality of another class.
  • In this pattern a request is wrapped under an object as command and passed to invoker object
  • This pattern creates a chain of receiver objects for a request
  • This pattern provides a way to evaluate language grammar or expression

Question 56

Question
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
Answer
  • Unit testing
  • Regression testing
  • Acceptance testing
  • System testing

Question 57

Question
Which of the following are examples of traditional process models?
Answer
  • Waterfall, Incremental, Spiral
  • XP, Scrum, Kanban
  • Waterfall, XP, Spiral
  • Spiral, V-Model, Scrum

Question 58

Question
Which of the following follows the correct sequence in a waterfall model?
Answer
  • Feasibility, Testing, Implementation, Requirement, Design
  • Feasibility, Requirements, Design, Implementation, Testing
  • Requirements, Feasibility, Design, Implementation, Testing
  • Testing, Design, Implementation, Feasibility, Requirements

Question 59

Question
A family of software development methodologies that produce software in short iterations and allow for greater changes or design
Answer
  • Agile Processes
  • Traditional Process Models
  • Both answers are correct
  • None of the above

Question 60

Question
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
Answer
  • Pair programming
  • Test driven development
  • Design improvement (refactoring)
  • None of the above

Question 61

Question
The waterfall model of software development is
Answer
  • A reasonable approach when requirements are well defined
  • A good approach when a working programs is required quickly
  • The best approach to use for projects with large development teams
  • An old fashioned model that is rarely used any more

Question 62

Question
The incremental model of software development is
Answer
  • A revolutionary model that is not used for commercial products
  • A reasonable approach when requirements are well defined
  • A good approach when a working programs is required quickly
  • The best approach to use for projects with large development teams

Question 63

Question
The spiral model of software development:
Answer
  • Ends with the delivery of the software product
  • Is more chaotic than the incremental model
  • Includes project risks evaluation during each iteration
  • All of the above

Question 64

Question
In an implementation of the singleton pattern, there is no constructor
Answer
  • True
  • False
Show full summary Hide full summary

Similar

2014 GCSE History Exam Paper Setup
James McConnell
MCAT Study Plan
Alice McClean
GCSE Biology AQA
isabellabeaumont
FCE Practice Fill In The Blank
Christine Sang
GCSE History – Social Impact of the Nazi State in 1945
Ben C
The structure of the heart
rachel_w
Prep Like a Pro with GoConqr's Revision Timetable
Mike Nervo
Cells And Cell Techniques - Flashcards (AQA AS-Level Biology)
Henry Kitchen
A-LEVEL ENGLISH LANGUAGE : Key Theorists
Eleanor H
Navegacion
Adriana Forero
Specific topic 7.6 Timber (processes)
T Andrews