Data representation Flashcards
(36 cards)
What is a bit?
A single 0 or 1
What is a byte
8 bits
What is a nibble
4 bits
How many bytes in a kilobyte
1000
What is the most significant bit?
The bit with the largest value (128)
What is the least significant bit?
The bit with the smallest value.
How can we convert 8 bit binary to hex?
Split the binary into two four bit binary, and convert each one into the relevant hex value.
Vice versa for hex to binary
Why is hexadecimal used?
Simpler to remember than binary
Quicker to write or type as it uses 1 digit rather than 4 bits
People less likely to make an error
Easier to convert into binary
What is an overflow error when adding binary
When the result of an addition is too large for the number of bits the computer works with
What is a character set?
A set of letters, symbols and digits that can be represented by a computer
What does ASCII stand for?
American Standard Code for Internet Interchange
What does concatenate mean?
Two strings that are joined together.
How many bits does ASCII use?
7 bits, which means that 128 characters can be stored
Why is Unicode also used as a character set?
Unicode is used as it can store more characters from many different languages
It can also store emojis
What is pixel an abbreviation of?
Picture element
What is a pixel?
The smallest identifiable element of an image
What is resolution?
Resolution is the concentration of pixels within a specific area
72 PPI - 17 pixels per inch
How can we work out the number of different colours that are available using the colour depth?
2^bit depth = number of colours
A colour depth of 4 means 2^4 colours, which is 16
How can we work out the file size of an image?
Resolution x bits per pixel
What is metadata?
Other information about the data
Colour depth
Resolution
Date created
Author
What is ADC
Analogue to Digital Converter
What is DAC
Digital to Analogue Converter
What is the sound sample?
A measure of amplitude of a soundwave at a given time
What is sample resolution?
The bit-depth (how clear the sound is)