Question: When a program is executing, why is it loaded into the main memory first, instead of being kept on the hard disk while it's executing?

When a program is executing, why is it loaded into the main memory first, instead of being kept on the hard disk while it's executing? Also, all the programs are stored on the hard disk, why aren't they (not just the currently executing ones) always kept in main memory?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!