Lec1. Numeral System Flashcards

1
Q

Explain each term: a = dq + r

A

a is the dividend
d is the divisor
q is the quotient
r is the remainder

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

what is a div d?

A

q

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

what is a mod d?

A

r

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

True/False: Base b expansion: b > 1 and n ≥ 0

A

False. b must be larger than 1 and n must be larger than 0 since (0)b = 0 –> not giving a unique case

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

True/False: if the base b = 7, a possibilities is ak = 8

A

False, ak < b

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

What is the domain and codomain of div?

A

div: N x N* -> N
(a,d) -> q

div ((a,d)) = q or a div d = q

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

What is the domain and codomain of mod?

A

mod: N x N* -> N
(a,d) -> r
mod((a,d)) or a mod d = r

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

True/False: r is the number expansion of base b

A

true

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

True/False: 0 ≤ r ≤ d

A

false -> 0 ≤ r ≤ d-1

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

A digit in binary notation is called ____

A

bit

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

A ___ which consists of 8 bits, can be represented by 2 digit-hexadecimal number

A

byte

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