Section 3 - Data Representation - Part 1 Flashcards
What is a natural number?
A whole number that is used in counting
What is a rational number?
Any value that can be expressed as a ration or fraction
What is an irrational number?
A value that cannot be expressed as a fraction and has an endless series of repeating digits
What is a real number?
A real number is any natural, rational or irrational number. It is the set of all possible real world quantities
What are ordinal numbers?
Numbers that describe the numerical position of objects
What base is decimal?
10, with digits 0 - 9
What base is hexadecimal?
16, with digits 0 - 9 and A - F
What base is binary
2, with digits 0 and 1
How do you convert from binary to hex?
Split the binary number into groups of 4 binary digits and convert each group to their hex equivalent
How do you convert from hex to binary?
Convert each hex digit into the equivalent value with 4 binary digits
How do you convert from hex to decimal?
Multiply the left column by 16 and the right column by 1, then sum the results
How do you convert from decimal to hex?
Convert the decimal number to binary, then the binary into hex
Why is hex used?
- Fewer mistakes will be made when copying the value as it is shorter
- It is easier to remember
What is a bit?
A fundamental unit of information, either a single 1 or 0. They are used to represent the 2 electronic states (on and off)
What is a byte?
A set of 8 bits
What is a nibble?
A set of 4 bits