home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 10: Diskmags / nf_archive_10.iso / MAGS / STOSSER / STOSSE06.MSA / ISSUE_6 / 12.PNE < prev    next >
Text File  |  1987-04-22  |  4KB  |  122 lines

  1.  
  2.                     COMPUTING FOR THE COMPLETE NOVICE
  3.                     *********************************
  4.  
  5.                               PART 2
  6.                               ******
  7.  
  8.                              by KEEFY
  9.                              ********
  10.  
  11.  Well, here we are again  with  the second little part in the series which 
  12. goes  right down to the  basics.   How are you finding it so far?, ( easy
  13. i hope!). This issue we're going to have a good old dig around under the 
  14. covers of a computer and see what makes it tick, looking at the CPU and 
  15. memory. If there are any of you out there who particularly like this 
  16. section then write and let us know, also write if you hate it or if you 
  17. think i've got something wrong.  After all, i'm miles away from being 
  18. perfect. Right, i suppose i'd better get started hadn't i, before you all
  19. fall asleep, and we wouldn't want that would we.
  20.  
  21.                            THE FOUR STAGE MODEL
  22.                            ********************
  23.  
  24. There are four main components to  any computer system and they are....
  25.  
  26. INPUT.....Placing    the   data    and instructions into the CPU.
  27.  
  28. CPU.......Central Processing Unit. Data is processed according  to  the 
  29. instructions.
  30.  
  31. OUTPUT....Data, instructions and results are shown on screen, printed and 
  32. stored.
  33.  
  34. AUXILIARY  STORAGE......Any  method  of  storing data, instructions and 
  35. results which can be used as input at a  later date.
  36.  
  37. The Central Processing Unit is the main part of the system, and all data 
  38. is processed there. However, processing power is not enough; there must be 
  39. some way of inputting data to be processed, and some way of collecting the 
  40. results.  Also most of the advantages of using a computer would be lost if 
  41. instructions and data had to be keyed in each time the computer was needed  
  42. so storage of information in a form the computer can understand is 
  43. essential.
  44.  
  45.  
  46.   The  brain of the  computer is the Central Processing Unit, or CPU. Any 
  47. other device which may be used is called a Peripheral Device. Input,Output  
  48. and Auxiliary Storage devices are also peripheral devices. This means they  
  49. are connected to and controlled by the CPU.  
  50.  
  51.    The CPU contains three main parts: 
  52. 1. A CONTROL UNIT controls the flow of data around the computer system, 
  53. including the movement of information between units.
  54.  
  55. 2.  An INTERNAL MEMORY stores the data and programs to be processed.
  56.  
  57. 3.  An ARITHMETIC and LOGIC UNIT (called the ALU) compares data and deals 
  58. with computations.
  59.  
  60.  
  61.                                   MEMORY
  62.                                  ****** 
  63.  
  64. A computer stores data in the form  of binary digits. Every peice of 
  65. information is converted to a mathematical basis for storing and 
  66. processing.  
  67.  
  68.   Using binary numbers (instead of the tens, hundreds, etc) means that it
  69. only uses a base of 2.(The computer can only switch electricity on and 
  70. off). There are only 2 digits the computer can use.  0 meaning nothing,and 
  71. 1 meaning something. Each time the units go above 1, a digit must be 
  72. transfered to a new column on the left. 
  73.  
  74. for example:
  75.  
  76. 1=1
  77. 2=10
  78. 3=11
  79. 4=100
  80. 5=101
  81. 6=110
  82. 7=111
  83. 8=1000      ETC....ETC....
  84.  
  85. Converting  from base 10 to base 2 is quite easy (although it is easier if 
  86. you use a calculator! ).  All you have to do is divide the number you want 
  87. to convert by 2 and then see if you have a remainder, 0 for no remainder, 
  88. 1 for a remainder. Then divide the number you get by two and so on and so 
  89. on.
  90.  
  91.  For example:
  92.  
  93. 50 / 2 = 25 remainder 0
  94. 25 / 2 = 12 remainder 1
  95. 12 / 2 = 6  remainder 0
  96. 6  / 2 = 3  remainder 0
  97. 3  / 2 = 1  remainder 1
  98. 1  / 2 = 0  remainder 1
  99.  
  100. You then read the remainders from  the bottom up to get:
  101.  
  102.  110010 
  103.  
  104. And  i think you'll find that that  is 50 in binary. ( i hope!)
  105.  
  106.  Each digit is a BIT of information or data.
  107.  
  108.  8 BITS = 1 BYTE
  109.  1024 BYTES = 1 KILOBYTE
  110.  1000 KILOBYTES = 1 MEGABYTE
  111.  
  112. A  WORD of information  consists of enough BITS to give your computer  one 
  113. complete   instruction, and will probably  sometimes contain more than one 
  114. byte of data. It is the maximum size of one machine instruction, ie 8 bit, 
  115. 16 bit, etc...............
  116.  
  117. Right, thats enough for this month i think, i'll be back next issue (i 
  118. hope), so i'll see ya then. If you can stand it that is!.
  119.  
  120.    
  121.  
  122.