Chapter 8
Chapter 8
Chapter 8-CS
System Software
Operating System
Need for OS
Memory protection to ensure 2 programs do not try to use same memory space
Paging
o File Management
o Security Management
o Process Management
Utility Software
o Disk Formatter
Performs formatting, process where computer ‘draws lines’ on disk surface to split it into
small areas
o Virus checker
o Defragmentation Software
Files can be big so have to be stored in multiple sectors, which can result in fragmentation
Fragmentation slows down disk access and thus the performance of the entire computer.
Defragmenting software works by physically reorganizing disk contents (files) such that they
Gets size for each folder and files, and generates a graphical chart showing disk usage
o File Compression
Causes improvements in the computer’s performance by reducing the data that needs to be
stored
o Back-up Software
Makes copy of files on another storage medium in the event of a hard drive failure, user
Program Libraries
o Pre-written code that can be linked to a software under development without any
amendments
o Benefits:
Library file is a complex algorithm which the user does not need to understand to use it
o Code saved separately from the main .EXE file, reducing the .EXE file’s size
o DDL file can be made available to several applications simultaneously, thus reducing strain
on memory
By Ms Payal Gupta
o DLL files act as modules in more complex programs, making it easier to install and run
updates
Language Translators
Assembler
o Software that translates assembly language statements into machine code (binary) for
execution
o Process simple because assembly language has a one-to-one relationship with machine
code.
Compiler Interpreter
Only be produced when all errors are Can run program any time, even before code
fixed. finished.
Two-step translation
o Java and some other high level language programs may require two-step translation, i.e.,
o Bytecode finally interpreted by the Java Virtual Machine to produce machine code
By Ms Payal Gupta
o Coding
Dynamic syntax checks: Automatic checking and highlighting of syntax errors, as soon as
line typed
o Presentation
Expand and Collapse code blocks: Saves excessive scrolling if collapsed, and easy to see
o Debugging
Single stepping: Executes program line-by-line to see the effect of each statement on
variables
that line