Showing posts with label What is Operating System?. Show all posts
Showing posts with label What is Operating System?. Show all posts

What is Operating System?

Posted by Bhavesh Joshi On Saturday, November 24, 2012 0 comments
Different Operating Systems
Computer hardware provides us the means of processing and storing information. In order to perform useful work for us it has been driven by means of software program which specify the task to be done. Software can be classified into two distinct group - (1) System Software, (2) Application Software. 

System Software- These software's are designed to provide an environment to facilitate the writing of application program. Example-Assemblers, loader, Compiler interpreter, operating system etc. 

Application Software - It consist of collection of program, written by programmer in order to perform some specific task for users. Example - Word Processor, spread sheets, web browser etc.

Definition of Operating System: “Operating system is a system software. It is a collection of program works between the user and hardware of computer. So that application program i.e. user program can run in convenient and efficient manner”. 

Operating system is a chief part of almost every computer system which manages the resources of computer system. Such as microprocessor, primary and secondary storage devices & input/output devices. It keeps the information regarding the status of each resources and decides how long and when to allocate them to specific particular program and users in order to operate the computer system efficiently and fairly. 

Computer system is divided into four parts:

(1) Hardware,
(2) Operating System,
(3) Application Software and
(4) Users 

Computer System Parts

There are two main goals of operating system -

1.       Convenience - The primary goals of operating system is to make computer system easier for user i.e. operating system makes the interaction between user and hardware easier.

2.      Efficient - The secondary goal of OS is to allocate the system resources to various application programs as efficiently as possible. 

Functions of Operating System 

1. Processor management, that is, allocation of processors to different works being done by the computer system. 

2. Memory management, that is, assignment of main memory and other storage areas to the system programs, user programs and data. 

3. Input/Output management, that is, proper interaction and allocation of the various input and output devices when different programs are being executed. 

4. File management, that is, keeping record of files on various storage devices and move all these files from one device to another. It provides facility to all files to be easily changed by the use of text editors. 

5. Give emphasis on building a job priority system. That is, it finds out and keeps record of order in which jobs are to be executed in the computer system. 

6. Switching from job to job as guided by special control statements, automatically. 

7. Understand the meaning of commands and instructions. 

8. Making interfacing and allocation of compilers, assemblers, utility programs, etc to the various users of the computer system. 

9. Building mechanism of data security and integrity. That is, it stores different programs and data in a way that they do not communicate with each other and also protects itself from being damaged by any other user. 

10. Generation of traces, error messages, and other debugging and error-detecting facility. 

11. For all users keep record of internal time clock and log of system usage. 

12. Help easy interfacing between the computer system and the human operator. 

Efficiency of Operating System 

The efficiency of an operating system and the overall performance of a computer installation are judged by a combination of two main factors. They are: 

1. Throughput - It is the total amount of work performed by the computer system over a given duration of time. 

2. Turnaround Time - It is also known as response time and is defined as the difference of time between the time a user submits his job to the system for processing and the time he receives output. 

Ways to interact with Operating System (OS)

1.       By means of operating system call in a program.
2.      Directly by means of Operating System Commands.

System Call

System call provides mechanism for communication between the operating system and user program (processes). The set of system call vary from different operating system. Initially, system calls are written as assembly language instruction. But at present, these are available as high level languages such as 'C, Pascal etc. System calls are classified into five categories- 

1. Process management system call.
2. File management system call.
3. Device management system call.
4. Information management system call.
5. Communication system call.

Types of System Calls and their respective operation

i) Process control system call
(a) end, abort
(b) load, execute
(c) create process, terminate process
(d) get process attributes, set process attributes
(e) wait for time
(f) wait event, signal event
(g) allocate and free memory 

ii) File management system call
(a) Create file, delete file
(b) open, close
(c) read, write, reposition
(d) get file attributes, set file attributes

iii) Device management system call
(a) request device, release device
(b) read, write, reposition
(c) get device attributes, set device attributes
(d) logically attach or detach devices

iv) Information maintenance system call
(a) get time or date, set time or date
(b) get system data, set system data
(c) get process, file, or device attributes
(d) set process, file, or device attributes 

v) Communications system call
(a) create, delete communication connection
(b) send, receive massages
(c) transfer status information
(d) attach or detach remote devices

System Commands
The second way to interact directly with the operating system is with the help of commands. As type commands in MS DOS (Microsoft Disk Operating System) Command Prompt in order interact with the OS directly. There are various commands as each has different use. To know more about command prompt and to get list of commands of windows OS commands– Just Click here!
READ MORE

Top Operating Systems

Posted by Bhavesh Joshi On Wednesday, February 8, 2012 0 comments
Operating Systems

What is Operating System?
Any hardware when manufactured in company is of not much use by itself. We need a software to drive it. A software to tell it what to do. This same applies to the computer as a whole. Computer is basically combination of input output devices, memory and CPU. We need BIOS (Basic Input Output Software) to turn on the computer. Once BIOS is loaded it looks for operating system installed in computer. Operating system is like just another software, but it controls the computer. Operating system tells computer what to do and how to do it. It has hardware drivers to access various hardwares such as HDD (Hard Disk Drive) or printer. 

Operating system’s core is called a kernel. Kernel is bridge between application softwares and hardwares. On top of Kernel there is hardware drivers, system software and then application softwares. While the computer is running; operating system loads a small piece of itself into the memory and most of the time it carries out the data processing and decision making from memory only. Sometimes it writes data to hard disk - this concept in detail known as virtual memory. 

Among many; some major tasks of operating system to be listed are task scheduling, resource allocation and common services for applications programs etc. At a given time period there are many tasks running in computer. Someone need to decide the priority and resource allocation for those task. Operating system does it by using many algorithms among which time scheduling is common one. When an application software needs to access one of Input / Output device it requests it to the operating system and then operating system in turn does the job of accessing that device. Example of some modern operating systems are Linux, BSD, Windows, Mac OS and Android.

Top Three Operating Systems

Top Three Operating Systems


1.   Ubuntu
Ubuntu is a GNU/Linux based open source operating system created and supported by Canonical Inc. Ubuntu is an African Bantu word which nearly means “Humanity towards others". It was launched in 20 October 2004. Ubuntu is based on Debian package management system and uses Unity Shell interface in their latest versions of operating system. Unity is based upon GTK3 framework. In past Unity was meant for Ubuntu Netbook Edition. Later it was taken as Ubuntu’s main GUI shell. But we can install Gnome3, KDE or dozens of other desktop environment or window manager as we like. Ubuntu is based on another GNU/Linux distribution known as Debian. 

The main and biggest USP (Unique Selling Point) of Ubuntu is its community and support. Ubuntu was the first Linux distribution to offer commercial support on desktop Linux version. Ubuntu is free to download, install, use, modify and pass on to friends or to customers. According to Mark Shuttleworth the creator of Ubuntu, Ubuntu Operating System is the most widely used Linux distribution in the world. Ubuntu comes in various flavors. Official flavors include Kubuntu, Xubuntu and Lubuntu. There are so many unofficial flavors too some of them are Backtrack - a security distribution, Linux Mint etc. 

2.   Mac OS
Mac Operating system is developed by Apple Inc. Mac OS is based on Mach kernel and NextStep operating system. Apple was founded by Steve Jobs. Mac OS is closed source with some open source and BSD components. It is based on UNIX principles and technology. Mac OS is knows for popularizing graphical user interface. Mac OS from the beginning tried to minimize user work and increase performance. Mac offers graphical menu even at low level. Mac makes use of copyrighted ROM to achieve this. 

Mac OS initially only supported Motorola and PowerPC platforms. With version 10 codenamed Lion Mac OS supports Intel Microprocessor family too. MacOS ships with their own hardware only. When we buy PC we buy hardware from one company and software from another company. That is not same with mac. Mac is more popular among all types of artists. Mac OS is compatible with Windows. You can transfer and edit windows documents and settings. Many mainstream softwares and games such as Microsoft office, Adobe Suit, Age of Empires are also available for Apple Mac OS too. Apple provides a great and reliable ecosystem for developers so that they can develop a core foundation of their software and port it on all Apple products. 

3.   Microsoft Windows
Microsoft Windows operating system is an closed source proprietary operating system created my Microsoft Corporation, USA. You have to purchase license in order to use windows operating system. You can also buy preinstalled windows in laptops or computers. Microsoft Windows uses a controversial hybrid kernel type in all of their products. Windows was started with Windows version 1.0 and the current stable version is Windows 7. Windows was basically knows for its graphical user interface which gave it fame and major market share back in Windows 95 days. 

Windows is many times criticized of using monopolistic misbehavior such as implementation of Digital Rights Management or driver signing and not fixing bug and security holes in time. Windows was created by Bill Gates when he was student. Later he left the education in order to earn money by selling windows operating system. Windows today is knows as patent troll in the computer industry. 

Irrespective of all this negative points windows keeps dominating the desktop computer market today. Windows is praised and liked by common day to day user for their graphical interface and easy to user applications. Linux and Mac OS are strong competitor to Windows OS in coming future. 

Finally, these above top three operating systems are most popular and mostly used operating systems...
READ MORE