(Solved) : General Software Engineering Questions Multiple Choice 3pts Match Lifecycle Model De Nitio Q36078880 . . .
General Software Engineering Questions:
Multiple Choice
- (3pts) Match each lifecycle model with its definition, bydrawing a line connecting them.
- code-and-fix
(b) evolutionary
Prototyping
- spiral
- staged delivery
(e) waterfall
(a) assess risks at each step; do mostcritical action first
(b) build an initial small requirementspec, code it, then
“evolve” the spec and code asneeded
(c) build initial requirement specsfor several releases, then
design-and-code each in sequence
(d) standard phases (requirements,design, code, test) in order
(e) write some code, debug it, repeat(i.e. ad-hoc)
- (3pts) Which of the following are appropriate for arequirements document? Circle all that apply.
(a) Multiple users will be able to logon without experiencing conflicts or slow load times.
(b) The program will not have anybugs.
(c) If the systems detects a majorissue, it will save state and restart.
(d) The user will be able to modifythe location of the program’s save location on their machine.
(e) The program will disconnect theuser if they enter an invalid value in any section.
- (2pts) In an implementation of the singleton pattern, there isno constructor.
- (a) true
(b) false
- Some disadvantages of ad hoc development are: (Circle all thatapply.)
(a) Some important actions may goignored.
(b) It is easy to learn.
(c) It is clear when to start and stopeach task.
(d) It scales poorly to multiplepeople.
5. Which of the following areproperties of a good use case? (Circle all that
apply.)
(a) Starts with a request from thesystem to an actor.
(b) Ends with the system producing allanswers the actor asked for.
(c) Is written from the actor’s pointof view.
(d) Describes the internal activitiesthe system must take to produce all the answers
the actor asked for.
- In which of the following qualities does the SCRUM developmentprocess differ
from all of the waterfall, spiral, and iterative developmentmodels? (Circle all that apply.)
(a) The amount of team creativityand
exibility allowed.
(b) When the project cost is set.
(c) Ease of knowledge transfer.
(d) How responsive the process is tothe environment.
(e) When the completion date isset.
7. While there are many models for thesoftware development lifecycle, the staged
delivery model is clearly thebest.
A(true)
B(false)
Short Answer
- Give an example of a design pattern whose use is obvious from asequence diagram but ot from a class diagram. (Don’t choose onethat is built into (some) programming languages, such asiteration.) Explain why, in 1 sentence.
- In 1 sentence each, give two distinct reasons that you shouldnot commit compiled code (such as .o or .class files) to a versioncontrol repository.
- It is cheaper and faster to fix known bugs before you write newcode. Why? In one phrase or sentence each, give three reasons. Givereasons that are as different from one another as possible.
- When is a good time to do paper prototyping in the softwaredevelopment process?
Design Problems
A number of design problems are listed below. For each designproblem answer the three following questions:
1. Which? Select the most appropriate design pattern to use.
2.Why? Clearly motivate how it addresses the problem.
3.How? Explain how this pattern should be implemented and showan appropriate class diagram to illustrate the implementation ofyour pattern. (no code). Don’t give a generic class diagram for thepattern but for that specific design problem.
- (15 points). You have a simple logger class that is used as autility class by various programmers that work on your project.This class logs a text string to a file. As your project grows youanticipate adding different types of behaviors to the logger classdynamically during runtime as different programmers require differenttypes of additional functionality, e.g., they could add a timestampto a log message, change the case of the message, translate the logmessage into a different language or any combinations of thesebehaviors.
Expert Answer
Answer to General Software Engineering Questions Multiple Choice 3pts Match Lifecycle Model De Nitio Q36078880 . . .
OR