6.2 Functions of an Operating System Flashcards

1
Q

What are the four main roles an Operating System does?

A

Device Configuration
Files Management
Memory Management
Interface Platform

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

What does Device Configuration mean?

A

Controls Peripheral devices connected to the computer

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

What does File Management mean? [4]

A

Transfers files between main memory and secondary storage.
Manages file folders.
Allocates secondary storage space
File protection and recovery.

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

What does memory management entail?

A

Allocates the use of RAM to requesting processes.

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

What is the interface platform?

A

Allows the computer to run other applications.

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

How does the OS achieve its roles? [6]

A
It controls peripheral devices
Manages Primary and Secondary Memory
Controls Virtual Memory
Provides an Interface
Time Slicing
Interrupt Handling
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does the OS control peripheral devices?

A

Through drivers, which allows translation programs to translate the input/output information from the peripherals.

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

How does the OS manage primary Memory?

A

The OS ensures each program runs in its allocated memory space.

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

What problems could occur if the programs are not allocated primary memory space?

A

corruption and security issues

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

What is the role of Virtual Memory for the OS?

A

Virtual Memory compensates for shortages in physical memory by temporarily transferring data from RAM to disk storage.

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

How does the OS manage secondary Memory?

A

The OS provides structure to secondary storage called folder-structure

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

What is the folder-structure?

A

it is a file system that allows the OS to store data in organised positions, and that they are secure.

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

What does the User interface allow?

A

User interface allows the user to interact with the system.

User sends input/output data through the interface which sent to the correct memory address to be processed.

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

What is time-slicing?

A

A time slice in a multi-user system is the set amount of processing time each user gets.

In a single-user system, a time slice is the set amount of processing time each program gets.

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

Why does an OS time-slice?

A

The slices are alternately processed to give the illusion of many tasks happening at once.

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

What is an interrupt?

A

a high quality task that needs the current code to stop to complete.

17
Q

What is interrupt handling?

A

The interrupt handler in the OS causes the program to stop.

18
Q

What techniques does the OS use to manage resources? [6]

A
Scheduling
Polices
Multi-tasking
Paging
Interrupt
Polling
19
Q

What is scheduling?

A

The process of assigning resources to complete the work.

20
Q

What are policies?

A

The policies is the OS telling what is to be done, and how long you have to do it.

21
Q

What are mechanisms?

A

The OS mechanism tells it how it is to be done.

22
Q

Why are policies and mechanisms separated in the OS?

A

The separation of mechanism and policy allows flexibility for the system.

23
Q

What is paging?

A

Paging is the process of moving RAM to disk storage.

Paging is carried out by the MMU (memory manager unit)

24
Q

What does interrupt allow?

A

To help prioritise important instructions.

25
Q

What is polling and why does an OS do it?

A

Polling is when the OS waits for an external device to check whether it is ready.

This allows a resource not to become overloaded

26
Q

Which is more efficient polling or interrupts?

A

Interrupts is more efficient than polling because it reduces processor usage and/or bandwidth consumption.

27
Q

What are the advantages of a dedicated OS? [3]

A

Security
Customisability
Modify Procedures

28
Q

How does a Dedicated OS make the system more secure?

A

Specific security measures for specific problems

29
Q

How does a dedicated OS allow for customisability?

A

Because it can be specifically designed for a specific purpose.

30
Q

How does a dedicated OS allow for the modifying of priorities?

A

By eliminating aspects of the OS that aren’t required. Reducing secondary storage and RAM being used.

31
Q

How does an OS hide complexity? [3]

A

Abstraction
Drive Letters
Java Virtual Machine

32
Q

How does abstraction help hide complexity?

A

Users see the hardware through the OS

This allows the user to not see certain hardware details (abstraction)

Users can’t see changes in hardware, and allow similar things to appear the same.

33
Q

What are drive letters and how do they hide complexity?

A

A ‘drive letter’ is a single alphabetical character that has been assigned to a drive or drive partition in the computer.

This allows the user to differentiate between them.

34
Q

What is a Java Virtual Machine and how does it hide complexity?

A

A JVM interprets complied binary code for a computer processor so that it can perform java instructions.

Each platform gets its own JVM so that the Java Code can run on any platform.