Lets’ learn about the operating systems today.
An operating system is the most important program required by the computer to communicate with the user and other hardware devices attached to it. Also, it is a platform that decides the types of applications that can be run on a computer. Or we can say an operating system is a system software which acts as an interface between the user and the computer.
There is a basic need for an Operating system because of the following reasons:
Processor; the most important resource of a computer. The operating system decides which process has to be given to the processor, when and for how much time. It also deallocates the processor after allocating it for some time.
2. To manage memory
The Operating System decides which memory, how much memory and for how long it should be given to a process. It deallocates the memory too after allocating it for a specified time.
3. To manage device
Each device contains its own driver software launched by the operating system for the device to work. Devices are; keyboard, speakers, mouse, etc.
4. To manage the file.
The file manager allocates files and directories to process. Files can be a hard disk or external storage devices.
What is an Operating system?
Why there is a need for the Operating System? Explain.
Write the functions of the Operating System. And, explain.
There are many types of Operating System. They are as such;
GUI stands for the Graphical user interface. You can interact with the operating system through the GUI. It is a user-friendly interface and thus making it the most widely used interface. In this, the user does not have to enter any sort of commands. Because the commands appear on the screen in the form of a menu or icons. In this, the user uses a pointing device like a mouse or light pen to position the pointer on the icon on the screen. When you click the mouse on the required position it triggers the execution of the command. And it opens the file or the folder needed.
The best example is MS-Windows.
Advantages: Easy to operate and user-friendly; use of icons and tabs, making it attractive to the users; no command is required and multitasking has become possible with the GUI.
Limitations: People still like Command Line Interface in spite of every feature in GUI.
Command Line Interface
In Command Line Interface mouse is not used. Instead, the syntax of various commands is written with the help of the keyboard.
Most common CIL are; MS DOS, UNIX, LINUX, etc.
Advantages: There is more power in using Command Line Interface over the operating device and the computer.
Limitations: The user has to learn the syntax of various commands used in CIL.
In Real Time OS, deterministic time behaviour is followed. Here it is a time driven system. Basically, the response time is the time taken by a system to react to a given output.
If in any case, the RTOS fails to deliver the response within a fixed duration of time the or else the system is collapsed.
The best examples of RTOS are aircraft control system, fire alarm system, etc.
Some of the widely used RTOS are Linux, QNX, etc.
Distributed OS is a software that is basically designed to work in an environment where a number of computers are connected through a network. So the operating system software is spread across different computers. But the user cannot identify this trait and feel as if he is working on an independent computer only. It is an efficient and effective network distribution OS.
Multiuser computing system.
It is written in C Language.
It is portable and multitasking is possible.
Supports GUI and CLI.
It is a three-layered structure; Kernel, shell and Utilities.
High competition to the Windows operating system.
Multiuser operating system.
It can run on many computers.
It is free. Easily downable.
The security system is very strong.
The source code of LINUX is accessible to all.
It is a Unix operating system.
It is programmed in C Language.
Performance is excellent when executed on SPARC.
Lacks good GUI
Solaris is best suited with SPARC.
4. Windows Operating System
It is GUI based.
Programmed in C++ and Assembly Language.
It is a closed source software.
Supports many languages.
Most popular and widely used operating system.
Mobile and their operating system are collectively called an operating system. Some of the commonly used mobile operating systems are:
Which one of the following is the deadlock avoidance algorithm?
A problem encountered in multitasking when a process is perpetually denied necessary resources is called-
To avoid deadlock,___________________.
|a)||resource allocation must be done only once|
|b)||all deadlocked processes must be aborted|
|c)||there must be a fixed number of resources to allocate|
|d)||inversion technique can be used|
Which of the following does not belong to queues for processes?
The context of a process in the PCB of a process does not contain
|b)||Context switch time|
|c)||Value of the CPU registers|
|d)||Memory management information|
Bounded capacity and unbounded capacity queues are referred to as
|b)||User defined buffering|
The set of tracks that are at one arm position make up a
In a distributed system, each processor has its own
|c)||Both a and b|
|d)||none of the above|
The wait operation of the semaphore basically works on the basic ____ system call.
The signal operation of the semaphore basically works on the basic ____ system call.
Your Score: 0/10