Chp 1 Flashcards
What’s the basic building block in all computers
Binary number system
Why is the binary number system chosen
It only consists of 1s and 0s since computers contain many switches which must be in or off position, they can be represented by the binary system on is 1 and a off is a 0
Denary is known as a
Base 10 number system
What is the binary number system
Base 2 number system
Convert the number 11101110 into denary
238
Convert 011110001011 into denary
1931
Convert 142 into binary
10001110
Convert 59 into binary
00111011
Hexadecimal number system
Base 16 system
Convert 101111100001 into hex
BE1
Convert 11000011 into hex
C3
Convert 11000011 into hex
C3
Convert 45A into binary
010001011010
Convert BF08 into binary
1011111100001000
45A into denary
4 x 256 + 5 x16 + 10 x1 = 1114
Conger C8F into denary
12 x 256 + 8 x 16 + 15x1 = 3215
Convert 2004 into hex
/ 16
7D4
Convert 2004 into hex
/ 16
7D4
Convert 8463 into hex
210F
Why would you use hex instead of binary i
It’s more convenient to use. The hex number is easier for humans to remember copy and work with
Error codes
Their shown in hex values
These numbers refer to the memory location of the error and are usually automatically generated by the computer. The programmer needs to know how to interpret the hexadecimal error coded.
When is hex used in a computer
Error codes
MAC address
IPv6 addresses
HTML colour codes
MAC addresses (media access control)
Refers to a number which uniquely identifies a device on a network. The Max address refers to the network interface card NIC which is part of the device. The MAC address is rarely changed so that a particular device can always be identified no matter where it is.
Mac address structure
(NN-NN-NN) first half and it indentured the number of manafacturer of the device and the second half (DD-DD-DD) is the serial number of the device