1,306 Topics

Member Avatar for
Member Avatar for innocent_one

Hey.. Can anyone please help me? I am trying to write a round robin scheduler and so i decided that if i got a fcfs scheduler, then all i would have to do is change the process from completing in the processor to it just going into the processor for …

Member Avatar for innocent_one
0
563
Member Avatar for falaky

[B]hi alll am a new member of this this amazing community and feel good to be part of it.i required help regarding simulation of multilevel feedback queue.i have checked many samples of scheduling but couldnt got right...so can any body help me?? code of this simulation should be in c/c++ …

Member Avatar for jwenting
0
232
Member Avatar for compshooter

I have three doubly linked list queues and I need to sort them based on a variable that each object has namely its job length. I am attempting to code for a shortest job first processing program. I already have most of the program complete but now I need to …

Member Avatar for compshooter
0
238
Member Avatar for mel2005

Just wondering if you would help me in my assignment, I've started on them. I've done most of it except the following three questions. (1) Any flight can be brought to the front of the queue ready for deleting (landing) For example if the flight is in the back, we …

Member Avatar for Fasola
0
360
Member Avatar for mel2005

[B] (1) any flight can be brought to the front of the queue ready for deleting(landing) (2) any flight can be diverted to the back of the queue for another airport if the first airport is busy or on runway closed due to an accident. (3)in the flight ID, there …

Member Avatar for Narue
0
132
Member Avatar for mel2005

at the moment this is a stack of queue, i am trying to make it into first in first out, (FIFO) , can anyone help. thank you very much [code] #include <iostream.h> #include <stdlib.h> const int STACK_SIZE = 6; const int NIL = -1; const int LAST_ELEMENT = STACK_SIZE - …

Member Avatar for mel2005
0
161
Member Avatar for kloony

Hi Guys, it's me again! I have been posing memory-related problems for the past few days because I don't seem to understand what is the problem with my code. I kind of figured it's due to memory issues....so here's my question. Suppose I have a (first in first out) queue …

Member Avatar for kloony
0
356
Member Avatar for kloony

I have a first-in-first-out queue implementation such that when it is first initialized, a malloc is called to set aside memory for items that will be placed on the queue. When I am done with the queue, how do I free up the memory? My code for the queue is …

Member Avatar for kloony
0
482
Member Avatar for roscioeak@direc

I posted earlier for help with this and someone gave me a good clue and I worked with it but I am still boggled. I have been working on a couple different ways to accomplish this but have come up with nothing right yet. I am close but still need …

Member Avatar for Narue
0
134
Member Avatar for tat2dlady

Does anyone know how to stop a Java thread? I am not very familiar with Java and am not really sure exactly what I am doing. I have to create the necessary classes to facilitate an indirect blocking and non-blocking communication environment between threads (producers and consumers) using a bounded …

Member Avatar for jwenting
0
107
Member Avatar for roscioeak@direc

I am trying to make this queue right now that uses elements in an array to increase the appointment time for a queue. Only problem is I don't really know how to get each individual element from the array to add it to the queue. I thought I could just …

Member Avatar for Narue
0
137
Member Avatar for Asif_NSU

I have to write a program where the input is a Boolean Expression and the ouput is the corresponding sum of minterms for that particular expression. My idea is that i need to convert the infix boolean expression to a postfix expression. From there I need to construct the truth-table …

Member Avatar for Asif_NSU
0
751
Member Avatar for Jaron

1)UNIX operating system uses [B]Round robin Time slicing with multilevel feed back.[/B] Assume that there are [B]10 processes [/B] waiting in a queue which is implemented as a [B]linked list of PCB’s [/B] ( process control blocks). Assume the PCB have information about [B]Process ID , CPU burst time required …

Member Avatar for Dave Sinkula
0
106
Member Avatar for {{unknown}}

Hi.. I made two codes in C language. One of them is a [B]Dynamic stack [/B] and the other is [B]Dynamic queue[/B]. They are working correctly but I had one problem In both of them. The option 3 in Dynamic Stack [B]code [COLOR=DarkRed]doesn't display the topic in order[/COLOR][/B]? This problem …

Member Avatar for Dave Sinkula
0
140
Member Avatar for scar_zone82

hello there ....can someone help me solve my problem of my assignment....i try to code it....so I need some guidances ... This is the question... An operating systems uses shortest job first scheduling for it’s process management. Assume that there are 10 processes waiting in a queue which is implemented …

Member Avatar for vegaseat
0
195
Member Avatar for Jaron

1)UNIX operating system uses Round robin Time slicing with multilevel feed back. Assume that there are 10 processes waiting in a queue which is implemented as a linked list of PCB’s ( process control blocks). Assume the PCB have information about Process ID , CPU burst time required , amount …

Member Avatar for Intel
0
428
Member Avatar for compshooter

Ok, I have three queueus, MM, FP & TXT. Each of them contain objects which have variables associated with them. How do I access any of the variables that the front of my Queue points to? For example, I am trying to print out the name of the item that …

Member Avatar for compshooter
0
145
Member Avatar for F50

HI guys, This code dosn't compile, I think it is right but it gives an error when i use the -> to access the members of my struct. #include <stdio.h> #include <stddef.h> #define MAX_EVENTS 100 //Structure for Queue Elements struct Event { int event_type; int time_value; int bus_num; int bus_stop; …

Member Avatar for Intel
0
193
Member Avatar for {{unknown}}

Hi… Please I Need To Know How can I Display All The Topics Which I Added By Sorting In Option 3? I Programmed The Option (Case3) 3 To Display All Da Topics but I Need To Put Them In Order. Please Can Anyone help me In Adding The Code In …

Member Avatar for {{unknown}}
0
199
Member Avatar for helloworld

please help me, am confused in the memory bit, all i want is 32 k memory free and each time i add something and run it, it will say for example 27 k memory left how to i make this program only have 32 k memory, for example At the …

Member Avatar for Narue
0
126
Member Avatar for ekim0410

hello.. me and my groupmates are currently taking up assembly language programming course.. as a final requirement in our laboratory course, we are asked to choose one out of four machine problems to solve... we are desperately in need of help because we do not know how to solve the …

Member Avatar for 1o0oBhP
0
142
Member Avatar for helloworld

Each job had: • a name ( up to 8 letters) • a unique job number ( first job 1, second 2 and so on) • a priority 1-5 • memory requirement ( multiples of 4K, max 16K ) • programmer - name, extension prog1 Your job is to create …

Member Avatar for alc6379
0
109
Member Avatar for shantuli

hello, i just start learning java.please solve my following problem: Q: Write a simple program that allows a user to push up to ten names onto a stack as well as popping them off the stack. [B]my code is:[/B] import DataStructures.*; public class StackDemo { public static void main(String[] args) …

Member Avatar for jwenting
0
165
Member Avatar for sweety engineer

hi every body can any one help how to start with this project using the c++ ADT class ,write aprogram that simulates the operation of telephone system that might be found in asmall business, such as your local pizza parlor.Only one person can answer the phone(aingle server queue). but there …

Member Avatar for jasweb2002
0
144
Member Avatar for skeet123

I am having a very hard time trying to solve this problem.Here are the instructions to the assignment: Implement a Priority Queue using a heap. The heap should be implemented as a class that has a private member which is an array. The array is statically allocated and the size …

Member Avatar for skeet123
0
161
Member Avatar for jaeSun

ok, im trying to figure out this simultaneous process assignment ... i got it finished, runs fine for the most part, but 2 of the processes dont process.... the code: [code] #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <semaphore.h> int numof_bridgecars = 0; int northID, southID; //semaphore declarations sem_t north_s, …

0
83
Member Avatar for jaeSun

man, this might be hard for me to get across the question i have .... i have this project that requires using semaphores to do a project. (i have it attached). i am just looking for help on how to start it, or whatever. im just trying to understand where …

0
77
Member Avatar for Midnight Skulke

I have design two program and both have errors on it. the first is supposed to handle queue on integer, double, string and date. I have done for integer and double. When I compile it there was error on it. If you can just help me debug it and i …

Member Avatar for Narue
0
232
Member Avatar for gwenny

I need help writing a program using a character Queue. I am using the Queue to determine if the two sequences of characters are the same as each other. Also I have to implement my character Queue as a linked list (using Nodes). Can anyone out there help me write …

Member Avatar for Narue
0
146
Member Avatar for HollywoodTimms

Here is what I have #include <iostream.h> int main() { int i, total[3]; int myValue[3][3]; myValue[0][0] = 53,000; myValue[0][1] = 5; myValue[0][2] = 1; myValue[1][0] = 89,000; myValue[1][1] = 3; myValue[1][2] = 2; myValue[2][0] = 93,000; myValue[2][1] = 3; myValue[2][2] = 3; for (i = 0; i < 3; i++) …

Member Avatar for Ejaz
0
87
Member Avatar for HollywoodTimms

I gotta write a program that reads a file and determines a customers priority number. The program then builds a priority queue using hte priority number and prints the list of people waiting. Here is what I have so far int main() { int myValue[3][3]; myValue[0][0] = 53,000; myValue[0][1] = …

Member Avatar for HollywoodTimms
0
139
Member Avatar for jaeSun

i havent been able to find anyone to help me .... i am looking to create a queue .... i cant use a stack, as that is LIFO (last in, first out) ... but i need a FIFO (first in, first out) .... i have some code for a stack …

Member Avatar for jaeSun
1
291
Member Avatar for meow

hey guys, i want to overclock my comps vid card and processor. If any of you know how please tell me ... Heres my dxdiag: Is this a good gaming comp? ------------------ System Information ------------------ Time of this report: 9/30/2004, 17:29:37 Machine name: DRAGONFIRE Operating System: Windows XP Home Edition …

Member Avatar for meow
0
192
Member Avatar for meow

hey guys, i want to overclock my comps vid card and processor. If any of you know how please tell me ... Heres my dxdiag: Is this a good gaming comp? ------------------ System Information ------------------ Time of this report: 9/30/2004, 17:29:37 Machine name: DRAGONFIRE Operating System: Windows XP Home Edition …

0
83
Member Avatar for wewe

C++ - deals with list Assginment given: Consider a slight variation of the pointer-based implementation of the queue ADT. In this variation, the queue uses a circular linked list to represent the items in the queue. You must use only a single tail pointer. Construct the implementation of such queue …

Member Avatar for alc6379
0
190
Member Avatar for jasweb2002

I asked this before but didn't get an answer so I went to talk to my "professor" and he just about made me want to quit programming :( . So a little help would go great lenghs to salvaging this day. Basically I have to right a program that reads …

Member Avatar for jasweb2002
0
105
Member Avatar for jasweb2002

Hey Everyone Right now I am writing a file that needs a queue defined as a class. The queue has a function called 'front' that should return a reference to the front element of the queue. Needs to be a reference so the element can be altered. Bloc is a …

Member Avatar for jasweb2002
0
74
Member Avatar for rackus

Hi... This is my first post in here... here goes... I'm stuck at trying to understand how does round robin work. I understand that round robin is an algorthim that allocates an amount of timeslice to each process to provide a best possible fair allocation of CPU processing time. Each …

Member Avatar for rackus
0
151
Member Avatar for lore00

desperate need in help on how to do this! To design a class model to represent a simple air traffic controller scenario. Itz not necessary to consider any specific implementation details Air traffic control system: which organises and regulates the process of landing aircraft at an airport. The system has …

Member Avatar for nanosani
0
820
Member Avatar for CferMN

We are installing a Pharos Uniprint setup here on campus. We have just switched to Active Directory authentication as well. I have had to make some adjustments and add some .plist files to the System folder to make our defaults work. The problem I am running into is that I …

0
66
Member Avatar for cspek

I have read about the asp.net worker process but I am not very clear about the same. I have read only one worker process is created for every processor. But, they have also specified that looking into the performance of the worker process, a new worker process is created if …

Member Avatar for cspek
0
169
Member Avatar for blessedrose82

i need to pass up an operating systems project on the 19th of july. can anyone please help me do this project. i cant manage it by myself :rolleyes: . this is the question: Develop a program to simulate a computer using a Round-Robin scheduling algorithm with a time slice …

Member Avatar for meabed
0
652
Member Avatar for silicon

Hi everyone, I've recently been having a problem with my current program. I've gotten it to work so that I can enter a word in and it will check the word to see whether or not it is a palindrome by methods of stack/queue. eg. dad "Dad is a palindrome" …

Member Avatar for silicon
0
318
Member Avatar for migazankodian

Can anyone tell me why, after running a script is supposed to send over 15,000 emails, the email goes directly to C:\Inetpub\mailroot\Badmail without sending the email?? In the past after running the script I would be able to view the email in the Queue folder. However, that was way before …

Member Avatar for RobUK
0
123
Member Avatar for subtronic

So, in my spare time I'm working on a little OpenGL particle engine. I'll give this little guy it's own website and release the source code in a week or so. It's written in 100% C... it's quite ugly right now, but I hope to fix it up. The capabilities …

Member Avatar for mikeandike22
0
89
Member Avatar for jiggatom

Name: Jiggatom Date: June 11, 2004 at 16:10:43 Pacific Subject: bridge.dll error please help OS: XP Pro CPU/Ram: Pent III Comment: Hi, every time I boot up my comp an error box pops up titled RUNDLL, saying "C:/WINDOWS/Downloaded Program Files/bridge.dll. My comp has been running really slow and i wasnt …

Member Avatar for jiggatom
0
571
Member Avatar for WonderingAboutT

Everytime I start the computer I get this message. Could not load or run 'C:\OPLIMIT\ocraware.exe' specified in the registry. Make sure the file exists on your computer or remove the reference to it in the registry. I believe we got it when someone was using our computer looking for a …

Member Avatar for crunchie
0
294
Member Avatar for bandmm

I'm trying to remove the mshp.dll hijack. I've tried using CWShredder, AdAware, SpyBot, and FixBlast, but the mshp.dll hijack keeps coming back. Please help. I just ran CWShredder, and below is the HijackThis log. Note: I'm posting this using Netscape, and haven't started IE since I ran CWS. Thanks. Brad …

Member Avatar for crunchie
0
126
Member Avatar for kc0arf

[B]Intro[/B] This guide is for building a Linux audio server using RedHat Linux and Icecast / Ices combination. I write this guide with no expressed warrenty or liability for it's accuracy or completion. You may use at your own risk. This is simply how I was able to get my …

0
764
Member Avatar for eager04

ok im trying to change this from link list to a queue.bt whenever i run it it sill shows from last to first which is the opposite from what i want.here it is, i hope somebody can try to see whats wrong with it. #include<iostream.h> #include<conio.h> struct queue { int …

Member Avatar for gusano79
1
177

The End.