Lengkap

C Programming Assignment - E-Mail Simulator - Please Read

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.

## Deadline information

Must be completed by Tuesday November 13, 2001.

Kemahiran: Pengaturcaraan C, Kejuruteraan, MySQL, PHP, Kejuruteraan Perisian, Ujian Perisian

Lihat lagi: write programming code, write an e mail, the c programming, the assignment problem, systems programming, statistics problem, programming number, problem statistics, problem of statistics, problem in statistics, problem assignment, problem and statistics, or in c programming, number programming, if c programming, functional programming example, f# programming, forth programming, for c programming, example of assignment problem

Tentang Majikan:
( 14 ulasan ) Walden, United States

ID Projek: #2830775

Dianugerahkan kepada:

hardwiredvw

See private message.

$12 USD dalam 14 hari
(19 Ulasan)
4.8

8 pekerja bebas membida secara purata $79 untuk pekerjaan ini

oleg21

See private message.

$16.15 USD dalam 14 hari
(137 Ulasan)
7.0
sagatech

See private message.

$306 USD dalam 14 hari
(38 Ulasan)
6.5
vw139994vw

See private message.

$55.25 USD dalam 14 hari
(60 Ulasan)
4.5
teamsgreen

See private message.

$51 USD dalam 14 hari
(48 Ulasan)
4.3
vw132761vw

See private message.

$119 USD dalam 14 hari
(33 Ulasan)
4.2
karthickvw

See private message.

$32.3 USD dalam 14 hari
(21 Ulasan)
3.2
costelc

See private message.

$38.25 USD dalam 14 hari
(7 Ulasan)
2.8