Modify your randSeq.html page (from Exercise 9.12) so that it instead generates random 4-letter sequences. When the
Question:
Modify your randSeq.html page (from Exercise 9.12) so that it instead generates random 4-letter sequences. When the user clicks on a button, the GenerateSequence function should be called to generate and display a sequence of 4 randomly chosen letters.
Use your modified page to generate 4-letter sequences using the entire alphabet. How many sequences do you have to generate before you obtain an English word? Would you expect it to be more or less likely to obtain a 4-letter word at random when compared to 3-letter words? Explain your answer.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: