MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Data and Instructions in use are stored in the
A
Processor
B
Embedded System
C
Hard Disk Drive
D
Main Memory
Explanation: 

Detailed explanation-1: -Memory is the part of the computer that holds data and instructions for processing. Although closely associated with the central processing unit, memory is separate from it. Memory stores program instructions or data for only as long as the program they pertain to is in operation.

Detailed explanation-2: -An instruction, stored in the memory, is fetched into the control unit by supplying the memory with the address of the instruction. The control unit decodes the instruction in order to find the sequence of operation necessary to execute it.

Detailed explanation-3: -Main memory offers very fast read/write speeds but is typically much lower capacity than secondary storage devices. The RAM inside a computer holds all of the data and instructions that are currently being processed. In order for any program to be executed, it must first be loaded into the RAM from Secondary storage.

Detailed explanation-4: -data and instructions are both stored together in the same RAM. instructions are fetched from memory one at a time and in order-serially. the processor decodes and executes an instruction, before cycling around to fetch the next instruction. the cycle continues until no more instructions are available.

Detailed explanation-5: -Firstly, all instructions and data are fetched, decoded, and executed in a sequence by the CPU. Then, all instructions and data are stored in binary code. Finally, both the instructions and data are stored in main memory so they can be used by programs. Both Data and Instructions are stored in the same Memory location.

There is 1 question to complete.