Which component of a computer executes the program and how?
Answers
Answered by
62
Answer:
CPU
The CPU executes a program that is stored as a sequence of machine language instructions in main memory. It does this by repeatedly reading, or fetching, an instruction from memory and then carrying out, or executing, that instruction.
Answered by
452
Answer:
of a computer system executes the program.
The program is executed in following manner :-
- When a program reaches into memory, the control unit (CU) of CPU reads the program instruction.
- The CU then determines the type of instruction i.e., whether it is an arithmetic (calculations) or logical (comparisons) or l/O (reading or writing) type of instruction.
- For arithmetic or logical type of instructios, CU directs the ALU (Arithmetic and Logic unit) to carry out the instructions.
- For input type of instruction, CU directs the Input unit to carry out the instruction and for Output type of instruction, it directs the output unit to carry out the instruction.
Similar questions