cs revison (denary to hex (to convert 182 in denary into hex the first…
denary to hex
to convert 182 in denary into hex the first step is to work out how many groups of 16 there are in 182
secondaly work out how many units are left over.
182/16 = 11 remainder 6
11 is b in hex. 6 is just 6! so 182 denary = B6 hex
alternativley, you can convert the denary to binary first and then convert the binary to hex.
hex numbers are shorter
more memorable than equivalent binary numbers can be easily be converted to and from binary each hexadecimal digit corresponds to 4 binary digits
you use hexidecimal because its much easier to express binary number representations in hex
base 2 number system and is made up to 1's or 0's (on or off)
binary is the primary language of the computer
base 16 which is made up of A,B,C,D
eg. 11 is B in hex, 6 is just 6 so 182 in denary = B6 hex
base 10 number systems that uses numbers 1,2,3,4,5,6,7,8,9,
denary also means decimal
easier to express binary number representations in hex computers don't work in hex
where would be a good example to use it
hexadecimal can be used to write large binary numbers in a few digits
you look at which letter represents the number
von neuman architecture
this is deisgned to contain arithmetic logic in computers.
it is based on the stored program computer concept
all the data is stayed in the same memory
fetch execute cycle
the fetch cycle is the basic operation, cycle of the computer.
the process is: the computer retireves a program instruction from its memory. it then establishes and carries out the actions that required of that instruction.
the fetch execute cycle, main job is to excute a program, this happens when you first turn on your computer, the program code is copied from secondary stage into the main memory
blue ray, cd, dvd, floppy drive, hard drive
registers and buses
a bus structure is the other hand and efficiently transfers information between registers.
a bus consists of a set of common lines, one for each bit of common lines, one for each bit of register, though which binary information is transferred one at a time
input & output devices
10 input devices
mouse, light pen, magnetic scanner, touch screen, microphone, voice input, joystick, camera, web cam, keyboard, mouse