1.5.5

Memory & Process Management

Test yourself on Memory & Process Management

Test your knowledge with free interactive questions on Seneca — used by over 10 million students.

Memory and Process Management

As with all hardware in the computer, the memory (RAM) and central processing unit (CPU) must be managed by a part of the operating system.

Purpose of memory manager

Purpose of memory manager

  • The memory manager controls the allocation of random access memory (RAM) to each running process.
  • If the memory manager fails to manage memory well, then the computer will slow down and might crash.
  • The memory manager moves data from secondary storage into RAM.
    • The data can be removed from RAM when no longer needed.
Purpose of process manager

Purpose of process manager

  • Modern operating systems allow users to run multiple programs at once.
  • In reality, a CPU can only execute one process at a time. So the CPU must switch between processes so quickly that it seems that they are running simultaneously.
Memory allocation

Memory allocation

  • The Operating System assigns memory in RAM when an application/process starts.
  • If an application/process requires more memory, the OS will assign it more memory. The OS must be careful not to overwrite memory allocated to any other applications/processes running.
Multitasking

Multitasking

  • Modern operating systems allow multiple applications to run at once. This is known as multitasking.
  • For this to work, the operating system must manage how memory and CPU time is allocated to each running process.
Multitasking (cont.)

Multitasking (cont.)

  • If there is only one CPU, the tasks of each different application/process are managed by the OS to appear as if multiple are running at the same time.
    • It does that by quickly swapping between the instructions of the different applications/processes running.
  • The OS assigns processes/applications to each core so that more than one set of instructions is being executed at the same time.
Jump to other topics
1

Computer Systems

1.1

Systems Architecture

1.2

Memory & Storage

1.3

Computer Networks, Connections & Protocols

1.4

Network Security

1.5

Systems Software

1.6

Ethical, Legal, Cultural & Environmental Concern

2

Computational Thinking, Algorithms & Programming

2.1

Algorithms

2.2

Programming Fundamentals

2.3

Producing Robust Programs

2.4

Boolean Logic

2.5

Programming Languages & IDEs

Practice questions on Memory & Process Management

Can you answer these? Test yourself with free interactive practice on Seneca — used by over 10 million students.

  1. 1
  2. 2
  3. 3
  4. 4
    What is multi-tasking?Multiple choice
  5. 5
Answer all questions on Memory & Process Management

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium