System software notes
10cs52(vtuplanet.com), Lecture notes of
System Programming
Segmentation is where the data is separated logically into chunks of unequal size to
keep certain code together called segments (such as loops, where, if separated,
would be inefficient). The data is then put together in a logical order to get the most
out of the memory available.
- Both split up files into chunks
- Both try to use the most out of RAM
- Both ways of partitioning / splitting up memory
- Use virtual memory / backing store to swap parts of programs
- Allow programs larger than memory to run / insufficient memory
- Allows programs to be stored in memory non-contiguously
Types of Processor Scheduling: - ANS- First Come First Served
E.g. queue in a shop
- Shortest Job First
Processor chooses the shorter jobs before the longer ones. (Needs to know the
length of each job first)
- Round Robin
Each process allocated a time slice (quantum)
Fair, but not always efficient
- Shortest Remaining Time
Similar to shortest job first, but longer processes can be interrupted by shorter ones
- Multi-level Feedback Queues
All the above assume a single 'queue' of processes to be carried out.
Multi-level Feedback Queues is an algorithm which uses more than one queue and
moves jobs between them to prioritise more efficiently
What are device drivers? - ANSDevice Drivers are pieces of software which enable
the OS to communicate with the hardware device and vice versa
With hundreds of different hardware devices from different manufacturers, it's
impossible for an Operating System to know how to interact with them all -
especially new devices
What are hypervisors? - ANSHypervisors are software which enables virtualisation
, System software notes
10cs52(vtuplanet.com), Lecture notes of
System Programming
What are the different types of operating system? - ANS- Distributed OS
- Embedded OS
- Multi-tasking OS
- Multi-User OS
- Real-Time OS
- BIOS
What are virtual machines? - ANSAny instance where software is used to take on the
function of a machine, including executing intermediate code or running an operating
system within another.
What does WIMP stand for? - ANSwindows
icon
menus
pointer
What is a BIOS? - ANSBasic Input Output System
Function - to detect, initialise and test system hardware, then load the OS into RAM
Stored in EPROM (Erasable Programmable Read-Only Memory)
What is a distributed operating system? - ANSGroups of computers working together
on a single task, coordinated by the operating system
Appears to the user that it's a single system being used (referred to as
'transparency')
Form of parallel processing
What is an Operating System? - ANSProgram or collection of programs that manage
the operations of the computer for the user.
Enables user to communicate with hardware
What is paging? - ANS- Memory is divided into a number of equal size 'frames'.
- Each process is divided into a number of equal size 'pages' of the same length as
frames.
10cs52(vtuplanet.com), Lecture notes of
System Programming
Segmentation is where the data is separated logically into chunks of unequal size to
keep certain code together called segments (such as loops, where, if separated,
would be inefficient). The data is then put together in a logical order to get the most
out of the memory available.
- Both split up files into chunks
- Both try to use the most out of RAM
- Both ways of partitioning / splitting up memory
- Use virtual memory / backing store to swap parts of programs
- Allow programs larger than memory to run / insufficient memory
- Allows programs to be stored in memory non-contiguously
Types of Processor Scheduling: - ANS- First Come First Served
E.g. queue in a shop
- Shortest Job First
Processor chooses the shorter jobs before the longer ones. (Needs to know the
length of each job first)
- Round Robin
Each process allocated a time slice (quantum)
Fair, but not always efficient
- Shortest Remaining Time
Similar to shortest job first, but longer processes can be interrupted by shorter ones
- Multi-level Feedback Queues
All the above assume a single 'queue' of processes to be carried out.
Multi-level Feedback Queues is an algorithm which uses more than one queue and
moves jobs between them to prioritise more efficiently
What are device drivers? - ANSDevice Drivers are pieces of software which enable
the OS to communicate with the hardware device and vice versa
With hundreds of different hardware devices from different manufacturers, it's
impossible for an Operating System to know how to interact with them all -
especially new devices
What are hypervisors? - ANSHypervisors are software which enables virtualisation
, System software notes
10cs52(vtuplanet.com), Lecture notes of
System Programming
What are the different types of operating system? - ANS- Distributed OS
- Embedded OS
- Multi-tasking OS
- Multi-User OS
- Real-Time OS
- BIOS
What are virtual machines? - ANSAny instance where software is used to take on the
function of a machine, including executing intermediate code or running an operating
system within another.
What does WIMP stand for? - ANSwindows
icon
menus
pointer
What is a BIOS? - ANSBasic Input Output System
Function - to detect, initialise and test system hardware, then load the OS into RAM
Stored in EPROM (Erasable Programmable Read-Only Memory)
What is a distributed operating system? - ANSGroups of computers working together
on a single task, coordinated by the operating system
Appears to the user that it's a single system being used (referred to as
'transparency')
Form of parallel processing
What is an Operating System? - ANSProgram or collection of programs that manage
the operations of the computer for the user.
Enables user to communicate with hardware
What is paging? - ANS- Memory is divided into a number of equal size 'frames'.
- Each process is divided into a number of equal size 'pages' of the same length as
frames.