Definition of Operating System: An operating system is a group of computer programs that coordinates all the activities among computer hardware devices. It is the first program loaded into the computer by a boot program and remains in memory at all times.
Functions of an operating system: The basic functions of an operating system are:
i. Booting the computer
ii. Performs basic computer tasks eg managing the various peripheral devices eg mouse, keyboard
iii. Provides a user interface, e.g. command line, graphical user interface (GUI)
iv. Handles system resources such as computer's memory and sharing of the central processing unit (CPU) time by various applications or peripheral devices
v. Provides file management which refers to the way that the operating system manipulates, stores, retrieves and saves data.
Booting the computer: The process of starting or restarting the computer is known as booting. A cold boot is when you turn on a computer that has been turned off completely. A warm boot is the process of using the operating system to restart the computer.
Performs basic computer tasks: The operating system performs basic computer tasks, such as managing the various peripheral devices such as the mouse, keyboard and printers. For example, most operating systems now are plug and play which means a device such as a printer will automatically be detected and configured without any user intervention.
Provides a user interface: A user interacts with software through the user interface. The two main types of user interfaces are: command line and a graphical user interface (GUI). With a command line interface, the user interacts with the operating system by typing commands to perform specific tasks. An example of a command line interface is DOS (disk operating system). With a graphical user interface, the user interacts with the operating system by using a mouse to access windows, icons, and menus. An example of a graphical user interface is Windows Vista or Windows 7.
The operating system is responsible for providing a consistent application program interface (API) which is important as it allows a software developer to write an application on one computer and know that it will run on another computer of the same type even if the amount of memory or amount of storage is different on the two machines.
Handles system resources: The operating system also handles system resources such as the computer's memory and sharing of the central processing unit (CPU) time by various applications or peripheral devices. Programs and input methods are constantly competing for the attention of the CPU and demand memory, storage and input/output bandwidth. The operating system ensures that each application gets the necessary resources it needs in order to maximize the functionality of the overall system.
Provides file management: The operating system also handles the organisation and tracking of files and directories (folders) saved or retrieved from a computer disk. The file management system allows the user to perform such tasks as creating files and directories, renaming files, coping and moving files, and deleting files. The operating system keeps track of where files are located on the hard drive through the type of file system.
The type two main types of file system are File Allocation table (FAT) or New Technology File system (NTFS).
Types of file system
• File Allocation table (FAT)
• New Technology file system (NTFS)
File Allocation table (FAT) uses the file allocation table which records, which clusters are used and unused and where files are located within the clusters.
NTFS is a file system introduced by Microsoft and it has a number of advantages over the previous file system, named FAT32 (File Allocation Table).
One major advantage of NTFS is that it includes features to improve reliability. For example, the new technology file system includes fault tolerance, which automatically repairs hard drive errors without displaying error messages. It also keeps detailed transaction logs, which tracks hard drive errors. This can help prevent hard disk failures and makes it possible to recover files if the hard drive does fail.
No comments:
Post a Comment