Systems Software Flashcards

1
Q

What function does an OS provide?

A

user interface
memory management
interrupt handling
processor scheduling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How paging and segmentation are similar

A

Both allows programs to run despite insufficient memory
both stored on disk
both transferred into memory when needed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Paging features

A

fixed size
are made to fit sections of memory
are physical divisions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Segment features(opposite of paging)

A

Different size
complete sections of programs
are logical divisions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Problems with segments and paging

A

If psychical memory is running low virtual memory has to be used.If more time is spent moving pages/segments in and out of the memory to the disk(thrashing) than actually processing the instructions,the computer will be very slow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Types of interupts

A

Software

Hardware

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Aims of scedhuling

A

To provide an acceptable response time to all users
To maximise the time the CPU is usefully engaged
To ensure fairness on a mutli-user system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Scheduling;What is Round robin?

A

Each job is allocated a time slice (by FIFO) during which it can use the CPU’S resources
If the job has not been completed by the end of its time slice, the next job is allocated a time slice

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Scheduling; What is Shortest remaining time?

A

The time to completion is estimated as each new job arrives
The job with the shortest remaining time to completion is executed,meaning that a shorter new job can take over from the current process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Scheduling;What is Shortest job first?

A

Also known as ‘Shortest process next’
As with shortest remaining time the total execution time of each job is estimated by the user
The waiting job with the smallest total execution time is executed when the current job completes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Scheduling;What are Multi-level feedback queues?

A

Multiple queues are created with different priority levels
If a job uses too much CPU time its is moved to a lower priority queue
Processes can also be moved to a higher priority queue f they have waited a long time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is paging

A

Available memory is divided into fixed chunks called pages.Each page has an address. A process loaded into RAM is allowed sufficient pages(they may not be next to each other)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is first come first served?

A

The first job to arrives is executed until it completes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a distributed OS

A

Allows multiple computers to work together on a single task

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a embedded OS

A

Designed to run on embedded systems rather then general purpose computers. An embedded system is a computer that forms a part of a device such as a washing machine,vending machine or car’s engine management system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a multi-tasking OS

A

Can run multiple programs simultaneously

17
Q

What is a multi-user OS

A

Allows multiple users to use a system and its resources simultaneously. It is the simultaneous aspect that is important.An operating system that allows multiple use accounts but only one person to use the system at a time is not classed as a multi-user operating system

18
Q

What is a Real time OS

A

Designed to carry out actions within a guaranteed amount of time even when left running for long periods.Usually the expected response time is within a small fraction of a section

19
Q

What is BIOS

A

Stands for’Basic Input Output System’
The fundamental purpose of the BIOS in modern PCs is to initialise and test the system hardware components and to load the OS(or the key parts of it) from the hard disk into RAM. BIOS was historically used to provide an abstraction layer which allowed a consistent way for application programs and the OS to interact with input-output systems(not used after loaded)

20
Q

Where is BIOS stored

A

BIOS is the program stored in EPROM(Erasable Programmable Read-Only Memory)

21
Q

What are virtual machines

A

A virtual machine can be defined as any instance where software is used to take on the function of the machine, including executing intermediate code or running an operating system within another to emulate different hardware

22
Q

What are device drivers

A

Operating systems are expected to communicate with a wide variety of devices, each with different models and manufacturers.It would be impossible for the makers of operating systems to program them to handle all existing and future devices.This is why we need device drivers.A device driver is a piece of software, usually supplied within a device that tells the OS how it can communicate with the device
Example :Printer