(5) Data Representation Flashcards
What is natural numbers and its symbol?
All positive numbers whole numbers (integers) including zero
Symbol: N
What is integer numbers and its symbol?
All whole numbers including negatives and zero
Symbol: Z
What is rational numbers and its symbol?
Numbers that can be expressed as fractions
Symbol: Q
What is irrational numbers?
Numbers that cannot be expressed as a fraction
What is real numbers and its symbol?
Any number that isn’t infinity or imaginary
Symbol: R
What is ordinal numbers?
Numbers that can describe the position of an object
Why is hexadecimal used?
- Easy to represent a byte with two digits
- Easier for humans to remember
What is Unsigned and signed binary?
Signed binary - Binary values that can store both positive and negative values
(We use two’s compliment to represent this)
Unsigned binary - Binary values that can only store positive values
What are the advantages and disadvantages of fixed point(Signed Binary) and floating point(2s Complement) forms in terms of range, precision and speed of calculation?
Fixed point
+Allows for much faster processing compared to floating point numbers as no processing is required to move the binary point
+The absolute error will always remain the same, unlike floating point numbers
Floating point
+Wider range of numbers can be produced with the same number of bits as the floating point system
+
Why is floating point numbers normalised?
Allows the maximum possible precision with a given number of bits
Explain underflow and overflow and describe the circumstances in which they occur.
Overflow - When the number is too large for the number of bits allocated
Underflow - When the number is too small for the number of bits allocated
What is ASCII and Unicode?
ASCII - Represent a small range of 128 characters, uses 7/8 bits(1 including error checking digit)
Unicode - ASCII including alphabets for other languages and emojis, uses 16/32 bits
What is a parity bit?
An error checking digit used to check if the data has arrived correctly
There’s odd and even parity
What is majority voting?
Requires each bit to be sent three times. If a bit is flipped due to an error during transmission the computer would use the majority rule and assume the two bits unchanged where correct.
How does bit patterns represent bitmap graphics?
A bitmap image contains many pixels that make up the whole image. A pixel is the smallest element of a bitmap.
How does bit patterns represent sound?
This can be done by measuring and recording the amplitude of the sound wave, using a microphone, at given intervals. The more frequent the samples are taken, the more accurate the sound will be presented.
What’s the difference between analogue and digital?
Involving data and signals
Analogue data - Data that is infinitely variable and are often represented in the form of a wave
Digital data - Represented as discrete values