8 Lesson System Software
8 Lesson System Software
SYSTEM SOFTWARE
8.01 System software
Operating system
A missing component from the 1960s computers.
A software that controls the hardware and interact with the applications
software.
Operating system is an example of a type of software called ‘system software'.
User-system interface
Allows the user to get the software and hardware do something useful
An operating system should provide at least the following for user input and
output.
A command-line interface
A graphical user interface (GUI)
Program-hardware interface
Programmers write software and user run this software.
The software uses hardware.
Resource management
PROCESS- program ahs started to run it.
The resource management provided by the operating system aims to achieve the
best possible efficiency in a computer system. The most two important aspects of
this are:
Scheduling of process
Resolution of conflicts when two processors require the same resource.
Memory management
There are 3 important aspects of memory management.
Memory protection ensures that one program doesn’t try to use the same
memory location as another program.
Chosen to achieve the best usage of limited memory size for example,
virtual memory involving paging or segmentation.
Memory usage optimization involves decisions about which processes
should in main memory at any one time and where they are stored in this
memory.
Device management
The management for devices requires:
Installations of the appropriate device driver software.
Control usage by processes.
File management
Three major features:
File naming convention
Directory (folder) structures.
Access control mechanisms
Security management.
Aspects:
Provision for recover when data is lost
Preventing intrusion
Ensuring data privacy
Backup software
An easier way to perform backup is to use a backup utility program. Such a
program will:
Establish a schedule for backup
Only create a new backup file when there has been a change
File compression
This can be used regularly by an operating system to minimize hard disk storage
requirements.
Compression is most important when transmitting data. (refer chapter 1)
Virus checker
These programs should be installed as a permanently facility to protect a
computer system.
These softwires scans files in the computer in a routine to make sure the
computer is all out of viruses.
When a new virus comes along there is a delay before it is recognized and a
further delay before the virus checker has been updated deal with it.
Linking libraries
In computing, a linker or link editor is a computer system program that takes one
or more object files and combines them into a single executable file, library file or
another “object” file.
Major disadvantage in linking linking library routines into the executable code-
every program using a routine must have its own copy. This requires the storage
space requirements for the executable file. It also increases the memory usage
when more than one process uses the routine.
The alternative is to use a routine from a Dynamic Linked Library (DLL).
DLL – it is a module that contains functions that can be used by another module.
Functions of a DLL:
1. Exported – are intended to be called by other modules as well as from
within the DLL where they are defined.
2. Internal – typically intended only from within the DLL where they are
defined.
Although DLL can export its data is generally used only by its functions. However
there is nothing to prevent another module from reading or writing that address.
8.05 Language translators
The use of an assembler is discussed in lesson 6.
Java
Each different type of java must have a java virtual machine created for it.
When a programmer writes a Java program this is compiled first of all to
create what is called Java Byte Code (JBC).
When the code is running the code is interpreted by the Java Virtual
Machine (JVM).
JBC can be transferred to computer that has JVM installed.