
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The instructions for determining the sequence of numbers generated by the pseudorandom number generator prng(3,2,7) with seed x(0) = 1. The sequence is calculated iteratively by applying the formula x(k+1) = (3x(k) + 2) mod 7 until the sequence repeats.
Typology: Quizzes
1 / 1
This page cannot be seen from the preview
Don't miss anything!

ECE 110 AL1 Lecture Quiz #13 November 14, 2008 M. C. Loui
Print your official name:
Consider the pseudorandom number generator PRNG(3,2,7) with seed X (0) = 1. That is, for k = 0, 1, 2, …, X ( k +1) = (3 X ( k ) + 2) mod 7 Determine the sequence X (1), X (2), … until the sequence repeats.