SSC MTS EXAM

SSC

COMPUTER

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is the function of the Central Processing Unit (CPU)?
A
To act as a permanent data store
B
To act as a temporary data store
C
To fetch, decode and execute instructions
D
To hold computer programs while they are being used
Explanation: 

Detailed explanation-1: -The four primary functions of a processor are fetch, decode, execute and write back. Fetch-is the operation which receives instructions from program memory from a systems RAM. Execute-is where the operation is performed. Each part of the CPU that is needed is activated to carry out the instructions.

Detailed explanation-2: -The CPU works by following a process known as ‘fetch, decode and execute’. The CPU fetches an instruction from memory, decodes this instruction and then executes it. The CPU carries out this cycle continuously, millions of times per second.

Detailed explanation-3: -Decode stage The decoding process allows the CPU to determine what instruction is to be performed so that the CPU can tell how many operands it needs to fetch in order to perform the instruction. The opcode fetched from the memory is decoded for the next steps and moved to the appropriate registers.

Detailed explanation-4: -Fetch – gets the next program command from the computer’s memory. Decode – deciphers what the program is telling the computer to do. Execute – carries out the requested action. Store – saves the results to a Register or Memory.

There is 1 question to complete.