Programming Basics - Operations Flashcards

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

What does the DIV operator do?

A

returns the whole number part of a division

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

What does the DIV operator do?

A

returns the whole number part of a division

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

What does the MOD operator do?

A

Gives the remainder

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

What is addition written as in terms of operations?

A

+

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

What is Subtraction written as in terms of operations?

A

-

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

What is Multiplication written as in terms of operations?

A

*

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

What is Division written as in terms of operations?

A

/

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

What is exponentiation written as in terms of operations?

A

**

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

What is quotient written as in terms of operations?

A

DIV

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

What is Remainder written as in terms of operations?

A

MOD

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

What is the comparison operation for “is equal to”?

A

==

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

What is the comparison operation for “Is not equal to”?

A

!=

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

What is the comparison operation for “is less than”?

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

What is the comparison operation for “is greater than”?

A

>

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

What is the comparison operation for “is less than or equal to”?

A

<=

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

What is the comparison operation for “is greater than or equal to”?

A

> =

17
Q

What does the MOD operator do?

A

Gives the remainder

18
Q

What is addition written as in terms of operations?

A

+

19
Q

What is Subtraction written as in terms of operations?

A

-

20
Q

What is Multiplication written as in terms of operations?

A

*

21
Q

What is Division written as in terms of operations?

A

/

22
Q

What is exponentiation written as in terms of operations?

A

**

23
Q

What is quotient written as in terms of operations?

A

DIV

24
Q

What is Remainder written as in terms of operations?

A

MOD

25
Q

What is the comparison operation for “is equal to”?

A

==

26
Q

What is the comparison operation for “Is not equal to”?

A

!=

27
Q

What is the comparison operation for “is less than”?

A
28
Q

What is the comparison operation for “is greater than”?

A

>

29
Q

What is the comparison operation for “is less than or equal to”?

A

<=

30
Q

What is the comparison operation for “is greater than or equal to”?

A

> =