1.01 - Number systems Flashcards
What is the base of denary numbers?
10
What is the base of the binary numbers?
2
How is each digit represented in the binary number system?
1s and 0s
A group of eight bits is called…
… a Byte
list
2 (to the power 0) - 2 (to the power 8)
1
2
4
8
16
32
64
128
256
Base of hexadecimals?
base 16
How are hexadecimal digits represented?
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
A=10, B=11, C=12, D=13, E=14, F=15
What is a group of four bits?
A nibble
How many hexa decimal digits can be used represent a nibble?
One. This means that two can be used to represent a byte of binary code
Example of when hexadecimal representations of bytes occur
When an error has occured during the execution of a program. A memory dump is provided which has a hexadecimal representation of the content of some chosen part of the memory.
How to convert Denary to binary?
Divide the denary number by 2. Remainders are the binary numbers.
Leading zeros are ignored however a binary code must not include blanks
How to convert binary to denary?
Multiply the binary number with the squares of 2. Add all the answers.
How to convert denary to hexadecimal?
Divide the denary number by 16. Remainder is the hexadecimals value.
How to convert hexadecimal to denary?
Multiply the hexadecimal value by the squares of 16. Add all the answers