Aiming for the stars? Great, but did you have to build a rocket first.
--Your friends at LectureNotes

Note for Computer Organisation and Architecture - COA by Saltanat Akhtar

  • Computer Organisation and Architecture - COA
  • Note
  • uttar pradesh technical university - uptu
  • Master of Computer Applications
  • MCA
  • 3 Topics
  • 1 Offline Downloads
  • Uploaded 1 year ago
0 User(s)
Order Printed Copy

Share it with your friends

Leave your Comments

Text from page-1

2 COMPUTER ORGANISATION 2.1 INTRODUCTION In the previous lesson we discussed about the evolution of computer. In this lesson we will provide you with an overview of the basic design of a computer. You will know how different parts of a computer are organized and how various operations are performed between different parts to complete a specific task. As you know from the previous lesson the internal architecture of computer may differ from system to system, but the basic organization remains the same for all computer systems. 2.2 OBJECTIVES After going through this lesson you would be able to: l explain basic organization of computer system l define arithmetic logical unit, control unit and central processing unit l differentiate between bit, byte and a word l differentiate between primary memory and secondary memory l explain primary storage and secondary storage units 2.3 BASIC COMPUTER OPERATIONS A computer as shown in Fig. 2.1 performs basically five major opera-

Text from page-2

22 :: Basic Computing Skills tions or functions irrespective of their size and make. These are 1) it accepts data or instruction by way of input, 2) it stores data, 3) it can process data as required by the user, 4) it gives results in the form of output, and 5) it controls all operations inside a computer. We discuss below each of these operations. 1. Input: This is the process of entering data and programs in to the computer system. You should know that computer is an electronic machine like any other machine, which takes as input raw data and performs some processing giving out processed data. Therefore, the input unit takes data from us to the computer in an organized manner for processing. Fig. 2.1: Basic Computer Operations 2. Storage: The process of saving data and instructions permanently is known as storage. Data has to be fed into the system before the actual processing starts. It is because the processing speed of Central Processing Unit (CPU) is so fast that the data has to be provided to CPU with the same speed. Therefore the data is first stored in the storage unit for faster access and processing. This storage unit or the primary storage of the computer system is designed to do the above functionality. It provides space for storing data and instructions. The storage unit performs the following major functions:

Text from page-3

Computer Organisation :: 23 l All data and instructions are stored here before and after processing. l Intermediate results of processing are also stored here. 3. Processing: The task of performing operations like arithmetic and logical operations is called processing. The Central Processing Unit (CPU) takes data and instructions from the storage unit and makes all sorts of calculations based on the instructions given and the type of data provided. The result is then sent back to the storage unit. 4. Output: This is the process of producing results from the data for getting useful information. The results could either be displayed on the screen or may be printed for future reference. The output unit therefore allows the results to be either stored inside the computer for further processing or may give you the results in human readable form. 5. Control: The process of input, output, processing and storage is performed under the supervision of a unit called ‘Control Unit’. It decides when to start receiving data, when to stop it, where to store data, etc. It takes care of step-by-step processing of all operations inside the computer. 2.4 FUNCTIONAL UNITS In order to carry out the operations mentioned in the previous section the computer allocates the task between its various functional units. The computer system is divided into three separate units for its operation. These are 1) arithmetic logical unit, 2) control unit, and 3) central processing unit. (a) Arithmetic Logical Unit (ALU) After you enter data through the input device it is stored in the primary storage unit. Arithmetic Logical Unit performs the actual processing of data and instruction. The major operations performed by the ALU are addition, subtraction, multiplication, division, logic and comparison. Data is transferred to ALU from storage unit when required. After processing, the output is returned back to storage unit for further processing or getting stored. (b) Control Unit (CU) The next component of computer is the Control Unit, which acts like the supervisor seeing whether things are done in proper fash-

Text from page-4

24 :: Basic Computing Skills ion. The control unit determines the sequence in which computer programs and instructions are executed. Things like processing of programs stored in the main memory, interpretation of the instructions and issuing of signals for other units of the computer to execute them. It also acts as a switch board operator when several users access the computer simultaneously. Thereby it coordinates the activities of computer’s peripheral equipment as they perform the input and output. Therefore it is the manager of all operations mentioned in the previous section. Hardware Software Fig. 2.2: Computer Architecture (c) Central Processing Unit (CPU) The ALU and the CU of a computer system are jointly known as the central processing unit. You may call CPU as the brain of any computer system. It is just like a human brain that takes all major decisions, makes all sorts of calculations and directs different parts of the computer by activating and controlling the operations. Personal Computer Configuration Now let us identify the physical components that make the computer work. These are 1. Central Processing Unit (CPU) 2. Computer Memory (RAM and ROM) 3. Data bus

Lecture Notes