Design Process (Lesson 8) Flashcards

1
Q

SDLC stands for?

A

System development life cycle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The ___ phase defines a program’s goals.

A

analysis phase

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The ___ phase defines specifics of how to build a program.

A

design phase

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The ___ phase involves writing the program.

A

implementation phase

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The ___ phase checks that the programs correctly meets the goals.

A

testing phase

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A programmer is asked to make a finance software for an accounting firm that helps them with calculations. He decides that this finance software will support the five most common statistical calculations used in finance: mean, median, mode, max, and min.

What SDLC phase is this?

A

analysis; the problem that must be solved is presented and goals are thought of

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A programmer making a weight loss app for joggers decides it will respond to voice command input; the user speaks a command to invoke each of the algorithms that calculate approximate calories burned, time spent at rest, or distance traveled.

What SDLC phase is this?

A

design; he has started to define the specifics of how the program will be built

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A programmer begins writing functions using statements in a spell checking software. These functions compare an input word to common typos he has organized in an array. If there is a match it returns a true statement and outputs “Typo detected”

What SDLC phase is this?

A

implementation; the writing the program has begun.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When working on a project a programmer checked that each function for her software was working properly.

What SDLC phase is this?

A

testing; they have begun ensuring the program meets the initial goals.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A program can be built by carrying out the SDLC phases in a linear sequence, known as the

A

Waterfall approach

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

A program can be built by doing small amounts of each SDLC phases in sequence, and then repeating is known as the

A

Agile approach (AKA spiral approach)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which approach is more responsive to user feedback about a program?

A

Agile

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

In which approach would carrying out one phase, like implementation, likely take longer?

A

Waterfall

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A grouping of data, and functions that can be performed on that data, in order to keep them easy to understand

A

Objects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Programs commonly are not viewed as variables and functions/methods, but rather as ___

A

Objects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

___ means to have a user interact with an item at a high-level, with lower-level internal details hidden from the user.

A

Abstraction

17
Q

ADT stands for what?

A

abstract data type

18
Q

a data type whose creation and update are constrained to specific well-defined operations.

A

abstract data type (ADT)

19
Q

A code design for creating an object that is composed of data members and functions that operate on those data members.

A

class

20
Q

Objects strongly support ___, exposing only certain functions to a user.

A

abstraction

21
Q

A modeling language for software design that uses different types of diagrams to visualize the structure and behavior of programs.

A

Universal Modeling Language (UML)

22
Q

UML stands for what?

A

Universal Modeling Language

23
Q

A ___ visualizes static elements of software, such as the types of variables and functions used in the program.

A

structural diagram

24
Q

A ___ visualizes dynamic behavior of software, such as the flow of an algorithm.

A

behavioral diagram

25
Q

A ___ is a flowchart used to describe the flow of an activity or set of activities.

A

activity diagram

26
Q

Should a behavioral diagram or a structural diagram should be used for the following?

A list of components necessary to build an online shopping system.

A

Structural; A list of components describes the system’s structure, not behavior.

27
Q

Should a behavioral diagram or a structural diagram should be used for the following?

An overview showing how a customer uses a particular software product.

A

Behavioral; A diagram showing how a customer uses a program would describe the customer’s behavior, so a behavioral diagram is best.

28
Q

Should a behavioral diagram or a structural diagram should be used for the following?

A flowchart illustrating a program’s logic, including operations, branches, and loops, for converting a multiple temperature measurements from C to F.

A

Behavioral; A flowchart/activity chart, illustrating an algorithm’s operations is a behavioral UML diagram.

29
Q

A behavioral diagram used to visually model how a user interacts with a software program.

A

use case diagram

30
Q

Actions from users and the accompanying actions in software, as well as connections between different components of the software, are illustrated in a ___. Often used to specify behavioral requirements of programs.

A

use case diagram

31
Q

A UML ___ is a structural diagram that can be used to visually model the classes of a computer program, including data members and functions.

A

class diagram

32
Q

A behavioral diagram that shows interaction between software components and indicates the order of events.

A

sequence diagram

33
Q

The analysis phase of each approach commonly produces a ___, a document describing all requirements for the software product.

A

software requirements specification (SRS)

34
Q

Programs may be developed in various phases known as the ___

A

SDLC