1.1/2 Binary Systems & Hexadecimal Flashcards
Computer
An electronic machine for processing data
Why are computers useful?
They process data to make useful information.
Why must data be converted into binary form when it is input to a computer?
The processor inside a computer stores data using electrical switches that can be either on or off.
2 factors that increase the speed of a computer
- Adding more RAM to a computer. If there isn’t enough room in RAM, some of the data are stored outside of it and it is slower for the processor to access this data. Then the computer will go more slowly.
- Using larger registers. Computers with large registers can work on more data than those with small registers, so they usually work more quickly.
Why is the hexadecimal notation used to represent numbers?
- It is very easy to convert hexadecimal into binary and vice versa.
- Hexadecimal is much easier to read than binary.
- Hexadecimal numbers take up much less space than binary numbers.
- Mistakes are less likely to be made.
- It is easier to debug (find errors).
Uses of hexadecimal - MAC addresses
A MAC address is a UNIQUE address used to identify a device. It is a static address (it does not change). It is set by the manufacturer. It consists of 12 hexadecimal numbers. The first 6 digits represent the manufacturer’s identity, and the last 6 digits represent the serial number of the device.
Uses of hexadecimal - Memory dumps
Hexadecimal is often used when developing new software or when trying to trace errors in programs. Hexadecimal codes show the memory locations so that it is possible to find out exactly where in memory the fault occurs.
Uses of hexadecimal - Colour codes in HTML
HTML code is often used to represent colours of text on a computer screen. The values change to represent different colours.
eg. #FF0000 represents primary colour red