Final Answer:
Swap space exists in b) Secondary memory.
Step-by-step explanation:
Swap space is a part of secondary memory. In computer systems, especially those running on operating systems like Linux and Windows, swap space is used as a virtual memory extension. When the physical RAM (primary memory) is fully utilized, the operating system swaps out less frequently used data or entire processes from RAM to the swap space on the hard drive or SSD.
This allows the system to free up RAM for more active processes. Since swap space is a reserved area on the disk, it falls under the category of secondary memory, distinct from the primary memory (RAM) or the CPU.
Option B is the answer.