Units and Data Storage Flashcards
(38 cards)
What is a bit?
1 bit
The smallest unit of data in computing.
What is a nibble?
4 bits
Commonly used in computing as a half-byte.
What is the size of a byte?
8 bits
A byte is a fundamental unit of data storage.
How many bytes are in a kilobyte?
1000 bytes
Equivalent to 8 thousand bits.
How many kilobytes are in a megabyte?
1000 kilobytes
Equivalent to 1 million bytes or 8 million bits.
How many megabytes are in a gigabyte?
1000 megabytes
Equivalent to 1 billion bytes or 8 billion bits.
What is the size of a terabyte in bytes?
1000 gigabytes
Equivalent to 1 trillion bytes or 8 trillion bits.
How many terabytes are in a petabyte?
1000 terabytes
Equivalent to 1 quadrillion bytes or 8 quadrillion bits.
What is the size of an exabyte?
1000 petabytes
Equivalent to 1 quintillion bytes or 8 quintillion bits.
How many exabytes are in a zettabyte?
1000 exabytes
Equivalent to 1 sextillion bytes or 8 sextillion bits.
What is the size of a yottabyte?
1000 zettabytes
Equivalent to 1 septillion bytes or 8 septillion bits.
How many zettabytes are in a brontobyte?
1000 yottabytes
Equivalent to 1 octillion bytes or 8 octillion bits.
What is a geopbyte?
1000 brontobytes
Equivalent to 1 nonillion bytes or 8 nonillion bits.
Calculate the size of a text file with 1000 characters at 1 bit per character.
125 bytes
Calculation: 1000 bits / 8 = 125 bytes.
What is the formula for calculating the size of image files?
Colour depth * image height * image width
Colour depth is the number of bits available to store.
Calculate the size of an image with dimensions 100 x 300 pixels and a depth of 2.
7500 bytes (7.5 KB)
Calculation: 100 * 300 * 2 = 60000 bits, 60000 / 8 = 7500 bytes.
What is the formula for calculating the size of sound files?
Sample rate * duration * bit depth
Sample rate is the number of samples per second.
Calculate the size of a sound file with a bit depth of 2, taking 10 samples per second for 30 seconds.
75 bytes
Calculation: 30 * 10 * 2 = 600 bits, 600 / 8 = 75 bytes.
What is binary?
A number system made up of 0 and 1
It is a base two number system used in computing.
Why is binary used in computers?
Because a CPU is made up of millions of transistors that can be in one of two states (on/off)
This allows for the representation of data.
What is binary addition for 1 + 1?
0 carry 1
This represents an overflow in binary addition.
What is an overflow error in binary?
An extra carry/bit when the result exceeds 8 bits
The result exceeds 255 (11111111 in binary).
How do you multiply in binary using shift?
Shift all numbers to the left
Each place moved represents a multiplier of 2.
How do you divide in binary using shift?
Shift all numbers to the right
Each place moved represents a division by 2.