Binary Flashcards

1
Q

why is binary in 1 and 0’s?

A

1 and 0 represent on and off

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

when converting to denary what digit represents on

A

1

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

when converting to binary we minus of the denary to get the binary numbers

A

so say we had the number 129 128 would go into it so we would minus it leaving us with one and place all of 0’s until 1 where we minus 1 of 1 and place a 1

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

why do we not use binary that often?

A

binary is full of 1 and 0’s and it makes it harder for us to read so we use something called Hexadecimal.

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

hexadecimal is in what base?

A

Base 16

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

what base is Binary in?

A

Base 2

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

what base is Denary in

A

Base 10

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

after the digit 9 in Hexadecimal what do we use?

A

we use letters representing 10-16 from A-F

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

how do we convert hexadecimal?

A

we split the number/letter say 6E to there values in our language and there we convert them into there binary values

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

why do we use hexadecimal?

A

hexadecimal allows us to convert in 4 bits at a time which denary cannot do

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

when doing binary arithmetic what do we do when we add 1+1?

A

we add 0 to the answer and carry 1

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

what is a logical left shift? Hint: its all the same for the right

A

when we move the binary digits to the left once and add a zero to the end for the least significance

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

what is an overflow error?

A

the maximum an 8 digit binary can hold is 255 and sometimes when we add binary it can overflow creating a 9 bit binary

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

what is sign and magnitude?

A

with this we have an extra column replacing the 128 bit with 1 being a negative number and 0 remaining positive so we would minus 128 of all the values.

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

how does 2’s compliment work?

A

twos compliment turns the 128 to a minues 128 and has the samr principel when adding all the 1’s together

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

shortcut method

A

after the first 1 we swap each digit say i had 11001011 it would become 00110101 because after the first 1 it all gets swaped around