A multitasking operating system.
its primary or main memory. all the programs(active or programs currently running on the processor) including operating system reside in RAM .
A Multitasking Operating System
This is not always true, it depends on the operating system and the bootstrap process.
The operating system resides in secondary memory i.e., hard disk.when we boot our computer it is loaded into Primary memory i.e.,RAM and then loaded,this process is called booting
Both. The software resides in the nonvolatile memory when it is not being run, and a copy is loaded into main memory when it is being run. Programs have to reside in RAM in order for the CPU to process their instructions.
The memory used by the operating system, which is protected and cannot be accessed by regular applications. Virtual memory can be used to page some of the kernel in memory to disk. However, there is always a certain part of the kernel that must reside in physical memory at all times and cannot be swapped out.
Hard Disk
High speed memory that reside between the microprocessor and RAM in a computer.
Your Hard Disk is where programs and data are stored for later retrieval ( excluding virtual memory) . If a program is in execution it has to be loaded in the memory (by memory I mean the RAM), So your Java Heap has to be in the RAM and cannot reside on the Hard disk.
eal4
your disk drive.
address bus