Indicate whether the following situation involves a combination

or a permutation. Explain.
An 8-digit code chosen for a lock

1 answer

This situation involves a permutation because the order of the digits in the code matters. Changing the order of the digits would result in a different code and potentially allow access to the lock.