Download 361-Mid2 - WordPress.com

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Central limit theorem wikipedia , lookup

Transcript
Princess Nora Bint AbduRahmane University
College of computer and information sciences
Network Depertment
Midtearm2
Modeling and simulation(NET361)
Exam duration: One hour.
Full2013
Full2013
Student Name
Student _ID
Section No
Searial NO
Question1 Answers:
1
2
3
4
5
6
7
8
Question2 Answers:
1
2
3
4
5
6
7
8
Question1:
Fill in the blank with the correct answer based on the definitions and theories terms
discussed in class: [4 marks each , 0.5 each]
1) Parallel and distributed simulation
a. Run the different break up parts simultaneously.
b. Run the different break up parts sequentially.
c. Run the different break up parts one after another.
d. Run the different break up parts in different time.
2) Y  a1 x1  a2 x2 , E ( y ) 
a. a1 E( x1 )  a2 E( x2 )
b. E(a1 x1 )  E(a2 x2 )
E( x1 )  E( x2 )
d. None of the above
c.
3) Poisson Probability Distribution:
a. Consider a discrete random number.
b. Consider a continuous random number.
4) In Poisson Probability Distribution, whene
a. E ( x1 ) = 1
b. E ( x1 ) =0
c.
E( x1 ) =𝜆
d. E( x1 ) = x1
5) The popularity of ………. is because of the “memory-less” property:
a. Poisson Distribution
b. Exponential Distribution
c. Normal Distribution
d. Uniform Distribution
6) An important uniform distribution is that when:
a. a=1 ,b=0
b. a=0, b=1
c. a=0 , b=0
d. a=1 ,b=1
7) Random Number Generation
a. Uniformity
b. dependence
c. Efficiency
d. a & c
e. b & c
8) standard normal distribution have :
a.  = 1, and 2 = 0
b.  = 0, and 2 = 1
c. = 0, and 2 = 0
d. = 1, and 2 = 1
Question2:
Put true (√ ) or false (× ) mark at the end of the following statements with error
correction: [4 marks ,0.5 each]
1. Break up model by support functions means assign different parts of
model to different processors ( F ). Decompose the model
2. Web-based simulation is central simulation engine, submit “jobs” over the
web( T ).
3. Normal distribution is the simplest distribution ( F
) Uniform.
4. Pseudorandom sequences can't reproduce exactly the same numbers ( F ).
5. Random Number Generator used to describe the procedure and parameters
used to generate the U(0,1) observations. F
6. Pseudorandom sequences are easier to produce than a genuine random
sequences ( F ).
7. Pseudorandomness useful for testing and fixing software (
8. The Triangular Distribution is descript distribution ( F ).
T ).
Question3:
Generate 4 random number if the Seed = 5197 ?
Ex1:
X0 = 5197 (seed)
= 27008809
==> R1 = 0.0088
R1 squar
==> R2 = 0.0077
R2 squar = 00005929
==> R3 = 0.0059
= 00007744
R3 squar = 00003481
==> R4 = 0034
Question4:
Customer #
A.T
S.T
(arrival
time)
(service
time)
1
0
2
2
3
1
3
6
4
Start
ST
(start
service
time)
W.T
(waiting
time)
End
S.T
(end
service
time)
4
8
3
5
9
1