Software Design and Development Flashcards

1
Q

What is a wireframe diagram?

A

A wireframe diagram is used to design the user interface for a program. This only applies to programs which will have buttons for the user to click to make them work. Wireframe diagrams are drawn in the same way for a program as they are for a webpage.

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

How can code of a program be designed before programming? Explain your answer.

A

The code for a program can be designed using either a flow chart, a structure diagram or pseudocode. A flow chart shows the flow of data within a program from top to bottom but may split to two possible paths for an if statement. A structure diagram begins to divide the program design into sub-routines or modules. Each module is represented by a column in the structure diagram (read from left to right, working down each column in turn)

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

How is text stored as a variable?

A

string (str)

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

How are whole numbers stored as variables?

A

integer (int)

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

How are decimal points stored as variables?

A

float (float)

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

How is yes/no, true/false stored as an array?

A

Boolean.

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

Explain what an array and an index is.

A

Multiple values can be stored in a single data structure by setting up an array. this will have a number in [] after the variable name to represent either the total number of values the array can store, or the current value being accessed. This number is known as the index value.

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

What are the mathematical operations?

A

Basic calculations can be programmed using the following mathematical operations; + to add, - to subtract, * to multiply, / to divide and ^ for a power i.e., 2 squared would be 2^2.

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

What are logic operators (for comparision)?

A

Comparisons between values and variables are performed using < less than, > greater than or == equal too. To compare two variables at one logic operators can be used. These include and for a match in more than one, or for a match in one or another and not to check if a condition is not met.

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