CSCI 187 Final

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/98

encourage image

There's no tags or description

Looks like no tags are added yet.

99 Terms

1
New cards

Software development life cycle

Requirements: What should we build, for whom?; Design: How should we build it?; Implementation: Build it; Testing: Did we build it right?

2
New cards

Waterfall model

requirements -> design -> implementation -> testing

3
New cards

Why is the waterfall model not good?

things go wrong in between steps and can’t go back

4
New cards

Iterative

revising and improving, instead of one and done

5
New cards

Agile

the world is too uncertain, and we must be flexible and responsive to changes

6
New cards

Agile manifesto

Individuals and interaction over processes and tools; Working software over comprehensive documentation; Customer collaboration over contact negotiation; Responding to change over following a plan

7
New cards

Requirements

state the goals of the system: what, not how

8
New cards

Requirements vs specifications

Requirements specify what to build from customer perspective while specifications specify what to build from developer perspective

9
New cards

Process from interviews to user requirements

Interviews -> personas -> scenarios -> user requirements

10
New cards

Behavioral variables

important differences in how a user could approach or interact with the task

11
New cards

Personas

descriptive “biography” of the fictional user we are primarily designing for

12
New cards

Scenarios

concrete descriptions of a particular persona interacting with a system in a work-driven manner

13
New cards

Problem scenario

the persona working today, with existing tools and existing friction. Drawn from interviews and observation

14
New cards

Context scenario

the persona using your envisioned system, written from goals and behavioral variables before any interface is designed

15
New cards

User requirements

what the system should do from the user perspective, without saying how the system will do it

16
New cards

Specifications

describe how, not what

17
New cards

Functional specifications

defines expected inputs, outputs, and behavioral responses of the system

18
New cards

Non functional specifications

define behavior qualities of the system like speed, reliability, security, accessibility, usability

19
New cards

Good specifications

testable, clear and specific, one thing only, consistent

20
New cards

Minimum viable product (MVP)

Smallest subset of functionality (requirements) that delivers value

21
New cards

MVP steps

Pick a persona; Needs vs wants; Needs first, wants later; Release and iterate; Build -> measure -> learn, repeat

22
New cards

Software architecture

describes the components and inter-connections needed

23
New cards

Abstraction

building an abstract representation of reality

24
New cards

Components (boxes)

Define the basic computations comprising the system and their behaviors

25
New cards

Connectors (arrows)

Define the interconnections (communication) between components

26
New cards

Class diagrams - nodes

will be the classes of your code, representing core objects

27
New cards

Class diagrams - arrows

Describe the relationships between the classes, what is dependent on what. Always from Child -> Parent.

28
New cards

MVC Model

Data management

29
New cards

MVC View

Presents data to user / provides user interface

30
New cards

MVC Controller

Handles control flow / mediates between the view and model

31
New cards

MVC communication

The Model does not call the Controller or the View. It is independently designed. The View only calls the Controller. The Controller mediates communication between Model and View, and calls both.

32
New cards

Translate MVC to code - Model

each class in class diagram becomes a h and cpp file

33
New cards

Translate MVC to code - View

what does the user see? Every tab/page/view has its own view file

34
New cards

Translate MVC to code - Controller

one file for every feature: a main action

35
New cards

Walking skeleton

a minimal end-to-end slice of the system: one path that runs from view to model

36
New cards

Unit test

smallest testable part of the software system

37
New cards

Expected value

verify that the system returns the correct and expected value under normal operating conditions

38
New cards

Boundary testing

checks edge cases and invalid or unexpected inputs

39
New cards

CI (continuous integration)

automated builds and tests triggered from git actions (ex: push, pull request)

40
New cards

CI stages

PR opened -> change detection -> automated build -> test suite runs -> feedback provided

41
New cards

Branches

independent line of development that acts as a separate workspace within your repository

42
New cards

Git push

directly uploads commits from your local repository to a remote repository

43
New cards

Pull request (PR)

proposes merging changes from one branch into another, inviting team review

44
New cards

Atomic commit

Every commit should address one concept (be atomic)

45
New cards

Clean coding

get it to work, AND invest time and energy in the design and style

46
New cards

Clean code - functions

Small. Do one thing; Prefer fewer arguments; Don’t use flag arguments

47
New cards

Clean code - comments

Code says what, comments say why; Don’t be redundant or obvious; Don’t leave commented out code; Explain intent; Warn of consequences

48
New cards

Database

an organized collection of structured information, or data, typically stored electronically in a computer system

49
New cards

Persistence

data that outlives the program

50
New cards

ID (key)

a value that identifies exactly one row

51
New cards

Many to many relationship

If a relationship is many to many, then it needs to be its own new table

52
New cards

SQL

language used to talk to the database

53
New cards

WHERE

filters individual data before table is grouped

54
New cards

HAVING

filters grouped data, and must come after the GROUP BY

55
New cards

Code Review

constructive review of a fellow team-member’s artifact (design, specification, code), providing suggested improvements

56
New cards

Costly errors

worst case scenario if system doesn’t behave as expected

57
New cards

Solutions to costly errors

diversity and redundancy

58
New cards

Development testing

testing during development to find bugs

59
New cards

Functional testing

running the code with a set of inputs and seeing if the program behaves as expected

60
New cards

Unit testing

test individual components, functions, classes

61
New cards

Component testing

test groups of components

62
New cards

System testing

tests the entire program as a whole and within the overall environment

63
New cards

White box testing

Written with knowledge of the code; Examines the module system internals; Trace data flow directly

64
New cards

Regression testing - five steps

  1. Store the input that triggered that bug, plus the correct output; 2. Add these to the test suite; 3. Verify that the test suite fails; 4. Fix the bug; 5. Verify the fix
65
New cards

Regression testing - purpose

Ensures that your fix solves the problem; Protects against updates that reintroduce the bug

66
New cards

Release testing

testing a release of the system after development

67
New cards

Black box testing

Written without the knowledge of the code; Treats the module/system as atomic; Best simulates the customer experience

68
New cards

Non-functional testing

Define behavior qualities of the system like: speed, reliability, security, accessibility, usability

69
New cards

Performance testing

how long does it take this function to execute

70
New cards

Load testing

how many simultaneous users can the application support under peak load?

71
New cards

Stress testing

how does the system perform or fail when pushed beyond its maximum operational capacity?

72
New cards

User testing

an evaluator observes a real user as they attempt to complete realistic tasks using the software

73
New cards

Information visualizations

visual representations of abstract data

74
New cards

Purpose of information visualizations

Allow people to explore and interpret a data set visually

75
New cards

Hippocratic oath for data

practice two things in your dealings with data: either help or do not harm the analyst

76
New cards

Honest visualization lie factor

Lie factors between 0.95 and 1.05 imply “honest” visualization

77
New cards

Lie factor

size effect shown in graphic / size of effect in data

78
New cards

Size of effect

|second value - first value| / first value

79
New cards

Visualization rules of thumb

Pies should always sum to 100%; Y-axis should always start at 0; All data should share the same axes; Show as much data as necessary; 3D can create distortions; Use area, not diameter

80
New cards

Consistent frame

values in the same space share the same scales

81
New cards

The Gist

featural and semantic information that can be gathered at a glance

82
New cards

Spatial envelope

the overall structure of the visual scene

83
New cards

Ensemble codes

statistical properties of the visual features of a scene (ex: average & variance)

84
New cards

Gestalt law of similarity

items that look similar are interpreted as part of the same group

85
New cards

Gestalt law of proximity

items that are close together are part of the same group

86
New cards

Gestalt law of enclosure

items contained in the same shape are part of the same group

87
New cards

Pop-out

some objects attract our attention immediately (when we first look at something). Those objects are said to have pop-out

88
New cards

Just noticeable difference (JND)

smallest color different that can be reliably detected (for some definition of reliable)

89
New cards

RGB is NOT perceptually uniform

we see bigger or smaller steps in the data for the same data different

90
New cards

Why avoid rainbows for continuous data

Names create artificial value boundaries; No intuitive ordering

91
New cards

Sequential encodings (use JNDs)

measures should be continuously distinguishable

92
New cards

Sequential colors

have numeric meaning. These are graduations that go from light to dark

93
New cards

Interpolation

mathematical method of determining unknown values that lie in between the known data points

94
New cards

Sequential color principles

Perceptually linear; Steps are naturally ordered; Diverging: natural zero point

95
New cards

Categorical encodings (use names)

measures should be categorically distinguishable

96
New cards

Categorical color principles

Distinct; Semantically meaningful; Roughly equally salient

97
New cards

Diverging encodings

use both

98
New cards

Live demo

Interactive and highly engaging; Can adapt dynamically to audience feedback; Builds trust through real-time proof

99
New cards

Video demo

Controlled, polished, and bug-free; Guaranteed pacing and precise timing; Reusable across multiple channels