Selection Flashcards

1
Q

What is addition, Subtraction and Multiplication

A

+, -, *

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

What is real divison

A

/

It outputs the whole number

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

What is integer division

A
//
It outputs the number as a whole number
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Modulo (MOD)

A

%

It is used to work out the remainder of the division

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

What are the 3 logical operators

A

And, Or, Not

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

NOT operator

A

has the highest precedence and is applied first e.g. Use an umbrella when raining but not cold

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

AND

A

Wear a coat if raining AND cold. Both parts have to be true

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

OR

A

Catch a bus if it is raining or cold

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

What is selection

A

Determines what path a program takes when running

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