SDD -Implementation Flashcards

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

What is the character data type used for

A

to store a single character

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

What is the string daya type for

A

store a sequence of character

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

What is an integer data type used for

A

store a whole number

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

what is the real data type used in a program

A

to store a decimal number

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

What is the Boolean data type used for

A

store True and False variables

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

what is an array

A

used in a program to store data objects of the same type

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

array elements

A

each item in an array

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

assignment is used

A

to set the value of a variable

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

+

A

add

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

-

A

subtract

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

*

A

multiply

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

\

A

divide

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

^

A

exponent

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

concatenation means

A

joing two or more strings together

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

selection means

A

making a decision

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

IF statement is used

A

to make a decision

17
Q

a complex condition

A

means that there are two or more rules being tested

18
Q

a simple condition means

A

there is only one rule being tested

19
Q

Logical operators

A

used to combine the result of two conditions

20
Q

The logical operators are

A

AND
OR
NOT

21
Q

AND

A

The condition will be true if both statements are True

22
Q

OR

A

The condition will be TRUE if either one, or both of the statements are True

23
Q

NOT

A

Reverses the result

24
Q

A fixed loop will

A

always execute a fixed number of times

25
Q

a conditional loop

A

will execute while a specific condition of being met, or until a specific condition is met

26
Q

The random function

A

returns a random number between two parameters

27
Q

The round function

A

returns a decimal number to a given number of places

28
Q

The length function

A

returns the length of a string

29
Q

Input validation

A

checks that the user input is acceptable

30
Q

The running total algorithim

A

adds a list of values

31
Q

The traversing an array

A

accesses each element of an array from first to last