levo

Interrupts, Memory Management and Scheduling

Process states, time-slicing, polling and threading

  • 3 things to know
  • Component 2

Overview

Running, ready and blocked, what moves a process between them, and how time-slicing, polling and threads share one processor between many processes.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Process

What puts a process into the blocked state, and what does the scheduler then do?

Process

Name the three basic states of a process.

Process

What does it mean for a process to be running?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    Name the three basic states of a process.

    Model answer

    The three states are running, ready and blocked. A process is in exactly one of these at any moment.

  2. 2

    What does it mean for a process to be running?

    Model answer

    A running process is the one currently using the processor. Only one process per processor core can be running at a time.

  3. 3

    What does it mean for a process to be ready?

    Model answer

    A ready process could use the processor immediately but is waiting its turn. The process sits in the ready queue.

  4. 4

    What does it mean for a process to be blocked?

    Model answer

    A blocked process cannot continue until some event occurs, such as an input completing. The process is not considered for the processor while it is blocked.

  5. 5

    Describe the change of state when a running process asks to read from disc.

    Model answer

    The running process becomes blocked while the transfer takes place. The scheduler hands the processor to a ready process.

  6. 6

    Describe the change of state when the disc transfer a process waited for completes.

    Model answer

    The blocked process moves into the ready state. The process rejoins the ready queue and waits its turn.

Other ways to work this

The same content, four other ways.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

The 3-step method, run for you

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

Data Structures: Arrays, Records and Hash Tables
Stacks, Queues, Linked Lists and Trees
Boolean Logic and Simplification
Algorithms, Pseudo-Code and Programming Constructs

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

KDW to HAT.
decryptsencryptscompresses

Blank Blitz makes facts automatic

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

AThe two are not the same.
BOpen source refers to the availability of the code.
CMuch open source software is free of charge.

Build It gets the exam shape right

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

Backup means the copy of the data.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Interrupts, Memory Management and Scheduling, on a schedule.

Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.