Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Operating System Articles
Page 126 of 171
What is microKernel in Operating Systems?
Kernel is the main part of an Operating System. It is the first program that is loaded after the boot loader whenever we start a system. The Kernel is present in the memory until the Operating System is shut-down.Kernel provides an interface between the user and the hardware components of the system. Whenever a process makes a request to the Kernel, then it is called System Call.Functions of KernelThe functions of the kernel are as follows −Process managementAccess computer resourcesDevice managementMemory managementInterrupt handlingI/O communicationTypes of KernelsThe different types of kernels are as follows −Monolithic kernel.Micro kernel.Hybrid kernel.Nano kernel.Exo kernelNow let ...
Read MoreWhat is the concept of Monolithic kernel?
Kernel is the main part of an Operating System. It is the first program that is loaded after the boot loader whenever we start a system. The Kernel is present in the memory until the Operating System is shut-down.Kernel provides an interface between the user and the hardware components of the system. Whenever a process makes a request to the Kernel, then it is called System Call.Functions of KernelThe functions of the kernel are as follows −Process managementAccess computer resourcesDevice managementMemory managementInterrupt handlingI/O communicationTypes of KernelsThe different types of kernels are as follows −Monolithic kernel.Micro kernel.Hybrid kernel.Nano kernel.Exo kernelNow let ...
Read MoreWhat is the computing environment?
In computers there are different types of computing technologies and all are different from each other. By using this we are finding output based on the input given by the user.In a computing environment the user can use a particular computing technology and it is responsible for all the types of input and output given by the computer.The different numbers of computing technologies that are used in OS are as follows −Traditional computingIn traditional computing the user can use a traditional method like static memory allocation and it is mainly useful in single user operating systems.In this technique there will ...
Read MoreDifferentiate between programmed I/O and interrupt driven I/O.
The differences between programmed (Input/Output) I/O and interrupt-driven I/O are as follows −Programmed I/OThis I/O technique is the simplest to exchange data between external devices and processors. In this technique, the processor or Central Processing Unit (CPU) runs or executes a program giving direct control of I/O operations.Processor issues a command to the I/O module and waits for the operation to complete. Also, the processor keeps checking the I/O module status until it finds the completion of the operation.The processor's time is wasted, in case the processor is faster than the I/O module. Its module is considered to be a ...
Read MoreWhat is buffering and spooling in a batch processing operating system?
To improve the performance and to avoid the CPU idle time the operating system uses two approaches which are explained below in detail.BufferingIt is a method of overlapping input, output and processing of a single job.After reading the data, the CPU is about to start operating on it, the input device is instructed to begin the next input immediately. The CPU and the input device are both busy. By the time the CPU is ready for the next data item the input device will have to finish its reading.The CPU then begins processing the next data while the input device ...
Read MoreWhat is the computer architecture that supports the operating system?
There are different operating systems for different kinds of computers and processors. They are divided into different categories.Single processor systemSingle CPU or processor that manages the computer and it runs on a different operating system, and performs a number of tasks using one processor called a single processor system.In a single processor system different types of tasks can be performed like disk control, user control, system control etc.The figure given below depicts the single processor system −Multiprocessor systemWhen one task can be performed by using multiple processors then it is called a multiprocessor system.In a multiprocessor system a number of ...
Read MoreWhat are the user and system goals of Operating Systems?
The design of the operating system should be defined by the goals and specifications which are affected by hardware and systems. Thus there would be user goals and system goals for an OS.User GoalsThe user goals or requirements should be as follows −The OS usage should be convenientShould be easy to use and easy to learnShould be safe and secure to use and information handling, and security should be robustShould be fast in response to the user requestsSystem GoalsThe system design requirements should be as follows −The OS should be easy to design, maintain and also to implement.Updates should be ...
Read MoreWhat is a system call?
System call provides an interface between user program and operating system. It is represented as follows −When the user wants to give an instruction to the OS then it will do it through system calls. Or a user program can access the kernel which is a part of the OS through system calls.It is a programmatic way in which a computer program requests a service from the kernel of the operating system.Program executes in two modes as follows −User mode − Cannot access any hardware resources, which perform only the user operations.Kernel mode − Can access hardware resources like RAM, ...
Read MoreWhat are the different system calls in the operating system?
The different system calls are as follows −System calls for Process managementSystem calls for File managementSystem calls for Directory managementLet us understand them one by one.System calls for Process managementA system is used to create a new process or a duplicate process called a fork. The duplicate process consists of all data in the file description and registers common. The original process is also called the parent process and the duplicate is called the child process.The fork call returns a value, which is zero in the child and equal to the child’s PID (Process Identifier) in the parent. The system ...
Read MoreWhat are the interrupt stages and processing?
Instruction cycle consists of fetch, execute and interrupt stage show in below diagram −If any interrupt occurs, it is indicated by an interrupt flag. The CPU will go to interrupt handler routine. Interrupt handler then checks the type of interrupt and executes the appropriate function. It involves overhead but still better than the CPU waiting for I/O completion or other activities.Interrupt handler activates most prior able activity first and later deferrable part will be handled.ExampleBlock of data arrives on the network line.Kernel marks the presence of data (urgent part) and gives the CPU back to the process that was running ...
Read More