Professional Documents
Culture Documents
Subjects
Subjects
About Us
Support Us
Blog
Log InSign Up
2.
3.
A2 Level
Data representation
Communication and Internet technologies
Hardware
System software
Purposes of an operating system (OS)
OS Structure
Virtual machine
Translation software
Security
Artificial Inteligence
Computational thinking and problem-solving
System software
functions
Portability
Multitasking:
More than one program can be stored in memory, but only one can have CPU access at
Process:
A program being executed which has an associated Process Control Block (PCB) in
memory
PCB: a complex data structure containing all data relevant to the execution of a process
Process states
Interrupt:
Reasons
Errors
tasks.
Preemptive: Will stop the process that would have otherwise have continued to
execute normally.
First-come-first-served
Non-preemptive
Round-robin
Preemptive
Most complex
Paging:
Virtual memory:
Benefits
Process
Advertisement
OS STRUCTURE
An OS has to be structured in order to provide a platform for resource management and
the provision of facilities for users. The logical structure provides 2 modes of operation:
1. The user mode is the one available for the user or an application program.
2. Privileged/kernel mode has the sole access to parts of the memory and to certain
Virtual machine
Virtual machine:
Process interacts with software interface provided by the OS. This provides exact copy
of hardware.
Pros Cons
Allows more than one OS to run on a
Performance drop from native OS
system
Allows multiple copies of the same Time and effort needed for implementation
OS is high
Examples and usage:
Used by companies wishing to use the legacy software on newer hardware and server
consolidation companies
Virtualizing machines allows developers to test applications on a multitude of systems
Translation software
Lexical analysis: The process of converting a sequence of characters to a sequence of
tokens.
(syntax errors).
syntax analysis.
efficiency.
For interpreters:
Analysis and code generation run for each code line as above
Notatio
Meaning
n
::= Defined by
| OR
<x> Meta variable
RPN: Reverse Polish Notation
Example:
X + Y -> X Y +
Advertisement
Previous chapterSupport usNext chapter
Notes Information
Help us update!
Discuss on Discord
Download PDF
Resources
Report an Error