Software Design and Development Flashcards

1
Q

Waterfall Model

A

Analysis
Design
Implementation
Testing
Documentation
Evaluation
Maintenance

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

Requirement Specification

A

a document which clearly states what a program needs to do

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

Syntax Error

A

error with spelling or missing letter/symbol

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

Logic Error

A

error in code logic such as using AND instead of OR, or < instead of >, the code will still work, but produce unexpected results

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

Run time error (execution)

A

error when the code runs that causes a crash, such as dividing by zero or trying to access the 5th item in a 4 item array

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

Analysis

A

general description of what the software should do which contains everything the program should do
requirement specification
produces requirement specification

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

Design

A

structure diagrams
flowcharts
pseudocode

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

Implementation

A

writing the source code

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

Testing

A

tests that each part of the program works
normal data, extreme data, exceptional data

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

Documentation

A

Analysis - purpose, functional requirements
Design - algorithms, wireframes
Implementation - the code
Testing - test table, screenshots of results

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

Evaluation

A

A review of the program and process
Evaluates how well the program meets the requirements
covers: fitness for purpose, efficiency, usability, maintainability, and robustness

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

Maintenance

A

Finding and fixing errors
Manual debugging - pen and paper, dry runs, trace tables
Environmental debugging - done on computer, breakpoints, watchpoints, step through

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

Sequential files

A

file that is read/written by accessing the file at the start, read from left to right and top to bottom, and finishes at the end

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

Sequential text files

A

Files created in notepad
Values read line by line
Values can be stored in variables/arrays
Each line is treated as one string

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

Sequential CSV

A

Comma separated values (any character works)
Used for multiple values on a single line
The character used to seperatr values is called a delimiter

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

Types of scope

A

Global
Local

17
Q

Global scope

A

variable can be seen and changed anywhere in the program
can accidentally be edited

18
Q

Local scope

A

Variable can be seen and changed in the sub program it is declared in

19
Q

Pass by value

A

sends a copy of the data
if you edit one, the other won’t change
only use if you the data doesn’t need to change

20
Q

Pass by reference

A

sends a reference to the original data
effectively passes the memory address
changes made in one place change it all over

21
Q

requirements specification

A

purpose
-written in English, should say what the program should do
scope
-list of deliverables and time limits (Design documents, Test plan, Code listing, Completed testing, Evaluation)
boundaries
-assumptions, what should and shouldn’t be in the program
functional requirements
-inputs, processes and outputs

22
Q

pre defined functions

A

Sub string (mid): takes a string apart to create a new string(s)
Modulus: returns remainder from division
Floating point to integer
Convert to ASCII and back

23
Q

standard algorithms

A

counting occurrences
finding min
finding max
linear search

24
Q

counting occurrences

A

Steps:
Set counter to 0
Add 1 to counter when the thing you want to count takes place

25
Q

finding min

A

Steps:
Set min to first value in the array
Loop for each value in the array
If the current value in the array is less than min
Then min=current value

26
Q

finding max

A

Steps:
Set max to first value in the array
Loop for each value in the array
If the current value in the array is more than max
Then max=current value

27
Q

linear search

A

Steps:
Ask user for search term
Loop for each value in the array
If the current value in the array=search term
Then found=true

28
Q

Wireframe

A

visual design of a programme
annotation