Definitions
Definitions
Natural Numbers (ℕ): The set of positive integers and 0. They can be used as
cardinal(counting) or ordinal(ordering) numbers. ℕ = {0, 1, 2, 3, ...}
Integers (ℤ): The set of numbers with no fractional part. The natural numbers are a subset of
the integers. ℤ = {..., -3, -2, -1, 0, 1, 2, 3, ...}
Rational Numbers (ℚ): The set of numbers that can be expressed as the ratio of two
integers. The integers are a subset of the rational numbers since all integers can be
expressed as a ratio with 1. ℚ = {0, ½, 0.75, 0.111111…, 300.5, -42, ...}
Irrational Numbers: Number which cannot be expressed as a ratio of two integers, and
hence do not lie within the set of rational numbers. {𝜋, √2, e, ...}
Real Numbers (ℝ): The set of numbers that can represent real world quantities and have an
imaginary part of 0. Rational and irrational numbers are all members of the real numbers. ℝ
={𝜋, 1.5, -7, ¾, 2, 100000000, -11.3432, ...}
Ordinal Numbers: Natural numbers used to describe numerical position or order of objects.
Binary: A number system that only uses ones and zeros to represent numbers (a base 2
system).
https://bit.ly/pmt-cc
https://bit.ly/pmt-edu https://bit.ly/pmt-cc
Decimal: A number system that only uses 10 characters (0 to 9) to represent numbers (a
base 10 system).
Number Base: The number of unique digits used by a particular number system to represent
numbers.
5.3.2 Units
Decimal Prefix: A prefix to a unit representing a power of 10. (kilo=103, mega=106, giga=109,
tera=1012)
Signed Binary: A binary number system that can represent both positive and negative
numbers.
Unsigned Binary: A binary number system that can only represent positive numbers.
Two’s Complement: A coding scheme used in signed binary to represent negative as well
as positive numbers. A negative number is represented by flipping all its digits and adding 1
to the most significant bit.
Exponent: A component of floating point form that stores the number of positions to move
the decimal point.
Fixed Point Form: A form used to represent numbers with a fractional part in any number
https://bit.ly/pmt-cc
https://bit.ly/pmt-edu https://bit.ly/pmt-cc
system. Digits after the fixed point are multiplied by the base raised to a negative power.
Floating Point Form: A form used to represent numbers with a fractional part in any number
system. The radix point is free to move due to the presence of an adjustable exponent.
Mantissa: A component of floating point form that stores the non-zero significant digits of a
number.
Rounding Errors: Errors inherently introduced to any calculations with fixed or floating point
numbers since they cannot store numbers with infinite precisions.
Absolute Error: The difference between the exact correct value and rounded value.
Relative Error: The percentage difference between the exact correct value and rounded
value.
Character Code: A unique binary representation of a character. Not to be confused with the
binary representation of a decimal digit, which is it’s numerical value in the binary system.
https://bit.ly/pmt-cc
https://bit.ly/pmt-edu https://bit.ly/pmt-cc
5.5.3 Error Checking and Correction
Check Digits: A method of checking codes for errors during data transmission by adding an
extra digit to the end (usually calculated/processed from digits in the code itself) that checks
whether the data is accurate.
Check Sums: A method of checking codes for errors during data transmission by calculating
the sum of transmitted digits.
Majority Voting: A method of checking binary codes for errors during data transmission by
sending each bit multiple times, in a set. The receiver takes the value with most occurrences
in a set as the value for that bit.
Parity Bits: A method of checking binary codes for errors during data transmission by
counting the number of ones and zeroes present.
Analogue Data: Data whose values can vary continuously and take on any value between
two extremes.
Analogue Signals: A transmission of a set of analogue data structures, that varies with time,
between computational processes.
Digital Data: Data whose values can vary discretely and can only take on one of a finite
number of values between two extremes.
Digital Signals: A transmission of a set of digital data structures, that varies with time,
between computational processes.
Bitmap Storage Requirements: The amount of storage required for a bitmapped image is at
https://bit.ly/pmt-cc
https://bit.ly/pmt-edu https://bit.ly/pmt-cc
least its (image size) × (colour depth).
Colour Depth: A measure of the amount of colour used in an image, expressed in terms of
the number of bits per pixel.
Image Size: The total number of pixels in an image expressed in terms of its dimensions:
(width in pixels) × (height in pixels).
Metadata: Data related to the image file data itself. This includes image properties such as
width, height and colour depth.
Vector Graphics: An image composed from mathematical coordinates and functions (lines
and curves).
Sound Sampling: The process of converting analogue sound waves to a digital waveform,
by storing a finite number of readings in binary.
Event Messages: Binary data transmitted between the MIDI device and computer processor
that carries properties controlling when and how sounds are produced.
MIDI: Musical Instrument Digital Interface is a protocol for ADC audio transmission to a digital
interface used for the majority of electronic musical instruments and computers.
Dictionary-based Coding: A type of lossless compression where text is searched for entries
that match the entries in a dictionary. Entries are substituted by a unique code which can
then be translated.
Lossless Compression: A compression algorithm that retains all the data in the file by only
storing the instructions needed to reconstruct the original file. No data is lost.
https://bit.ly/pmt-cc
https://bit.ly/pmt-edu https://bit.ly/pmt-cc
Lossy Compression: A compression algorithm that removes non-essential data from a file
leading to a noticeable decrease in accuracy of the data. Data lost is non-recoverable.
5.6.10 Encryption
Encryption: The process of converting the original data (plaintext) into a form which cannot
be understood by unauthorised users (ciphertext) using an encryption algorithm (cipher).
Caesar Cipher: A substitution cipher where each letter of plaintext is substituted for another
that is a fixed number of letters ahead in the alphabet, which becomes the ciphertext.
Vernam Cipher: A cipher that uses a one-time pad (a secret random key) to convert each
character to cipher text by modularly adding it with the corresponding character of the key.
This is impossible to decrypt without a key.
https://bit.ly/pmt-cc
https://bit.ly/pmt-edu https://bit.ly/pmt-cc