The second text uses random in its traditional sense: made or occurring without a definite pattern.
At the grocery store, Judy hastily grabbed fruits and vegetables at random, filling her shopping cart with a hodgepodge of food.
The first text uses random in its nontraditional sense: odd or out of place.
Judy made a random trip to the grocery store, though her kitchen was already stocked with a hodgepodge of food.
Most style guides recommend to avoid using the nontraditional sense of the word random because it is generally considered incorrect.
Which text uses the word random in its traditional sense?
A: Judy made a random trip to the grocery store, though her kitchen was already stocked with a hodgepodge of food.
B: At the grocery store, Judy hastily grabbed fruits and vegetables at random, filling her shopping cart with a hodgepodge of food.