1. Which of the following is an advantage of using a simulation instead of real-world experimentation?
A) Simulations always provide perfectly accurate results.
B) Simulations are faster and safer than real-world testing.
C) Simulations do not require any computing power.
D) Simulations replace the need for real-world experiments entirely.
2. A game developer is creating a simulation of planetary motion. What is a major limitation?
A) It cannot be used to model any physical behavior.
B) It may not account for all real-world variables such as minor gravitational interactions.
C) It requires no computation time.
D) It does not need to use physics-based algorithms.
3. What is an essential component of a disease spread simulation?
A) The exact number of infected individuals at the end.
B) A random number generator to create unpredictable interactions.
C) The names of infected individuals.
D) A completely accurate representation of human biology.
Random Algorithms MCQs
4. A fair six-sided die is rolled twice. What is the probability that both rolls result in the same number?
A) 1/6
B) 1/12
C) 1/36
D) 1/3
5. A random number generator outputs a number between 1 and 100. What is the likelihood of generating a number greater than 75?
A) 25%
B) 50%
C) 75%
D) 10%
6. In a guessing game (1 to 50), what is the best strategy to minimize guesses?
A) Guess randomly each time.
B) Start at 1 and increment by 1.
C) Use binary search: guess the middle and eliminate half.
D) Always guess 25.
Your Score: 0/6