Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

CPU Scheduling FCFS/PS/SJF

rondave

Proficient
Advanced Member
Messages
228
Reaction score
0
Points
26
Mga Sir/Ma'am need ko po sana ng finish program ng CPU Scheduling na my FCFS/PS/SJF...

Salamat po.....:help:
 
Gud am sir.. Sir pwede ba ako makahingi ng program na CPU Scheduling like SJF, FCFS, PS. kung ok lang po.. Thank you mga ka sb.
 
ako din po . baka pwede makahingi ng program. pa pm nlng po . java po sana... FCFS,SJF at Round Robin.
 
Ako din po baka pwedeng makahingi ng codes for Round Robin tsaka yung iba pa pong CPU Scheduling. Microsoft Visual Studio 2010 po yung language or pwede ding pong kahit java. Please pahelp po sa meron dyan or send nyo po sa email ko,

[email protected]


Thanks.
 
sino gusto gawa ako isang CPU scheduling as your basis. it will be written in C#.Net
 
Mga Sir/Ma'am pasend din naman po ng codes for CPU Scheduling in Java language.Maraming salamat po in advance.
 
Hi sir, baka pwede pa send din yung finish program para sa SFJ preemprtive salamat
 
penge namn po ako ng FCFS pa pm po please
 
Mga ka TS kung sino man po may kopya ng Code ng Round Robin for VB2010 pahingi naman po, maraming salamat in advance.
 
/**
* @(#)FirstComeFirstServe.java
*
* GINAWA KO TONG PROGRAM NA TO PARA MAGING GUIDE LAMANG. HIT THANKS NA LANG PO. CODED GAMIT ANG JAVA.
* @author
* @version 1.00 2016/3/11
*/

import java.util.Scanner;
public class FirstComeFirstServe {

public FirstComeFirstServe() {
}

public static void main (String[] args) {

System.out.println ("\nFIRST COME, FIRST SERVE CPU SCHEDULING\n");
Scanner userInput = new Scanner(System.in);
System.out.print ("How many processes? ");
int num = userInput.nextInt();

int processes[] = new int[num+1];
int i;
for(i = 1; i<processes.length; i++) {
System.out.print("Enter the process " + "(" + i + "): ");
processes = userInput.nextInt();
}
System.out.println ("\nThese are the processes entered.\n\nSequence\t\tProcess\n");
for (i = 1; i<processes.length; i++) {
System.out.println ("\t" + i + "\t\t\t\t" + processes);
}
}
}

- - - Updated - - -

SAMPLE OUT USING JCREATOR :thumbsup:

FIRST COME, FIRST SERVE CPU SCHEDULING

How many processes? 7
Enter the process (1): 23
Enter the process (2): 12
Enter the process (3): 21
Enter the process (4): 13
Enter the process (5): 65
Enter the process (6): 54
Enter the process (7): 87

These are the processes entered.

Sequence Process

1 23
2 12
3 21
4 13
5 65
6 54
7 87

Process completed.
 
boss pwede po ba magpagawa din ako ng cpu schedulling fcfs, sjf at srtf any language po. kahit visual basic thanks po. need ko po till thursday sana makagawa po kayo :pray:
[email protected]
 
mga idol pwede po ba magpagawa din ako ng cpu schedulling fcfs, sjf ,round robin or banker's algorithm any language po (c++,java,vb) . thanks po. need ko lang po.
[email protected]

- - - Updated - - -

up! up!up! up!up! up!up! up!
 
Mga sir pahingi naman ng codes/programs nio in vb.net about priority scheduling algorithm(Non-preemptive) and shortest remaining time first(preemptive) maraming salamat sa makakatulong :)
 
Back
Top Bottom