Chapter 5 CP
Chapter 5 CP
COMPUTER SCIENCE
GROUP ASSIGMNENT
MEMEBERS---
1, Kia Hailu
2, Maraki Ahdau
3, Rodas
4, Betania
5, Aman
6, Phelepos
Work given-----
Chapter 5 and chapter 6 / note and presentation
Do questions on past papers of june and may 2021 , 2022
and 2023
Present the questions
Paper on the questions and chapters and power point
CHAPTER 5
SYSTEM SOFTWARE
OPERATING SYSTEM
Operating systems were stored on the hard disk ,and start – up of the
motherboard was handled by the basic input and output
system(BIOS).
BIOS was stored in ROM but then stored in flash memory chips. The
BIOS configuration is stored in CMOS( complementary metal-oxide
semiconductor) which it can be altered and deleted as required.
An operating provides both the environment in which applications can
be run ,and useable interface between human and computer.
A human- computer interface (HCI) can be achived by either graphical
user interface (GUI) or command line interface (CLI).
CIL – requires the user to type instructions to choose options. / To
save or load a file./
The benefit is that the user is in direct communication with the
computer so it is not restricted to a number of pre-determined
options.
GUI – allows the user to interact with computer using pictures or
symbols (icons.)
Smart phones – now use a post- WIMP interaction –like pinching or
rotating.
OPERATING SYSTEM TASKS
MEMORY MANAGEMENT
Is a management of the main memory , it can be ---
1, memory optimisation
2, memory organisation
3, memory protection
# Main memory is where the active and running datas are stored but they
have to be allocated and deallocated and organized.
# The main memory or RAM gives the CPU the next step.
1, MEMORY OPTIMISATION
Determines how computer memory is allocated and deallocated.
Also determines where they are stored in memory. They keep track of all
allocated datas and free memories.
Also swaps data to and from HDD or SSD. ( It only stores the datas that are
active and running means allocates them ,and removes the ones that are
not, means deallocates them.)
2, MEMORY ORGANISATION
Determines how much memory is allocated to an app ,and how the memory
can be split up.
There is a single allocation that have all the memory. Then it is partitioned
(split up), then the memory management gives a partition to an app.
Paged memory -> the partition is a fixed size.
Segmented memory -> each segment will be as logical grouping of data.
3, MEMORY PRPOTECTION
It ensures that two competing applications cannot use the same bmemory
location at the same time, if so
- Data could be lost
- Security issues
- Computer may crash
SECURITY MANAGEMENT
Ensures the integrity , confidential and availability of data.
Carrying out updates.
Ensuring that antivirus softwares are up-to-date.
Communicating with firewalls.
Ensures the privacy of data and users.
Having recovery of data.
Prevent illegal instruction.
PROCESS MANAGEMENT
- A process is a program which is being run on a computer. A process
management involves allocation of resource ,and premits the sharing
and exchange of data, so it allows it to be fully synchronised.
HARDWARE MANAGEMENT
It involves all input and output devices.
Communication with all input and output devices with device drivers.
Translating data from a file to a format the input and output device
can understand.
Ensuring that hardware resource has priority.
FILE MANAGEMENT
Defining the file naming conventions.
Performing specific tasks like create, open, close, delete.
Maintaing the directory structures.
Having access rights to files, password protections and etc.
Ensuring memory allocations.
Specifying the logical file storage format.
UTILITY SOFTWARE
*Utility software includes ---
1, Hard disk formatter
2, Virus checker
3, Defragmentation software
4, Disk content analysis/ repair software
5, Disk compression and file compression
6, Back-up software
PROGRAM LIBRARIES
If there is software being developed, it will have pre- written
subroutines, it saves time.
It also helps develop who wants to use DLL (Dynamic link
library.)
When software routines are written, they are saved in a
program library for future use.
A program stored in a program library is called library program.
We also have library routines-> which are subroutines which
could be used in another piece of software.
# It saves time and cost
# several programmers can work on the same piece at the
same time
# saves time for testing because it is already tested and error
free.
1. Static library is linked to executable code in the library at the
same time of compilation. So, the library routines are
embedded directly in to the new program code.
2. Dynamic libraries – the library routines are linked when it is the
run time. (They use DLL – dynamic link library files.)
LANGUAGE TRANSLATORS
ASSEMBLERS
- An assembler program translates assembly language in to
machine code.
- Assembler stores the program translated directly in the main
memory or in a storage medium to be used later but for the
one stored in a medium, when the computer wants to use it,
the loader program needs to load it and bring it to the main
memory.
- Every single computer has their own machine code and
assembly language.
COMPILERS AND INTERPRETERS
- Compilers usually store the translated program in a storage
medium ready to be executed later.
- A loader is needed to put in the main memory.
- It can be executed many time, it will not be retranslated , it will
only be retranslated when changes are made to the source
code.
And in an interpreter, no translated program is generated in
main memory or stored for later use. Every line program is
interpreted then executed each time the program is run.
IDE
Integrated development environment
- It is used by programmers to aid(help) the writing and
development of programs.
- Features are---
# a source code editor
# a compiler / interpreter or both
# a run-time environment with a debugger
# an auto- documenter.
- Source code editor-> allows a program to be written and edited
without the need to use a separate text editor.
- Dynamic syntax checking finds possible syntax errors as the
program code is being typed in to the source code editor and
alerts the programmer at the time, before the source code is
interpreted.
- Logic errors -> can only be found when the program is run.
DEBUGGER
A debugger is a program that runs the program under
development and aids the process of debugging. It is the
process of finding and fixing errors or bugs in the source code
of any software.
There is single stepping which allows the programmer to single
step through the program a line at a time.
There is also break point that stops the execution of the
program at a certain point in the source code.
And there is report window that shows the contents of the
variables and expressions evaluated at that point in the
program.