7 algorithm design and problem solving Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

what are components of PDLC

A

analysis, design, coding, testing

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

what are tasks needed at analysis stage of PDLC

A

abstraction, decomposition of problem, identification of problem and requirements

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

what are tasks needed at design stage of PDLC

A

decomposition, structure diagrams, flowcharts, pseudocode

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

what are tasks needed at coding stage of PDLC

A

writing program code, iterative testing

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

tasks needed at testing stage of PDLC

A

test program code using test data

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

how can problem be decomposed to component parts

A

inputs, processes, outputs, storage

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

how to linear search

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

how to bubble sort

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

what is the need for validation checks

A

helps programmer ensure any input is possible and sensible

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

what are the types of validation checks

A

range, length, presence, format, check digit, type

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

explain a type check

A

checks if input is of correct data type

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

explain range check

A

checks if input is in correct range

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

explain presence check

A

checks is all required data has been entered, eg rejecting blank inputs

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

explain format check

A

checks if input is in right format, eg dates, postcodes

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

explain length check

A

checks if input has correct/min/max number of characters

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

explain check digits

A

check digit: last digit included in a code or other identification. calculated from all other digits in code

17
Q

what is the need for verification checks

A

make sure input is correct

18
Q

what are the types of verification checks

A

visual, double entry

19
Q

explain double entry check

A

data must be entered twice, system compares both entries to check if they are same before accepting data

20
Q

explain visual check

A

manual check performed by user who is entering data

21
Q

what are types of test data

A

normal, abnormal, extreme, boundary

22
Q

what is abnormal data

A

data that should be rejected by the program

23
Q

what is normal data

A

data that should be accepted without causing errors

24
Q

what is extreme data

A

data that is the largest/smallest acceptable value

25
Q

what is boundary data

A

data that is the largest/smallest acceptable value as well as corresponding largest/smallest rejected value