2.1 Data Relresentation Q Flashcards
Explain the term byte
Made a ground of 8 bits
A single character (such as letter or digit)
Gigabyte
1 gigabyte= 1024 megabytes
1 megabyte= 1024 kilobytes
How many bits are in 1 kilobyte
1 kilobyte= 1024 bytes
1 byte= 8 bits
Demonstrate how many values can be stored with 3 bits and Demonstrate the maximum and minimum values that can be stored in 3 bits
The formula for working out the range of values for n bits is 2n
The formula for working out the maximum possible value for n bits is 2n-1
The formula for working out the minimum possible value for n bits is 2n-1
So for this example
The range of values for 3 bits is 2 to the power of 3 = 8
The maximum value is 2 to the power of 3 -1 =7
The minimum value is 0 (always- except twos complement)
Define a bit
A binary digit (known as a bit) is either a 0 or a 1. A bit is the smallest unit of storage and are usually grouped together in groups of 8, called a byte.
What is the maximum value that can be stored with 7 bits
Where n is the number of bits, maximum value =2n-1.
27-1= 127
Explain how binary values can be converted into denary
Use binary place values (1,2,4,8,16 etc)
To match the 0s and 1s of the binary number to the denary numbers in the place holders.
Then find the sum of those denary numbers.
Convert 01101011 small 2 into denary
128 64 32 16 8 4 2 1
0 1 1 0 1 0 1 1
64+32+8+2+1 = 107 to the power of 10
Explain how denary values can be converted into binary
Use the binary place values (1,2,4,8,16 etc)
Add your denary number in from MSB (most significant bit) to LSB (least significant bit).
Denary to binary
Begin by taking the binary place values and taking them away fron