Showing posts with label simulation. Show all posts
Showing posts with label simulation. Show all posts

C Program to Simulate Round Robin CPU Sceduling Algorithm

The round robin CPU scheduling algorithm is simulated using C program. The time slice or time quantum is read from the user.

Program:

#include<stdio.h>
struct process{

C Program to Simulate Priority Scheduling CPU scheduling Algorithm

The following C program implements Simulation of  priority scheduling (CPU Scheduling algorithm). Each process or job is given a priority. The priority is represented using a positive integer. The priority increases as the value of the integer decreases.

Program:

#include<stdio.h>
struct process{

Simulation of Shortest Job First (SJF) CPU scheduling algorithm in C Language

This is a C program to simulate Shortest Job First (SJF) CPU scheduling algorithm. In Shortest Job first CPU scheduling algorithm, the process with  shortest CPU burst time is executed first. The following program is to simulate non preemptive SJF scheduling. Preemptive SJF CPU scheduling algorithm will be discussed in another post.

Program:

#include<stdio.h>
struct process{
int burst,wait,no;
}p[20]={0,0};

Simulation of FCFS CPU Scheduling Algorithm in C

This is a C program to simulate First come first served (FCFS) CPU scheduling algorithm. First come first served algorithm serves each processes (or jobs) in the order of arrival. The process with lowest arrival time is executed first.

Program:
#include<stdio.h>
struct process
{
int burst,wait;
}p[20]={0,0};

C Program to Simulate grep Command in Linux

This post contains C program to simulate grep command in Linux or Unix operating systems

Simulation of  grep command in Linux

#include<stdio.h>
#include<string.h>
main()
{

Intel 8085 Microprocessor Simulator for Android Phones

Simulator application software for  8085 microprocessor intel for Android phone. samsung galaxy app download playstore full version .apk
8085 microprocessor
Intel 8085 is a basic microprocessor with 8 bit data bus. Since it is a basic microprocessor, it is included in the syllabus of many Engineering and Diploma courses. Assembly level programming for 8085 microprocessor is also part of many syllabi. The same microprocessor kit is also available in many colleges for practicals. So, it is inevitable to have an Intel 8085 simulator. There are some simulators available for PC. But they are not much abundant in Android apps. Here i am telling you about an 8085 simulator for your Android phone. You can find it by searching in playstore "Intel 8085 Simulator".

8085 Simulator in Playstore