Unit 2 - Data Representation Flashcards
What is the binary number system?
Computers use a binary number system consisting of only 0s and 1s. Everything a computer needs to process must be converted to a binary format.
What is the order of file size from smallest to biggest?
Bit (b)
Byte (B)
Kilobyte (KB)
Megabyte (MB)
Gigabyte (GB)
Terabyte (TB)
Petabyte (PB)
How much is is a bit?
A single 0 or 1.
How much is a nibble?
4 bits
How much is a byte?
8 bits - one character of text
How much is a Kilobyte?
1000 bytes
How much is a Megabyte?
1000 KB
How much is a gigabyte?
1000 MB
How much is a terabyte?
1000 GB
How much is a petabyte?
1000 TB
What is denary?
It is a base 10 number system with 10 digits 0-9
What is an overflow?
The generation of a number that is too large to be represented by the device intended to store it.
What is hexadecimal (or hex)?
A numerical system of notation that uses 16 rather than 10 as its base. The 16 hex base digits are 0 – 9 and the letters A – F.
How would you convert hex to denary?
Multiply the left side by 16 and add the units.
For example 2D: 2*16 = 32…………..32 + D(13) = 45
What are binary shifts?
Allows you to easily multiply or divide a base-2 binary number. A left shift multiplies the number by 2, while a right shift divides it by 2.