Question 1. What is a computer? A computer may be defined as a machine which accepts data from an input device, processes it by performing arithmetical and logic operations in accordance with a program of instructions and returns the results through an output unit. | 1 Computer system Computer System Book I computer system fundamentals. Chapter 1 INTRODUCTION TO COMPUTER. Question 1. What is a computer A computer may be defined as a machine which accepts data from an input device processes it by performing arithmetical and logic operations in accordance with a program of instructions and returns the results through an output unit. A computer is basically an electronic machine operating on current. Question 2. Components of a Computer system A computer system comprises of the following components 2 1. Central Processing Unit CPU . - CPU is the heart of the whole sys - CPU consists of the control unit CU arithmetic logic unit ALU accumulator ACC program counter PC instruction register IR memory address register MAR memory data register MDR status register SR general purpose register - The function of each components of CPU Control unit control and co_ordinate all hardware functions of the CS. examine and decode all program instructions to the computer and initiate their execution by sending the appropriate signals. ALU performs all arithmetic addition subtraction multiplication division exponentiation and logic comparision two values functions required by computer. ACC holds the f irst operand of the temporary result of the ALU. PC contains the add of the next instruction to be excuted. IR contains the current instruction to be executed. Main memory MAR holds the address location to or from which data is to be transferred MDR contains the data to be written to or read out of the addressed location. SR keeps track of the status of the accumalator. General Purpose Register for general purpose procedures. 3 Please refer to diagram for an illustratin of the basic components of the CPU. CPU . . 1 ----- Control unit i i 1 1 --------------1---- ----- Arithmetic Logic Unit - Accumulator Program Couter . L . i to main J Instruction J Register ii J---------------- Mempry Address Register Memory Data Register Status .