Operating systems Flashcards

(14 cards)

1
Q

What is an operating system

A

software that manages computer hardware and software resources. All computer programs require an operating system to function.
Provides a layer of software services which are used to interact with the hardware. Acts as a later.,

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

State the functions of an operating system

A

process management- processes run simultaneously with scheduling.
Input/output management: communicating with devices
Backing store management: ensuring data can read/write to disk drives
Memory management: ensuring programs and data can share memory and are stored correctly without interfering with each other.
Human computer interface: display information to the user and accept input.
Utilities:P software that comes with OS to help with running .
Security

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

Describe utility software

A

file management- copy, remove, rename
Compression software- compress size of files
Task managers- view processes/‘programs that are running. Check how much processor time they are taking up . Kill unresponsive processes if necessary.
Anti-virus software: needs to ve updated at least daily
Data recovery
Data conversion
Archiving
Revision/version control
Backup software

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

State the types of operating system

A

Single tasking
Batch system
Multi-programming
Multi-user/multi-access
Multi-tasking
Stand-alone

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

State the three modes of operation

A

batch processing
Real time systems- control
Real time systems-transaction processing

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

Describe batch processing

A

OS executes a series of jobs without manual intervention.
Properties:
Large number of similar tasks and jobs
Can be run with no user interaction
Can run during the night

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

Outline the characteristics of real time systems

A

support contiuous application.
Have to deal with events that can occur simultaneously and unpredictably.
Have to provide a response to an event within a specified amount of time
Some are safety critical.

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

Describe real time control

A

e.g. automatic pilot on aircraft
Inputs are processed quickly, processing needs to be fast enough to deliver output in time and adjust outputs accordingly to avoid accidents.

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

Describe real time transaction processing

A

accessing and updating tables in a database as part of a transaction that needs toe be dealt with immediately.
Operations that all have to be carried out one after the other.

E.g. purchasing a book from Amazon/supermarket system/theate booking

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

Describe interrupts

A

a signal or message from a. Device or software to the operating system, which may cause a break in the execution of the current routine because it is requesting attention.

If OS acknowledges interrupt:
Suspends the current task
Notes where to come back to
Loads and runs an appropriate handler.

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

Outline the types and examples of interrupts

A

I/O interriot
Timer interrupt
Restart interrupt
Program check interrupts
Machine check interrupts

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

Give examples of interrupt priority

A

Impending data loss, impending hardware/software failure, imminent power failure detected

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

Describe types of partitioning

A

fixed-size memory partitions
Issues: internal fragmentation. And external.

Variable sized memory partitions
Uses dynamic partitioning.
Sets the partitions during run-time according to the processor’s needs rather than setting them initially.

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

Describe paging

A

A page table splits up the available memory into blocks of memory locations of typically 4k.
Numbers of these pages used per program.
If program requires more memory than available then a wrap file is used on the disk and also split into pages.
However fixed/variable partitioning requires contiguous memory allocation, paging allows non-contiguous.

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