QUESTION IMAGE
Question
choose the missing method name. the method randomly rearranges the items in the list provided in the parentheses. shuffle random randomize sample
The term "shuffle" is commonly used to describe the action of randomly rearranging items in a list. In programming and general language, when we want to re - order elements randomly, "shuffle" is the appropriate term. The other options like "random" is a more general concept, "randomize" is often used in a broader context of making something random in a more abstract sense, and "sample" is related to taking a subset from a larger set.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
shuffle