CS 101 GDB Solution Fall 22 by getready
SOLUTION:
• RAM, or random access memory (RAM), powers
computer software applications as they work.
• Because the CPU is unable to directly execute from the
hard disk, even tens of millions of times slow
performance is acceptable, it is not possible to do so. In
addition, loading the entire program before execution
begins may cause excessive delays in starting
• The CPU or processor cannot directly access the
secondary memory. The operating system loads any
process into the main memory, which is smaller in size
and can be directly accessed by the CPU in order to
execute it.
• Since there is no program in the computer's central
processing unit (CPU) main memory, the process must
load the program into memory before it can run
• The CPU does not directly access the secondary
memory. Instead, data accessed from a secondarymemory is first loaded into RAM before being sent to
processing
• The processor cannot execute the code unless it is in the
memory space that can be addressed by the processor
(iLe. RAM or ROM) Since the processor cannot
address a hard disk, programs cannot be run without
first being loaded into.