Unit 2: Data Representation Flashcards
Which numbers are stored in one bit?
0 and 1
How many bits are there in a nibble and a byte?
Nibble = 4 bits
Byte = 8 bits
What are the units after a kilobyte?
Megabyte, Gigabyte, Terabyte, Petabyte
What is zero as an 8 bit Binary number
0000 0000
What is 255 in Binary?
1111 1111
What is 39 as an 8 bit Binary number?
0010 0111
Convert C in hexadecimal to denary
12
What’s 2B hexadecimal in Binary?
2B = 162 + 1B = 32 + 11 = 43
0010 1011
What’s 1010 0011 in hexadecimal?
A3
Calculate
1001 0101
+ 0010 0110
1001 0101
+ 0010 0110
________________
1011 1011
Explain what effect a left and right shift have
Left shift doubles the number
The right shift halves the number
Calculate the left shift of 0110 1011
1101 0110
How many bits are in the extended ASCII?
8 bits
How many characters does ASCII allow for?
256
How many bytes are in Unicode?
16-bit has 2 bytes
32-bits has 4 bytes