Find Jobs
Hire Freelancers

C Programming Assignment - E-Mail Simulator - Please Read

$30-5000 USD

进行中
已发布超过 22 年前

$30-5000 USD

货到付款
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.
项目 ID: 2830775

关于此项目

8提案
远程项目
活跃23 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
See private message.
$12 USD 在14天之内
4.9 (19条评论)
4.8
4.8
8威客以平均价$79 USD来参与此工作竞价
用户头像
See private message.
$16.15 USD 在14天之内
5.0 (137条评论)
7.0
7.0
用户头像
See private message.
$306 USD 在14天之内
4.3 (38条评论)
6.5
6.5
用户头像
See private message.
$55.25 USD 在14天之内
4.6 (60条评论)
4.5
4.5
用户头像
See private message.
$51 USD 在14天之内
4.7 (48条评论)
4.3
4.3
用户头像
See private message.
$119 USD 在14天之内
4.5 (33条评论)
4.2
4.2
用户头像
See private message.
$32.30 USD 在14天之内
4.8 (21条评论)
3.2
3.2
用户头像
See private message.
$38.25 USD 在14天之内
5.0 (7条评论)
2.8
2.8

关于客户

UNITED STATES的国旗
Walden, United States
4.6
14
会员自10月 29, 2001起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。