Representing data Flashcards
In computers, how is data and instructions represented?
Binary
What type of number system is binary?
Base two (0 and 1)
What is each digit in a binary number called?
Bit
Convert 10110 to denary
22
Convert 0100 1001 to denary
73
What is a group of 8 bits called?
Byte
How many bytes are in a kilobyte?
1024
How many kilobytes are in a megabyte?
1024
How many megabytes are in a gigabyte?
1024
How many gigabytes are in a terabyte?
1024
What is half a byte (4 bits) called?
Nibble
Convert 34 (base 10) to binary?
0010 0010
Convert 115 (base 10) to binary
0111 0011
What is 1 + 1 in Binary?
10 (binary)
1101 + 1011 (binary)
1 1 0 1 1 0 1 1 ----------- 1 1 0 0 0 ----------- 1 1 1 1
=11000
What is an overflow error?
When the result of binary addition is too big to fit the available space
Why do programmers use hexadecimal numbers?
Easier to recognise and remember than large binary numbers.
What is 27 (hexadecimal) in denary?
39 (base 10)