learn

Operating System Scheduling algorithms

A Process Scheduler schedules different processes to be assigned to the CPU based on particular scheduling algorithms. There are six popular process scheduling algorithms which we are going to discuss in this chapter − First-Come, First-Served (FCFS) Scheduling Shortest-Job-Next (SJN) Scheduling Priority Scheduling Shortest Remaining Time Round Robin(RR) Scheduling Multiple-Level Queues Scheduling These algorithms are …

Operating System Scheduling algorithms Read More »

A New Algorithm for Data Compression

Many compression algorithms replace frequently occurring bit patterns withshorter representations. The simple approach I present is to replace commonpairs of bytes by single bytes.The algorithm compresses data by finding the most frequently occurringpairs of adjacent bytes in the data and replacing all instances of the pair with abyte that was not in the original data. …

A New Algorithm for Data Compression Read More »