Topic 17a: Design, Testing and Documenting Solutions Flashcards

1
Q

There are 3 forms of design methodology and they are

A

structure diagrams, flow charts and Pseudocode

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

A text editor is an

A

area within programming language where program code is entered, deleted or amended.

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

Some special features of text editor to make it easier are

A

auto-complete commands, colour coding, highlighting of error and pop-up help windows

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

Structure diagrams and flow charts are known as

A

graphical design methods

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

Structure diagrams and flow charts are useful for illustrating when

A

certain sections of code are selected, i.e. statements

Certain sections of code are being repeated i.e. loops

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

Pseudocode is known as a

A

text based design method

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

Pseudocode takes less time to

A

turn into the final program code because it very closely resembles the final code. Each line matches a corresponding line in the final code

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

There are 3 types of test data and they are;

A

normal, extreme and exceptional

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

Normal test data, is data

A

within the set range.

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

Extreme test data is

A

data on the boundaries of the range. So a range of 1 to 100 would have extreme test data of 1 or 100

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

Exceptional test data

A

is data completely without the set range. So a range of 1 to 100 would have exceptional test data of 5000 or cat

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

The code within a program can be made more readable by using

A

internal commentary, indentation and meaningful variable names.

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

Internal commentary is a

A

short description placed at the beginning of each section of code. It describes what that section of code does.

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

Meaningful variable names are when

A

variables are created and care is taken to give the variable a name which relates to the data it contains

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

Indentation is useful in

A

making the structure of a section of code more obvious

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