MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What happens during the execution process?
A
Processor sends control signals to the memory unit and peripherals according to the decoded instruction.
B
Processor decodes the instruction in the PC.
C
Processor decodes the instruction in the CIR.
D
None of the above
Explanation: 

Detailed explanation-1: -The CPU fetches the instructions one at a time from the main memory into the registers. One register is the program counter (pc). The pc holds the memory address of the next instruction to be fetched from main memory. The CPU decodes the instruction.

Detailed explanation-2: -The control unit fetches (gets) the instruction from memory. The control unit decodes the instruction (decides what it means) and directs that the necessary data be moved from memory to the arithmetic/logic unit.

Detailed explanation-3: -Control: The function of the control unit is to execute the instructions of a program, one by one, in the desired sequence. It interprets each instruction and then prompts its execution by one of the units like input, output, ALU, storage.

Detailed explanation-4: -The central processing unit (CPU) guides the computer through the various steps of solving a problem. Data enters the computer through an input unit, is processed by the central processing unit, and is then made available to the user through an output unit.

There is 1 question to complete.