Computer Science - Data representation Flashcards
(16 cards)
What is binary used for?
Binary is the data representation method computers use
Why do computers use binary?
Due to them having switches that can be on and off
Why do computer-scientists use hexadecimal?
So it takes fewer digits communicating large numbers. As cs use them a lot :o
How many characters can ASCII store?
256 characters
How many characters can unicode store?
over 149,000 characters
How many bits per character in ASCII?
8 BITS per character
How many bytes per character in ASCII?
1 byte per character
How many bytes per character in unicode?
multiple - no specific limit
How many bits in a byte?
8 bits in 1 byte
put all the measurements in order (Kb, TB, etc.)
Bit, Nibble, Byte, Kilobyte, Megabyte, Gigabyte, Terabyte, Petabyte
What is a character set?
a collection of characters used to represent text in a computer system
Colour depth
the number of bits stored per pixel in an image
How does a larger colour depth affects the quality and file size of images?
The quality increases/gets better
the file size increases/becomes larger
What is sampling?
creating a digital version of a soundwave, turning it into binary and recording the sound values
How does a larger sample rate affect the quality and file size of sounds?
The sound will be clearer but take up more storage space due to its higher file size
What is a sample rate?
How many times a sound is sampled per second