CSCI 223 Quiz 3 Flashcards
1
Q
how to convert from decimal to hexadecimal
A
divide by 16, read the remainders from bottom to top
2
Q
how to convert from decimal to binary
A
divide by 2, use the remainders from bottom to top (should be 0s and 1s)
3
Q
how to convert from hexadecimal to decimal
A
label the positions from right to left as 0, 1, 2, … and multiply the number by 16^? and add the results together
4
Q
how to convert from binary to decimal
A
label the positions from right to left as 0, 1, 2, … and multiply the number by 2^? and add the results together
5
Q
how to convert from binary to hexadecimal or binary to hexadecimal
A
use the chart
6
Q
0x0
A
0000
7
Q
0x1
A
0001
8
Q
0x2
A
0010
9
Q
0x3
A
0011
10
Q
0x4
A
0100
11
Q
0x5
A
0101
12
Q
0x6
A
0110
13
Q
0x7
A
0111
14
Q
0x8
A
1000
15
Q
0x9
A
1001