Notes-for-CAIE

Table of contents

3.4.1 Purposes of an operating system (OS)

Paging

w16 31 Q3

image

Page thrashing

w16 32 Q3.iv [1]

(Need only to remember the name ‘Thrashing’ but not definition)
Thrashing: When pages are loaded and unloaded simultaneously.

What is meant by page frame address

w16 33 Q3.a [1]

In case Page frame address is ‘245’,

What is meant by page

w19 33 Q6 [1]

What is meant by page frame

w19 33 Q6 [1]

What is meant by page table

w19 33 Q6 [1]

Difference between process and program

w15 31 Q6.a [2]

States of processors

w15 31 Q6.b [6]
w15 32 Q6.a, Q6.b [7]

RUNNING -> READY

w15 32 Q6.a [2]

READY -> RUNNING

w15 31 Q6.b [3]

RUNNING -> BLOCKED

w15 31 Q6.b [3]

BLOCKED -> READY

w15 32 Q6.a [2]

Why a process cannot BLOCKED -> RUNNING

w15 31 Q6.c [3]

Why a process cannot READY -> BLOCKED

w15 32 Q6.b [3]

When RUNNING process uses up its time slice

w18 31 Q5.a.ii [2]

Conditions for a process to READY -> RUNNING

w18 31 Q5.B.i [2]

Conditions for a process to BLOCKING -> READY

w18 31 Q5.B.ii [2]

Why scheduling (algorithms) is needed

w18 31 Q5.c [3]
s19 33 Q5 [3]

The role of high-level scheduler in a multiprogramming OS

w15 31 Q6.d [2]

The role of low-level scheduler in a multiprogramming OS

w15 32 Q6.d [2]

What is meant by an interrupt

w19 33 Q6 [1]

How interrupts help to solve unloaded paging problems

w16 32 Q3.b.ii [3]

3.4.2 Virtual Machine

How guest OS perform IO operation

w17 32 Q3.ii [3]

Describe the role of the virtual machine software in testing an application

w20 32 Q6 [3]

Using VM

Benefits

w17 32 Q3.b.ii [1]

Limitations

s16 31 Q3.b.ii [2] w17 32 Q3.b.ii [4]

3.4.3 Translation software

The benefit of code optimization

w15 33 Q3 [2]

The benefit of (Reverse Polish Notation) RPN

w16 31 Q3.c.iii [2]

Why no need for rules of precedence with RPN

w16 32 Q2.c.iii [2]

How RPN is used by an interpreter

s20 33 Q6 [2]

Phases of a Compiler

  1. Lexical analyzer
  2. Syntax analyzer
  3. Semantic analyzer
  4. Intermediate code generator
  5. Code optimizer
  6. Code generator

Tasks of Syntax analysis

w15 32 Q2.c.ii [2]