Final answer:
The function to generate a random number is 'randint', which is commonly used in programming and on calculators to generate random integers within a specified range for various purposes such as experiments or sampling.
Step-by-step explanation:
To generate a random number, you would typically use the function 'randint'. This function is found in various programming languages and calculators, and it allows you to generate a random integer between two specified limits. For example, randInt(0, 30) would generate a random integer between 0 and 30. When multiple random numbers are needed, as in a discrete distribution experiment or when picking samples for a survey, the randInt function can be invoked multiple times.
Lisa, as stated in the example, could use this function to generate random numbers to pick students for a class experiment. It could be something like randInt(1,200) to select from 200 students. For the task such as creating a stratified sample for quiz scores, she would use the function as randInt(1,10) to choose 3 random quiz scores from a column with 10 scores.