8.10 quiz edhesive A swap is: a variable used to find the smallest value in an array an algorithm used to find a value in an array an algorithm exchanging two values stored in variables a variable whose purpose is short-lived, usually to hold temporary data that will soon be discarded