3.1: binary Flashcards

1
Q

binary when a transistor is on

A

1

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

binary when a transistor is off

A

0

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

bit

A

can be a 0 or 1

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

nibble

A

a group of 4 bits

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

byte

A

a group of 8 bits
2 nibbles

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

base of denary

A

10

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

base of binary

A

2

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

highest value that can be represented by a byte

A

255

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

unsigned binary numbers

A

1 byte can represent positive values from 0 to 255

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

signed binary numbers

A

represents positive and negative values
decreases range of values that can be represented

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

sign and magnitude

A

assigns the most significant bit as the sign bit
1 represents a negative number
0 represents a positive number
means that only 7 bits are available
largest bit bit that can be represented = 127
values from -127 to 127

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

twos complement

A

the most significant bit represents -128 instead of 128
largest positive that can be represented is 127
largest negative number that can be represented is -128

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

binary addition

A

0+0=0
0+1=1
1+1=10
1+1+1=11

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

binary overflow

A

when there is a 9 bit which doesnt fit in the byte

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

disadvantage of binary overflow

A

one bit less available

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

arithmetic shift ( left shift)

A

multiplies by 2
you move all the bits 1 position to the left
as new 0 is shifted in

17
Q

arithmetic shift (right shift)

A

divides by 2
you move all the bits 1 position to the right
you copy the value of the most significant bit

18
Q

logical shift (left shift)

A

multiplies by 2
same as arithmetic left shift
you move all the bits 1 position to the left
a new 0 is shifted in

19
Q

logical shift (right shift)

A

divides by 2
moves all the bits 1 position to the right
0 is always inserted

20
Q

logical shift

A

used to multiply and divide unsigned binary numbers (positive numbers)

21
Q

arithmetic shift

A

used to multiply and divide signed binary numbers (positive and negative numbers)

22
Q

hexadecimal advantages

A

easier to read
can represent the same values effortelessly

23
Q

base of hexadecimal

A

16

24
Q

how many bits can 1 hexadecimal represent

A

4 bits
1 nibble

25
Q

how many bytes do 2 hexadecimal represent

A

1

26
Q

converting binary to hexadecimal

A

group byte into 2 nibbles
example: 10110101 turns into 1011 and 0101

27
Q

uses of hexadecimal

A

photoshop to change colour
in computer networks to identify a device

28
Q

denary to hexadecimal

A

0 = 0
1 = 1
2 = 2
3 = 3
4 = 4
5 = 5
6 = 6
7 = 7
8 = 8
9 = 9
10 = A
11 = B
12 = C
13 = D
14 = E
15 = F