Data representation Flashcards
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