Chapter 1 - Binary Systems and Hexadecimals Flashcards
What is the denary system?
Number system based on the number 10
What is the binary system?
Number system based on the number 2
What is the hexadecimal system?
Number system based on the number 6
Used for memory dumps, HTML, MAC addresses, web addresses and assembly code/machine code
How do you convert from binary to denary?
Add the powers above the binary number, add up the binary numbers where the 1s appear
How do you convert from denary to binary?
Under powers, add 1s from right to left if it can add to the number
How do you convert from memory sizes?
add / divide by 1024
How do you convert from binary to hexadecimal?
convert each group of 4 binary digits to a hex value
How do you convert hexadecimal numbers to binary?
convert each letter/number into 4-bit binary
How do you convert hexadecimal numbers to denary?
Remember the place values and then multiply the hex number by this
How do you convert denary numbers into hexadecimal numbers?
convert from denary to binary to hexadecimal
How is hexadecimal used for memory dumps?
allows the contents of the memory to be seen by the writer when developing new software
enabling errors to be detected
also used in diagnostics when a computer malfunction (hex used as it is easier to use than a long string of binary values)
What is HTML used for?
hypertext markup language used for when writing and developing web pages (uses tags)
What is MAC addresses used for?
to uniquely identify a device on the internet (can be UAA or LAA)
first 6 digits for manufacturer code
How is hexadecimal used for web addresses?
ASCII codes can replace the URL (which are hex values)
How is hexadecimal used for assembly code / machine code?
makes it easier, faster and less error-prone in writing the code in binary