Question: How is the random seed for MATLAB's random number generator first initializedin a MATLAB Session?

  1. Seed is undefined until it is initialized by the user.
  2. Seed is set to a value based on the current time when user first calls rand()
  3. Seed is set to a value based on the current time on startup.
  4. Seed is set to a static default value on startup.

Answer: The correct answer of the above question is Option D:Seed is set to a static default value on startup.