Computer memory can be divided into primary/main memory and secondary memory. Primary memory is directly accessible by the CPU and can be volatile, losing data on power loss. It includes RAM (random access memory) such as SRAM and DRAM. Secondary memory includes non-volatile storage like hard disks, CDs, DVDs that are accessed via I/O. The document discusses different types of primary memory like cache, RAM, ROM and their characteristics. It also covers memory management techniques like paging, segmentation and virtual memory that allow accessing more memory than physically installed.