COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

OPERATING SYSTEMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
When a program is loaded, what does the operating system do?
A
Defragment the memory
B
Extend the amount of virtual memory
C
Allocate memory for the program
D
Defragment the drive the program was loaded from
Explanation: 

Detailed explanation-1: -The OS allocates the memory for global and static variables when it loads the program into memory and doesn’t deallocate it until the program terminates. Values stored in these variables do not change unless the program explicitly changes them (barring changes made by external-outside of the program-systems).

Detailed explanation-2: -When a program is loaded into the memory it is called as process.

There is 1 question to complete.