Computers can generate truly random numbers by observing some outside data, like mouse movements or fan noise, which is not predictable, and creating data from it. This is known as entropy. Other times, they generate “pseudorandom” numbers by using an algorithm so the results appear random, even though they aren't.
This activity is the basic of computer's capability of making choices. It interests me that random numbers can be generated with range and limit. With precise choices, computer can make a move even on its own.
Activity Guide
CREATE A NEW PROJECT Create a Windows application named RandomNumberWRITE THE APPLICATION CODEMe.lblRandNum1.Text = Rnd()RUN THE APPLICATIONADD THE RANDOMIZE() STATEMENTGENERATE INTEGERS IN A RANGERandomize()Me.lblRandNum1.Text = Int(21 * Rnd() + 10)RUN THE APPLICATION Save the modified RandomNumbers project and then run theapplication. Click Random Numbers a few times.SECURE AND SAVE SCREEN SHOTS OF THE CODE(S) AND THEIR OUTPUT(S) THENCLOSE THE PROJECT.SEND YOUR FILE TO THE PRESCRIBED DESIGNATION.
Date Submitted
10 March 2021






