Functional Elements of an OS Flashcards

1
Q

Kernel

A

Provides the low level interaction between the operating system and the computer hardware

Is the most protected layer

Invokes an interrupt handler that determines the CPU handling of I/O requests, thus supplying fundamental I/O services

Provides/invokes a process scheduler that determines which programs share processing time and in which order

Kernel services can be requested by other parts of the O/S or by application programs via system calls

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

Memory management layer

A

Responsible for managing computer memory. This may be main memory, cache or Virtual memory

Allocates portions of memory to running programs/processes

Frees the memory back to the system for reuse by other programs/processes when no longer needed

Offers protection to programs/processes from each other as it won’t let a program/process steal allocated memory from another program/process

Responsible for invoking virtual memory (manager).

Virtual memory manager can have a big impact on overall system performance which makes the system appear to have more physical memory than is actually present.

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

Input Output Layer

A

Presents a consistent view of file access across differing storage media.

Allows programming without direct reference to the type of hardware or where the data is held.

Handles communications between the hardware and the rest of the system

Uses a system of interrupts that let the CPU know that a particular hardware device wishes to be serviced

Interrupts are used to alert the system of an event occurring, such as completion, request for service and errors

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

Input Output Layer

A

Each device has its own unique address within the system so that the CPU can identify the request

Each device operates in a different way and or speed; therefore there is no standard way of handling. I/O compensates for this

Characteristics to be considered are, data transfer rate, units of transfer, range of operations carried out and error conditions

Consists of both the hardware device and the software required to allow communication to take place with the rest of the system

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

File Management Layer

A

Makes working with file systems transparent to the user

Creates the link between the logical file and the directory structure

Supports the most common operations on files

Allocates space to files

Handles the linkage between areas of non-contiguous storage

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

UI Layer

A

*Allows communication between the user and O/S (kernel)

*A GUI allows the user to issue commands by using the WIMP environment (Windows, Icons, Menus and Pointers)

*The CLI allows you to interact with the kernel through manually typed commands. Harder as you need to be overly familiar with the commands used

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

API

A

An application programming interface (API) is a specification intended to be used as an interface by software components to communicate with each other.

An API may include specifications for routines, data structures, object classes, and variables.

An API specification can take many forms, including an International Standard such as POSIX, vendor documentation such as the Microsoft Windows API, the libraries of a programming language, e.g. Standard Template Library in C++ or Java API.

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

Application Programming Interface (API) Cont.

A

Application Programming Interface

Set of programming instructions and standards
Software-to-software interface

Allows particular OS and applications to run on particular hardware

In other words, two machines with different hardware can run the same software

Applications talk to the Operating System via API

When developers release API, other developers can design products powered by that API

APIs are specific to one OS

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

API’s In the local machine

A

*PC system software – series of layers
Each layer interfaces with the other

*Four basic layers
Hardware
ROM Bios and device drivers
Operating system
Application programs

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