C Programming Assignment - E-Mail Simulator #

Cerrado Publicado Nov 15, 2014 Pagado a la entrega
Cerrado Pagado a la entrega

Queues are commonly used in network systems. For example, e-mail is placed in queues while it is waiting to be sent and after it arrives at the recipient's mailbox. A problem occurs, however, if the outgoing mail processor cannot send one or more of the messages in the queue. For example, a message might not be sent because the recipient's system is not available. Write an e-mail simulator that processes mail at an average of 40 messages per minute. As mesages are recieved, they are placed in a queue. For the simulation, assume that the messages arrive at an average rate of 30 messages per minute. Remember, the messages must arrive randomly, so you will need to use a random number generator to determine when messages are recieved. Each minute, you can dequeue up to 40 messages and send them. Assume that 25% of the messages in the queue cannot be sent in any processing cycle. Again, you will need to use a random number to determine whether a given message can be sent. If it can't be sent, put it back at the end of the queue(enqueue it). Run the simulation for 24(simulated) hours, tracing the number of times each message had to be requeued. At the end of the simulation, print the statistics that show: a. The total messages processed. b. The average arrival rate. c. The average number of messages sent per minute. d. The average number of messages in the queue in a minute. e. The number of messages send on the first attempt, the number sent on the second attempt, and so forth. f. The average number of times messages had to be requeued (do not include the messages sent the first time in this average).

## Deliverables

Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

##in c source code but not c++ source code...

Programación en C Visual Basic

Nº del proyecto: #6735466

Sobre el proyecto

10 propuestas Proyecto remoto Activo Dec 22, 2014

10 freelancers están ofertando un promedio de $133 por este trabajo

srinichal

Let me know more details and I am willing to discuss further about the project specifications .

$163 USD en 3 días
(70 comentarios)
6.2
it2051229

Hi, I am placing my bid on your project because I have read the requirements and I am confident enough with my C and algorithm skills. I am focused mostly on doing computer science work here in freelancer.com and I wou Más

$20 USD en 1 día
(153 comentarios)
5.8
foreignt

A proposal has not yet been provided

$461 USD en 1 día
(8 comentarios)
5.5
hbxfnzwpf

I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the language is c++ under linux. I used Más

$111 USD en 2 días
(29 comentarios)
5.5
idleswell

Hello, I have 30 years experience programming in C. I have done numerous discrete event simulations using queues. I will create this email simulation in C using the parameters given and gather the statistics you req Más

$181 USD en 3 días
(62 comentarios)
4.5
oobretenov

I could help you. . . . .

$166 USD en 5 días
(11 comentarios)
4.2
asingh0706

I will deliver you the code within 24 hours of awarding me the project. You are welcome if you wish to have any discussion regarding the assignment you have posted.

$66 USD en 1 día
(2 comentarios)
2.5
giampaolofolena

I can do this work for you. I will do this in 2/3 days. I am a C/C++ programmer. If you have any question please don't hesitate to contact me.

$40 USD en 3 días
(3 comentarios)
2.0
pixelke

A proposal has not yet been provided

$100 USD en 14 días
(0 comentarios)
0.0
ziopli

Please a.d.d Me (%%%% S.k.y.p.e I.d--->ziopli &&&&&&&&&&&&&&&&&&&&&&) for more discuss $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

$10 USD en 1 día
(1 comentario)
0.0