Digital Circuits Flashcards

1
Q

How do you convert decimal to binary ?

What is an important thing to remember?

A

Because you are converting base 10 to base 2, you have to repeatedly divide by 2.

Divide by 2, if there is a remainder add a 1 to the first binary place. First division is b0 .

Divide through until 0!!

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

How do you fractional number to binary ?

A

Use a similar technique as with integers, however, multiply 2 instead of divide.

Multiply value by 2, if the value is greater than one, add a one to the first binary place.

For the next place, you take the fractional part of the last multiplication and multiply that. If that again is greater than one, add a 1 to the next binary place.

Continue until the fractional part has become 0.

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

What do you do if you want to convert a decimal with an integer and fractional part?

A

calculate separately

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

What is the most important thing you need to remember when adding binary ?

A

that 0 is 0

1 is 1

2 is 0

3 is 1

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

How do you evaluate 0-1 when subtracting binary ?

A

You have to use a carry, whereby you take a one from the next column and make the the 0 in the current column into 1 0 , which translates to 2 in decimal

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