4.5 Fundamentals of Data Representation
4.5 Fundamentals of Data Representation
N = {0, 1, 2, 3, …}
When objects are placed in order, ordinal numbers are used to tell their position.
For example, if we have a well-ordered set S = {a, b, c, d}, then a is the
1st object, b the 2nd, and so on.
binary (base 2)
Be familiar with, and able to use, hexadecimal as a shorthand for binary and to
understand why it is used in this way.
ℹ A bit is either 0 or 1.
4.5.3.2 Units
Know that quantities of bytes can be described using binary prefixes
representing powers of 2 or using decimal prefixes representing powers of 10, eg
one kibibyte is written as 1KiB = 210 B and one kilobyte is written as 1 kB = 103 B.
Know the names, symbols and corresponding powers of 2 for the binary
prefixes:
kibi, Ki - 210
mebi, Mi - 220
gibi, Gi - 230
tebi, Ti - 240
Know the names, symbols and corresponding powers of 10 for the decimal
prefixes:
kilo, k - 103
mega, M - 106
giga, G - 109
tera, T - 1012
ℹ Historically the terms kilobyte, megabyte, etc have often been used when
kibibyte, mebibyte, etc are meant.
Know that in unsigned binary the minimum and maximum values for a given
number of bits, n, are 0 and 2n − 1 respectively.
Be able to calculate the relative error of numerical data stored and processed in
computer systems.
Compare absolute and relative errors for large and small magnitude numbers,
and numbers close to one.
parity bits
majority voting
checksums
check digits
data
signals
Know that the most common use for a DAC is to convert a digital audio signal to
an analogue signal.
resolution
colour depth
size in pixels
sample resolution
Understand the difference between lossless and lossy compression and explain
the advantages and disadvantages of each.
Explain the principles behind the following techniques for lossless compression:
dictionary-based methods
Be familiar with Vernam cipher or one-time pad and be able to apply it to encrypt
a plaintext message and decrypt a ciphertext.