- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Bhanu Priya has Published 1581 Articles
Bhanu Priya
5K+ Views
Peterson's solution ensures mutual exclusion. It is implemented in user mode and no hardware support is required therefore it can be implemented on any platform. Now Peterson’s solution uses two variables: interest and Turn variable.Now we will first see Peterson solution algorithm and then see how any two processes P ... Read More
Bhanu Priya
4K+ Views
Whenever a process is accessing the shared variable then that process is said to be in the critical section. If no two processes are in the same critical section at same time then this technique is called mutual exclusion.ExampleMutual exclusion problem with assigned priority is shown below −Let us see ... Read More
Bhanu Priya
7K+ Views
A semaphore is a shared variable which is used to implement mutual exclusion between system processes. It is mainly helpful to solve critical section problems and is a technique to achieve process synchronization.There are two types of semaphores which are as follows −Binary semaphore − Can take only two values, ... Read More
Bhanu Priya
5K+ Views
The essential properties of the different types of operating systems are as follows −Batch Operating systemJobs with similar needs are batched together and run through the computer as a group by an operator or automatic job sequencer. Performance is increased by attempting to keep CPU and I/O devices busy at ... Read More
Bhanu Priya
441 Views
The dispatcher is done after the scheduler. It gives control of the CPU to the process selected by the short term scheduler. After selecting the process, the dispatcher gives CPU to it.Functions of dispatcherThe functions of the dispatcher are as follows −Switching context.Switching to user mode.Jumping to the proper location ... Read More
Bhanu Priya
379 Views
Let us understand what algorithmic paradigms are.Algorithmic paradigmsAn algorithmic paradigm is a generic model or framework that underlies the design of a class of algorithms. It is an abstraction higher than the notion of an algorithm, and higher than a computer program.The different algorithm paradigms are as follows −Brute force ... Read More
Bhanu Priya
922 Views
System calls are a method to program for communicating through an operating system. Application developers unable to possess straight access with system calls might be able to access with API (Which indicates the way that software components must communicate).System call provides an interface between the user program and the operating ... Read More
Bhanu Priya
16K+ Views
Interrupts are generally called signals which are generated by the software or hardware when a particular event or process requires immediate attention. So, the signal informs the processor about a high priority and urgent information demand causing an interruption in the current working process.Thus, whenever an interruption occurs the processor ... Read More
Bhanu Priya
2K+ Views
An interrupt is generally called as a signal, which is informing a program that a particular event has occurred. It causes a receiving program to stop and create a program to serve the interrupt.Example − When some process is running into the operating system and when you type a keystroke ... Read More
Bhanu Priya
5K+ Views
Inter process Communication (IPC) is a mechanism which allows the exchange of data between processes. It enables resource and data sharing between the processes without interference.Processes that execute concurrently in the operating system may be either independent processes or cooperating processes.A process is independent and it may or may not ... Read More