Read Chapter 9 of the textbook Explorations in Computing.
def roll() return rand(6) + 1 end
def roll12() return rand(11) + 2 endRepeat the experiment from part (b) using the roll12 function defined in this part. What kind of a distribution do you observe in the histogram? How does it compare to the distribution from part (b)?
Write down the eight bit binary code for your rule and the equivalent decimal rule number.
In order to get credit for this part, you must complete the module by the deadline for the problem set. We will not be grading you on how many questions you get right in the module. Instead, we will be grading you on whether you completed the module on time or not.
To access the Encryption module:
Follow the instructions on the My Courses page to get started on Module 2: Encryption.