System software- S2 Flashcards

1
Q

Operation system (OS)

A

a program or set of programs that manages the operations of the computer for the user.

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

RAM

A

An internal memory: Random access memory. It’s used to store programs and data that are currently being used. Its is volatile (contents are lost when computer is switched off)

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

ROM

A

An internal memory: read-only memory. Holds information that needs to be permanently in memory.

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

Give functions of the operation system

A

Memory management, Interrupts, Processor scheduling,

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

What is the purpose of memory management

A
  • converting logical addresses to physical addresses
  • Puts programs into free memory and manages them, making sure they don’t overwrite
  • Using paging or segmentation techniques.
  • Allows for multitasking.
  • Allows for programs larger than the main memory to run (using virtual memory).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Whats paging system?

A

Pages are fixed sizes that are physical divisions and is used in virtual memory but can be used in any memory.
Memory does not have to be held in continuous pages

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

Segmentation

A

A way of partitioning memory, segments are not fixed size but vary in size, and are logical divisions which hold complete sections of programs.

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

Purpose of virtual memory

A

A feature of an operating system that allows programs to run when there is insufficient memory available.

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

How is virtual memory done?

A

temporarily transferring pages of data from RAM to disk storage to make space in memory for the pages needed.

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

What problems can occur with virtual memory

A

More time spent transferring pages than processing leads to disk threshing and the computer may ‘hang’ (computer program or system stops responding to input).

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

What is an interrupt

A

Signal sent to the processor requesting for processing time, and for the current execution to be stopped in order to do a more important task.

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

Give example of interrupts

A
  • User interrupt
  • Power (failure) = high priority
  • I/O interrupt (mouse and keyboard, printer) = low priority
  • Clock interrupt (data-logging application that has to read an input sensor every 1 second.) = medium priority
  • Software interrupt (software has detected that an error has occurred)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Why do interrupts have priorities

A

Interrupts have priorities to decide between interrupt & current task, or for ensuring when you have more than one interrupt the most urgent task is performed first.

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

What happens when there is an interrupt

A
  • CPU receives an interrupt signal and suspends execution of the current program/process running.
  • It disables interrupts of low priority.
  • It puts the program counter onto the system stack
  • Interrupt Service Routine is called to deal with the interrupt. There are different responses for different interrupts
  • Original values of the registers are retrieved from the stack and the process resumes from the point that it left off.
  • A test for the presence of interrupts is carried out at the end of each fetch-decode-execute cycle.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Processor scheduling

A

is the operating system module responsible for allocating processor time so that when there are multiple jobs/applications running, each job is given processor time.

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

Why is process scheduling important

A

Process as many jobs as possible in the least possible time.
Ensure all jobs are processed (fairly)
Maximise number of interactive user with fast response times.
Efficient use of resources/processor time

17
Q

When is time sharing used

A

In a multi- user system

18
Q

Describe round robin

A

processes are dispatched on a first in first out (FIFO) basis, with each job is given a limited amount of CPU time (time slice). At the end of the time slice the OS generates an interrupt at the end of the given time slice

19
Q

Describe First come first served

A

Jobs are processed in the order in which they arrive, with no system of priorities. May not be efficient as once a job starts it prevents other jobs from being processed. Also a job using a slow resource (eg printer) wastes processor time.

20
Q

Multilevel feedback queues

A

The algorithm creates several queues where jobs can move between them depending on how much processor time they use.

21
Q

Distributed operating system

A

A system which shares processing between the processors on a network. Used when there is a lot of data that needs to be processed quickly.

22
Q

Network Operating system

A

A network system allows a number of computers to share other resources at the same time.

23
Q

Facilities of Network Operating system

A
  • File handling, allowing access and manipulation of files depending on the identity of the user
  • Handling communication controls the movement of data around the network (by use of agreed protocol)
  • Resource management ensures fair allocation of resources
  • Automatic backup so that data is not lost if it is corrupted
24
Q

Multi-user

A

allows a number of users to use one computer at the same time. A single powerful mainframe/super computer (a large high-speed computer, supporting numerous workstations) is connected to lots of terminals (keyboard and display screen) all using the mainframe CPU.

25
Q

Real operating system

A

The system gives a response within a guaranteed time frame.

26
Q

Embedded operating system

A

Specialised OS for use in the computers built into larger systems. Found in all kinds of hardware.