Chapter 1 Data Representation Flashcards
What does hexadecimal do
Represents large amounts of binary data in a more manageable and readable format.
Why is using Hexadecimal beneficial (3 points)
1) Takes fewer digits to represent binary.
2) easier to read.
3)numbers with more bits are more prone to errors.
What are Logic Gates
electronic devices that perform logical operations on binary data
What is the use of logic gates
used to process binary data by applying Boolean Logic
What are binary shifts
used to multiply or divide binary
Why is binary useful
converts any form of data into binary in order for it to be processed by a computer
What is text
collection of characters
What is a character set
collection of characters that correspond to binary codes that represents them
How does ASCII work
assigns a unique 7-bit binary code to each character.
How does UNICODE work
uses variable length encoding assigning unique codes to each character.
what is a disadvantage of ASCII
does not support other languages other than english
What is a disadvantage of UNICODE
Requires more bits per character -> causing larger file sizes and slower processing times
What is sampling
How sound is converted into digital form
What are 2 ways to increase the quality of a sound
1) increasing the sample rate
2) increasing the sample resolution
What is Sample rate
Number of samples per second
What happens when increasing sample rate
the quality of the sound increases, but the file size increases
What is sample resolution
number of bits per sample
What happens when increasing the sample resolution
The quality of the sound increases, this allows for a more accurate data representation of sound, but increases the file size.
What are 2 types of sound files
1) MIDI
2) MP3
What are the features of MIDI file
1) stores a set of instructions
2) does not store actual sounds
2)data in the file has been recorded using digital instruments.
What are the features of MP3
1) format for digital audio
2) actual recording of the sound
3) recorded using a microphone
formula to find resolution
width x height
how to find colour depth
2^of how many colours there are
how to find total number of bits
number of pixels x colour depth