Section 4: Data Rep - Conversions Flashcards

1
Q

How do you convert decimal to binary?

A
  1. Draw an 8 bit binary table
    2.Move along the table right to left, subtracting the number in each column from your total
    3.Put a 0 for every negative number
    and put a 1 for a positive number and continue with that total
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you convert binary into decimal?

A

1.Draw binary place value columns
2.Enter the binary value from right to left
3.Add up the values in the column which have a 1 in them and ignore the ones with 0

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

Binary addition:
- 1 + 1
- 1 + 0
- 1 + 1 + 1

A

1 + 1 = 0 carry the 1
1 + 1 = 1
1 + 1 + 1 = 1 carry the 1

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

Binary shift left

A

Every place shifted left the number is doubled (MULTIPLY)

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

Binary shift right

A

For every place shifted right the number is HALVED

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

What is hexadecimal?

A

Uses base16 and a combination of numerals and letters to represent a number

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

Converting Hex to Decimal

A
  1. Draw a table in powers of 26 and enter the hex number from right to left
    2.Multiply the digits by their column numbers
    3.Add up the results
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Converting Decimal to Hex

A

1.First divide the decimal number by 16
2. Enter the answer and its remainder from right to left in the table
3.Divide the remained from the previous calculation by 1 (columns)

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

Converting Binary into Hex

A
  1. Split the binary into 2 nibbles
    2.Draw two binary tables (columns 8 - 1)
    3.For both nibbles add up the numbers with a 1 in the columns and convert to hex
    4.Put the two values together
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Hex Numerical Values

A

10 - A
11 - B
12 - C
13 - D
14 - E
15 - F

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

Converting hex to binary

A

1.Split the hexadecimal number apart (like nibbles) and find the decimal value of each digit
2.Find the binary value by entering them into the two tables
3.Put the two nibbles together

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