Question: Problem 1 Consider a server farm composed of 2 0 identical servers that can handle requests from various clients. A request from a client is
Problem
Consider a server farm composed of identical servers that can handle requests from various clients. A
request from a client is assigned to one of the servers completely at random with uniform probability
Consider requests submitted to this farm. Answer the following questions pts each:
What is the probability that all requests go the same machine?
What is the probability that each request goes to a different machine?
Problem
Consider a webserver that receives web requests at an average rate lambda of requests per second that follows
a Poisson distribution. Answer the following questions: pts each
a Whats the probability that it would receive requests in a second?
b Whats the probability that no requests will arrive for seconds?
c Consider one second and assume that requests already arrived in second, what is the probability
that requests will arrive in the next seconds
Problem
Using a pseudo random number generation function eg rand in C or other equivalent functions in other
languages that generates uniformly distributed random numbers, write three functions that generate the
following: pts each
a uniformly distributed integers between and
b uniformly distributed floating numbers between and
c numbers in which the number is produced with probability the number with probability
otherwise a floating number between and
Please submit your code and a sample output. You can use any language as long as it compiles and runs on
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
