Storage Units & Binary Flashcards
What is a bit
A single binary digit eg 1 or 0
What is a byte
A group of 8 bits
What’s a nibble
4 bits are a nibble
How many bytes make a kilobyte and how much do you multiply by to get to MB & beyond
1000bytes
X 1000 from each jump
When counting in binary what do the deniers equivalents at the top go up in
X2
1 & 0 are like a row of…
Light switches 1=on
In binary addition
You carry 1 when it adds up to 2 however carry it till it is 0+0 and then add the left over 1
What is overflow & sort of example
A computer stores things in finite space however if you can not represent a number in that amount of space as it is tooo large then overflow occurs and a glitch occurs for example 8 bits represent 256 numbers however you can’t fit 267 into that space
To multiply in binary
Each shift to the left represents multiplication by two
To divide in binary
Each shift to the right is dividing by 2
Why do we use hex
It’s easier for humans to understand as it shortens a long string of numbers .
Hex is what type of base
16
Hex is represented in how many bits
4bits (nibble)
Why do we use letters in hex
The smallest value in 4 bits is 0000 & the largest is 1111. This means we need to represent 1-15 denery values into hex but we on,y have numerical digits 0-9 so we use letter A- F. To represent 10-15.
For numbers above 15 the binary are split into groups of 4 (nibbles) & then represented
To convert decimal to hex either
Divide by 16 and convert the answer & left over into hex eg 182/16=11 remainder 6 which gives us B6
Or convert it binary & then convert
ASCII stands for
American Standard Computer for Information Interchange
Normal ASCII uses how many bits which results in how many characters?
7 bits per character =127 decimal +1 = 128 characters