Discuss the functioning of a computer and it's 3 main unit
Answers
Answer:
A computer consists of five functionally independent main parts input, memory, arithmetic logic unit (ALU), output and control unit. Input device accepts the coded information as source program i.e. high level language. ... All of these actions are coordinated by the control unit.
Answer:
The four basic functions of a computer are: input, storage, processing, and output. The computer operates according to instructions stored in its own memory unit and can accept inputted data, process that data arithmetically; and through sequence-based logic, it can produce information and store the results for future use. All the applications of a computer derive from one of these four functions.
Central Processing Unit (CPU): Once the information is entered into the computer by the input device, the processor processes it. The CPU is called the brain of the computer because it is the control center of the computer. It first fetches instructions from memory and then interprets them so as to know what is to be done. If required, data is fetched from memory or input device. Thereafter CPU executes or performs the required computation and then either stores the output or displays on the output device. The CPU has three main components which are responsible for different functions – Arithmetic Logic Unit (ALU), Control Unit (CU) and Memory registers
Arithmetic and Logic Unit (ALU) : The ALU, as its name suggests performs mathematical calculations and takes logical decisions. Arithmetic calculations include addition, subtraction, multiplication and division. Logical decisions involve comparison of two data items to see which one is larger or smaller or equal.
Control Unit : The Control unit coordinates and controls the data flow in and out of CPU and also controls all the operations of ALU, memory registers and also input/output units. It is also responsible for carrying out all the instructions stored in the program. It decodes the fetched instruction, interprets it and sends control signals to input/output devices until the required operation is done properly by ALU and memory.
Explanation: