Answer & Explanation:
First question:
0 through 5
Explanation: The range starts at 0 and maximum range of simple Random() is 0.9, hence 0 is starting range and end range is 0.9 * 6 = 5.4. After than Floor() will remove the fractional part resulting to 5
Question 6:
It is called seed value, which decides the range of random numbers to be generated.
Question 7:
The range starts at 0
The range ends at 5
Explanation: The range starts at 0 and maximum range of simple Random() is 0.9, hence 0 is starting range and end range is 0.9 * 6 = 5.4. After then Floor() will remove the fractional part resulting to 5
Question 8:
Floor() converts a floating point to an integer dropping the fractional part.