levo

The Operating System and Its Modes

Managing peripherals, processes and memory protection

  • 3 things to know
  • Component 2

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.

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 The Operating System and Its Modes, 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.