✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Analyze the sequence of instructions below. Then, choose which of the following statements are true. Assume that each variable has been correctly declared.
n <- 5
arr <- {1, 2, 3, 4, 5}
tmp <- arr[1]
For i <- 1 to n Do
arr[i - 1] <- arr[i]
End For
arr[n] <- tmp