ExamVeda
Login
Home
21
Which type of memory is used to store data temporarily during program execution?
Discuss
Answer & Solution
Answer: Option C
Solution:
RAM (Random Access Memory) is the primary memory used to store data and instructions temporarily during program execution.

RAM is volatile memory, which means that its contents are lost when the computer is switched off or loses power. It provides the CPU with fast access to the data and instructions required while programs are running.

Option A: ROM
ROM (Read-Only Memory) is non-volatile memory mainly used to store firmware and permanent instructions. Its contents are retained even when the power is turned off.

Option B: Cache Memory
Cache memory is a very fast, small memory located close to or within the CPU. It stores frequently accessed data and instructions to improve processing speed, but it is not the computer's main memory.

Option C: RAM
RAM temporarily stores the data, programs, and instructions currently being used by the CPU during program execution.

Option D: Hard Disk
A hard disk is secondary storage used to store data and programs permanently. It retains data even when the computer is switched off.

Hence, Option C — RAM is the correct answer.
22
In a computer system, what is the function of the Address Bus?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
23
What does the term "pipeline hazard" refer to in computer architecture?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
24
Which cache is larger and slower compared to L1 and L2 caches in a computer system?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
25
What does the term "bus width" refer to in computer architecture?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
26
Which type of memory is used to store the operating system and application programs in a computer system?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
27
What is the purpose of the Control Unit (CU) in a CPU?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
28
Which type of memory is directly accessed by the CPU during program execution?
Discuss
Answer & Solution
Answer: Option B
Solution:
The correct answer is B: RAM (Random Access Memory)

Let's break down why:

A: Cache Memory
While the CPU uses cache memory, it's not directly accessed for every instruction.
Think of it as a small, super-fast storage for frequently used data from RAM.
The CPU first checks the cache.
If the data is there ("cache hit"), it's used.
If not ("cache miss"), the CPU fetches it from RAM.

B: RAM (Random Access Memory)
RAM is the main memory of a computer.
When a program is running, its instructions and data are stored in RAM so the CPU can access them quickly and directly.
The CPU fetches instructions and data directly from RAM to execute the program.

C: Hard Disk
The hard disk is for long-term storage.
It's much slower than RAM.
Programs and data need to be loaded from the hard disk into RAM before the CPU can use them.
The CPU does not directly execute code or access data directly from the hard disk.

D: None of the above
Since RAM is directly accessed, this option is incorrect.

In summary: The CPU uses RAM to directly access and execute programs and their data during program execution.
29
What does the term "instruction set architecture" (ISA) define in computer architecture?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
30
In a computer system, what does the term "fetch-decode-execute cycle" refer to?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board