Operations Flashcards

1
Q

Operation

A

An action that is performed on one or more pieces of data in order to produce additional data

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

Types of operations

A

Arithmetic
Relational
Boolean / logic

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

Arithmetic operation

A

A process performed on one or more numbers
Examples :+, -, *, /,

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

Two tricky arithmetic operators

A

DIV = remainder is ignored
MOD = dovides but uses only the remainder

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

Relational operations

A

A comparison between two values to check whether they are equal or whether one is less pr greater than the other. Found in OF statements and as a part of a loop
Examples: <, >, =

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

Logic operations

A

Can only have two outcomes- true or false. A logic operator connects together logic expressions to produce more complex logic expressions
Examples: AND, NOT, OR

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