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
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.
Step by Step Solution
3.42 Rating (158 Votes )
There are 3 Steps involved in it
4letter words are less like... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
1409-C-S-O-S(1020).docx
120 KBs Word File
