473,386 Members | 1,842 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

i want help in writing a simulator in java

I am shraddha and i have a project in which i have to design a discrete event simulator in java to simulate a counter servicing a queue of customers bt i am nt getting any clue of how to go about the programming part please help me in writing the code and provide some help , u c i m vry confused how to go abt it , someone plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz help me out.
Mar 24 '07 #1
10 2655
r035198x
13,262 8TB
I am shraddha and i have a project in which i have to design a discrete event simulator in java to simulate a counter servicing a queue of customers bt i am nt getting any clue of how to go about the programming part please help me in writing the code and provide some help , u c i m vry confused how to go abt it , someone plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz help me out.
Maybe you should go back to your teacher and ask him to explain a bit more. We can only start helping you once you've started on it and have done some work yourself.
Mar 26 '07 #2
Ya teacher although i mst nt say is of no good tht's why i am asking for help here, n as far as the work part is concerned i am doing , i am trying to use the javaDEMOS for modelling the simulator bt i m not getting the approach of how to actully start going abt writing the code cn u plz help me in telling tht wether demos package is available in the JDK or wud i hv i'll hv to get it from somewhere n plz it wud also b nice if u can recommend any buk on this demos package n plz guide me how to start modelling n what shud b my approach,plzzzzzzzzzzzz help me out , its very urgent.Plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz zzzzzzzzzzzz reply soonnnnnnnnnnnnnnnn.
Mar 26 '07 #3
r035198x
13,262 8TB
Ya teacher although i mst nt say is of no good tht's why i am asking for help here, n as far as the work part is concerned i am doing , i am trying to use the javaDEMOS for modelling the simulator bt i m not getting the approach of how to actully start going abt writing the code cn u plz help me in telling tht wether demos package is available in the JDK or wud i hv i'll hv to get it from somewhere n plz it wud also b nice if u can recommend any buk on this demos package n plz guide me how to start modelling n what shud b my approach,plzzzzzzzzzzzz help me out , its very urgent.Plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz zzzzzzzzzzzz reply soonnnnnnnnnnnnnnnn.
What's your plan yet?

You should draw up your class diagrams which means you should write down the required classes down.

When I did the same project for my second year project I had classes for

Server
Scheduler
Event(abstract)
........and a few more which I'm sure you can now come up with.
Mar 26 '07 #4
r035198x
13,262 8TB
Ya teacher although i mst nt say is of no good tht's why i am asking for help here, n as far as the work part is concerned i am doing , i am trying to use the javaDEMOS for modelling the simulator bt i m not getting the approach of how to actully start going abt writing the code cn u plz help me in telling tht wether demos package is available in the JDK or wud i hv i'll hv to get it from somewhere n plz it wud also b nice if u can recommend any buk on this demos package n plz guide me how to start modelling n what shud b my approach,plzzzzzzzzzzzz help me out , its very urgent.Plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz zzzzzzzzzzzz reply soonnnnnnnnnnnnnnnn.
By the way, your teacher is probably very good. You should spend some time with him/her. Blaming your teacher is the first step to failing the course.
Mar 26 '07 #5
hey can u tell me from where can i get the java.DEMOS package for writing the simulator n what do u think which is the best language for simulator writing i know c,c++,java, plzzzzzzzzzzzzzzzzzzzz reply soon
Mar 28 '07 #6
r035198x
13,262 8TB
hey can u tell me from where can i get the java.DEMOS package for writing the simulator n what do u think which is the best language for simulator writing i know c,c++,java, plzzzzzzzzzzzzzzzzzzzz reply soon
I work with Java more than I do with other languages so the chice I'd give is obvious. I've also done a simulation program in Java. What you need to understand however, is that we are not here to give you all the code. If you really want to learn, you will spend time with your teacher and try to design the program on your own and then we can assist when we see you putting some effort.
Mar 28 '07 #7
Ok if i send u the code i m writing then can u guide me plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz if again u jst dont ask me to discuss it wid the teacher bcoz i think widout discussing the scenario and understanding it why wud i have come here , u shud understand tht i really am helpless therefore i want to seek help from n as u say of the code i am working on it , therefore i have asked u tell me abt the availability of the java.DEMOS package.I jst want guidance n not the whole source code therefore i asked u abt the approach i shud follow.PLzzzzzzzzzzzzz understand n i 'll send the soure code tht i m working upon in 3-4 dayz bcoz i am going to have my tests.
Mar 29 '07 #8
r035198x
13,262 8TB
Ok if i send u the code i m writing then can u guide me plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz if again u jst dont ask me to discuss it wid the teacher bcoz i think widout discussing the scenario and understanding it why wud i have come here , u shud understand tht i really am helpless therefore i want to seek help from n as u say of the code i am working on it , therefore i have asked u tell me abt the availability of the java.DEMOS package.I jst want guidance n not the whole source code therefore i asked u abt the approach i shud follow.PLzzzzzzzzzzzzz understand n i 'll send the soure code tht i m working upon in 3-4 dayz bcoz i am going to have my tests.
I'm more interested in your design first than in the code. Which classes do you have and what are the relationships between them?
Mar 29 '07 #9
Hi Shradhdha ...this is MEhdi , Ur Project partner ...Der I also tried a lot , this " DEMOS".. but didnt found a glimpse of tht ..I m still trying ...hop we get it ...
Apr 4 '07 #10
JosAH
11,448 Expert 8TB
Ya teacher although i mst nt say is of no good tht's why i am asking for help here, n as far as the work part is concerned i am doing , i am trying to use the javaDEMOS for modelling the simulator bt i m not getting the approach of how to actully start going abt writing the code cn u plz help me in telling tht wether demos package is available in the JDK or wud i hv i'll hv to get it from somewhere n plz it wud also b nice if u can recommend any buk on this demos package n plz guide me how to start modelling n what shud b my approach,plzzzzzzzzzzzz help me out , its very urgent.Plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz zzzzzzzzzzzz reply soonnnnnnnnnnnnnnnn.
You should check your keyboard; some key don't work while others bounce.

kind regards,

Jos
Apr 4 '07 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Miki Tebeka | last post by:
Hello All, I'll be writing a hardware simulator for one of our CPU's shortly. Any advices/links/... on the subject? Thanks. Miki
0
by: Alex Vinokur | last post by:
C++ Simulator of a Universal Turing Machine can be downloaded at : * http://alexvn.freeservers.com/s1/utm.html * http://sourceforge.net/projects/turing-machine/ The program simulates a...
61
by: /* frank */ | last post by:
I have to do a homework: make a CPU simulator using C language. I have a set of asm instructions so I have to write a program that should: - load .asm file - view .asm file - do a step by step...
1
by: Ciko | last post by:
Was wondering how I could write a simple simulator (assembler CPU Z80). Thanks for any advice, link.
0
by: Killingkids | last post by:
hello, everyone...im facing a big problem in my final year project, hope that u all can help me solve the problem ... i was doing a mobile web application which enable student to check the college...
0
by: Killingkids | last post by:
hello, everyone...im facing a big problem in my final year project, hope that u all can help me solve the problem ... i was doing a mobile web application which enable student to check the college...
1
by: dodo1267 | last post by:
hi all i need a help in writing cpu simulator i will thank everybody who will guide me how to start doing that and explain this: Program conditionals (loops, if-then-else) are translated into...
3
by: DanielJohnson | last post by:
I was wondering if anyblody can suggest me a network simulator written in python in which I can add on my own code and extend its functionality. I am looking for a simulator which will simualte...
4
by: Leroymetzker | last post by:
//My card class import java.util.Arrays; import java.util.Random; public class Card { //Attributes private int suit; private int value;
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.