3.3 Fundamentals of data representation Flashcards
What base is decimal?
base 10
What base is binary?
base 2
What base is denary?
base 16
why is hexadecimal often used in computer science
often used in computer science as hexadecimal can be expressed more compactly/use fewer digits than binary
What does b represent?
bit
What does B represent?
byte
What is a bit?
a bit is the fundamental unit of information
What is a byte?
a byte is a group of 8 bits
What is the unit for a kilobyte?
kB
What is the unit for a megabyte?
MB
What is the unit for a gigabyte?
GB
What is the unit for a terabyte?
TB
How many bytes is one kilobyte?
1,000 bytes
How many bytes is one megabyte?
1,000 kilobytes
How many bytes is one gigabyte?
1,000 megabytes
How many bytes is one terabyte?
1,000 gigabytes
Why are binary shifts used?
Binary shifts can be used to perform multiplication/division by powers of 2.
Define character set
A character set is the defined list of characters recognised by the computer
Examples of character sets:
- ASCII
- Unicode
What is “A” in ASCII?
65
What is “a” in ASCII?
97
What is “0” in ASCII?
48
When do Unicode use the the same codes as ASCII
Up to 127
What is the purpose of ASCII?
- Used to represent characters in the English language