Question: Part 3. Random Number Generator (4 points 1 for each part) For an LCG Z} = (7Z 1-1 + 3)(Mod 32) - (1) Use Zo

Part 3. Random Number Generator (4 points 1 for each part) For an LCG Z} = (7Z 1-1 + 3)(Mod 32) - (1) Use Zo = 5, compute the first 5 Z's. (2) Does this LCG has a full period, why/why not? (3) Can this LCG use integer overflow, why/why not? (4) Can this LCG use shift-and-add, why/why not
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
