SDD Flashcards

1
Q

What is an input

A

Data entered into a computer

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

What is the purpose of the analysis stage

A

To when given a problem identify what the program is meant to do

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

What is a process

A

the computer program transforms any data from inputs into some form of information that can be output

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

What is an output

A

The result of any process returned to the user

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

What are the data types

A

Boolean, string, character, float and integer

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

What is the Boolean dot type

A

Used to store a value which can be true or false

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

What is a string data type

A

Used to store a sequence of characters

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

What is a character data type

A

Used to store a single character

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

What is a float data type

A

used to store a decimal number

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

What is an integer data type

A

Used to store a whole number

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

What is assignment

A

Assignment is to set the value of a variable

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

What is concatenation

A

The merging of two or more strings together

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

What is the IF statement used for

A

Making a decision

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

What is the condition of the IF statement

A

The rule that is being tested by the IF statement,

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

What is the difference between a simple condition and a complex condition

A

A simple conditions only has one rule while a complex condition has multiple

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

What type of statement can follow an IF statement multiple times

A

An ELIF statement

16
Q

What does each ELIF statement allow

A

An additional condition to be tested

17
Q

What can follow both an IF and an ELIF statement

A

An ELSE statement

18
Q

When will the ELSE statement be executed

A

When none of the proceeding conditions in the IF statement are true

19
Q

What are the logical operators

A

AND, OR, NOT

20
Q

What does the AND operator do

A

Ensures that both conditions are true in the if statement

21
Q

What does the OR operator do

A

Ensure that either condition are true in the if statement

22
Q

What does the NOT operator do

A

Reverse the result of the IF statement

23
Q

What are the five arithmetic operators

A

+ addition, - subtraction, * multiplication, / division, ** to the power off

24
Q

What are the three predefined functions

A

Round, random and length

25
Q

What is the random predefined function

A

Returns a random number between two parameters

26
Q

What is the round predefined function

A

The function returns a decimal number rounded to a given number of places

27
Q

What is the length predefined function

A

The function returns teh full length of a string

28
Q

What is normal test data used for

A

To show that the program works as expected

29
Q

What is extreme test data used for

A

To test the boundary limits of the program

30
Q

What is exceptional test data used for

A

Test that the program can handle unexpected results

31
Q

What techniques make a program more readable

A

White spaces, internal commentary, indentation and meaningful variable names

32
Q
A