## Python program to design calculator using tkinter

import math from tkinter import * from tkinter import ttk from PIL import Image, ImageTk class Calculator: # *-*-* CALCULATOR *-*-* calc_value = 0.0  # Stores the current value to…

## C program to implement the Disk Scheduling algorithm for Shortest Seek Time First

It seems reasonable to service all the requests close to the current head position before moving the head far away to service other requests. This assumption is the basis for…

## C program to implement the Disk Scheduling algorithm for First Come First Served

DESCRIPTION:Disk Scheduling is the process of deciding which of the cylinder request is in the ready queue is to be accessed next. The access time and the bandwidth can be…

## Program to implement Best-Fit algorithm

Concept:Allocate the smallest hole that is big enough. We must search the entire list, unless the list is ordered by size. This strategy produces the smallest left over hole. SOURCE…

## Program to implement simple paging technique

ALGORITHM:Step 1: Read all the necessary input from the keyboard.Step 2: Pages – Logical memory is broken into fixed – sized blocks.Step 3: Frames – Physical memory is broken into…

## Program to implement Optimal page replacement technique

ALGORITHM:Here we select the page that will not be used for the longest period of time.1. Start2. Read Number Of Pages And Frames3. Read Each Page Value4. Search For Page…

## Program to implement LFU page replacement technique

ALGORTHIM:1. Start2. Read Number Of Pages And Frames3.Read Each Page Value4. Search For Page In The Frames5. If Not Available Allocate Free Frame6. If No Frames Is Free Repalce The…

## Program to implement LRU page replacement technique

ALGORITHM :1. Start 2. Declare the size3. Get the number of pages to be inserted4. Get the value5. Declare counter and stack6. Select the least recently used page by counter value7.…

## Program to implement FIFO page replacement technique

Concept: The FIFO page-replacement algorithm is easy to understand and program. However, its performance is not always good. On the one hand, the page replaced may be an initialization module…

## Program to implement deadlock prevention technique

Concept:(Bankers algorithm) When a new process enters a system, it must declare the maximum number of instances of each resource type it needed. This number may exceed the total number…