Data Representation Flashcards
What are natural numbers
numbers used for counting and ordering including 0
what is an integer
any positive or negative whole number
what is a rational number
includes numbers that can be expressed as a fraction or ratio
what is irrational number
a number which cannot be expressed exactly as a fraction
what is a real number
a number that is either rational or irrational is considered a real number
what is an ordinal number
a number usef to show the position of which a value appears such as 3rd 4th 5th
benefits of using hexadeciamal ?
- much easier to read and remember than a string of binary
- quicker to write ortype since hex takes up only one character not four
- there is a less change of making an error when typing hex
- used to define colours, used in MAC, in assembly languages and machine code
- easy to convert to and from binary
what is two’s complement and the method?
it is a method to represent negative values in binary by representing the MSB as -128
Find -x in binary
- find the value of x in binary
- flip the bits of x in binary
- add 1 to the result
what is fixed point binary
binary value uses a specified number of bits where the placement of the binary point is fixed
The common prefixes used to represent bytes
Uncommon, more accurate prefixes to represent bytes
What is ASCII
a way of represnting each character on a keyboard as a binary value.
what is Unicode
was introduced to standardise the encoding of chracters from all languages.
what is a transmission error
when data doesnt always arrive in the same format it was sent, due to -
- electrical interference
- power surges
- synchronisation issues
these cause bits to flip and data to be corrupted
what are the four methods of error detection
- parity bits
- majority voting
- check digits
- checksums
- check digits
How is a parity bit used for error detection
- the parity bit is set at the transmittieng end and parity is checked at the recieving end
- if the wrong number of bits are on, an error has occured
- the recieving computer requests the data