need the solution ASAPSolutionHi student As we have to creat

need the solution ASAP

Solution

Hi student,

As we have to create a multiplication table, but only \'num_to_calc\' elements are to be calculated, we really dont need calculate index more then \'num_to_calc\'. So if ii or jj are more than \'num_to_calc\', we will just ignore these.

So, correct option is D for question 10.

Question 11: We need to perform multiplication but as we know index in computer science start with 0 and real life start with 1, so correct option is D, (1 + ii)*(1 + jj)

Question 12: After calculationf the table1, we have to return it, so the correct option will be D, return table1

Question 13: if the element at middle index is equal to the x we have to return that index. So answer is B.

Question 14. if A[mid] is greater than x, then we have to search in the left part of the array, so answer is C, else high = mid - 1

need the solution ASAPSolutionHi student, As we have to create a multiplication table, but only \'num_to_calc\' elements are to be calculated, we really dont ne

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site