Академический Документы
Профессиональный Документы
Культура Документы
Chapter - 14
Programming methodology
Robustness
The ability of a program , to recover following an error and to continue
operating
within its environment is called robustness
Guard code
The code which can handle exceptional data errors and operational
errors is called guard code
Types of Errors
Bug: An error of a program is called bug
3 Types of errors: Compile time errors
Run-time errors
Logical errors
Compile time errors
Program maintains
Program maintenance refers to modification of a program
Four kinds of maintenance : Corrective maintenance
After program compilation , some errors might show up. To correct this
type of errors are called corrective maintenance.
Adaptive maintenance
Changes in environment likes new govt. laws and regulations ,
company
policies may change are also may lead to system maintenance.
Preventive maintenance
If possible errors could be anticipated before they actually occur .
It will reduce system down time . This type of maintenance is called
Preventive maintenance
Perfective maintenance
IT is the fastest growing area. ie depends up on technology changes ,
In the existing system , should add new features and capabilities . It is
called
Perfective maintenance.
________________________________________________________
Chapter 4
I/p O/p and Memory Devices
Input Devices
.?
Output Devices
..?
Memory Devices
Memory is used to store data and instructions
Memories can be read from and write into.
Read write memories:-can be read from and written into
ROM
It refers to read only memory where read operation can takes place.
It is non- volatile memory , not lost data it is permanent
2 Types of ROM : PROM :- programmable read only memory . This can be programmed
once . A PROM programmer write own data and programs in it
EPROM :- Erasable programmable read only memory . It can be erased
as well as reprogrammed
Secondary memory
Secondary storage devices are used to store large amount of data permanently
.
Common storage devices are: Hard disk
magnetic disk
Floppy disk
CD ROM (CD-R and CD_RW)
DVD ( DVD R and DVD RW)
Blu ray Disk .?
optical disk
Need of OS
Primary goal :- To make the computer system convenient to use
Secondary goal :- To use computer hardware in an efficient manner
Types of Services
Program execution
Handling input/output operations
Manipulation of file system
Error detection and handling
Resource allocation
Information and resource protection
OS Functions
Processor Management
Memory Management ( storage )
File and device Management ( Information management )
Processor Management