levo

The Operating System and Its Modes

Managing peripherals, processes and memory protection

  • 3 things to know
  • Component 2
Start revising · £5/month

Overview

Process control block, how the operating system manages a peripheral device and memory protection.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Process

What is a process, and what does the operating system record about one?

Process

What is a process?

Process

State three items of information the operating system records about each process.

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is a process?

    Model answer

    A process is a program in the course of being executed. A process has its own area of memory and its own set of register values.

  2. 2

    State three items of information the operating system records about each process.

    Model answer

    The operating system records the process identifier and the current state of the process. The operating system also records the register contents saved when the process last stopped.

  3. 3

    What is a process control block?

    Model answer

    A process control block is the data structure holding all the information about one process. The block stores the identifier, the state, the priority and the saved registers.

  4. 4

    Explain how the operating system manages a peripheral device.

    Model answer

    The operating system holds a queue of requests for each device and issues them in turn. A device driver converts each request into the signals the device needs.

  5. 5

    Why can an application program not simply drive a peripheral directly?

    Model answer

    Direct access would let two programs use one device at once and corrupt the output. Direct access would also let a faulty program crash the whole machine.

  6. 6

    What is meant by memory protection?

    Model answer

    Memory protection stops one process reading or writing memory that belongs to another. The hardware checks every address a process uses against the limits it was given.

Other ways to work this

The same content, four other ways.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

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

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

KDW to HAT.
decryptsencryptscompresses

Blank Blitz consolidates the facts

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

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

Backup means the copy of the data.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

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

Every question in The Operating System and Its Modes, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

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