Data Storage Flashcards
What are the units in Computer Science
Bit
Nibble
Byte
Kilobyte
Megabyte
Gigabyte
Terabyte
Petabyte
Hertz
How many bits in a byte
8
How many bits or bytes in a nibble
Half a byte
4 bits
How many bytes in a kilobyte
1000
How many kilobytes in a megabyte
1000 kilobytes
or 1 million bytes
How many megabytes in a gigabyte
1000 megabytes
How many gigabytes in a terabyte
1000 gigabytes
How many terabytes in a petabyte
1000 terabytes
What are the two only states that a computer can understand
Power on
Power off
What is the power term called
Switches
What are switches represented by
Power on represents a 1
Power off represents a 0
What is the table layout for binary and denary
128, 64, 32, 16, 8, 4, 2 1
What is denary
A whole number
What is binary
An 8 bit number
What is 32 in binary. Show steps
128, 64, 32, 16, 8, 4, 2 1
0 0 1 0 0 0 0 0
00100000
What is 78 in binary
128 64 32 16 8 4 2 1
0 1 0 0 1 1 1 0
01001110
How do we convert binary to denary
128, 64, 32, 16, 8, 4, 2 1
If there is a 0 under a number, we don’t add that number up. If there is a 1 under the number, we add that number. For example If we have the binary number of
10001001
Substitute this in the table.
There is a 1 underneath 128, 8 and 1, so add all those numbers up, which makes 137. For this example we say that 10001001 is 137 in denary
Convert 00100111 into binary
39
Whats the highest possible denary number and binary number
11111111
255
What is hexadecimal
A number that uses a base of 16. It starts from 0 to 9, then from A to F
How do we convert hexadecimal to denary
Multiply the left hand digit by 16, then add the units
How do we convert hex 7 to denary
Multiply 7 and 16.
Then add 10
Hex 7 is 122 in denary form and 7 in decimal form
What is hex 27 in denary
(2x16) + 7 = 39 in denary form
How do we convert denary to hexadecimal
Divide the denary number by 16. The remainder gives the units.