I'd like to see the correct answer.
Question #4 (30 points): Provide clear, concise answers to each of the following questions concerning the following code to perform a linear search through an input array: Linear-Search(A, low, high, item)
found_index = 0
for i = low to high
if A[i] = item
found_index = i
return (found_index)
(20 points): Carefully prove each clause of the following loop invariant
-10 points: if item ∈ A[low:i-1], then found_index = 0
OCCV
-(10 points): if (item ∈ A[low : i -1]), then (item = A[found_index])