1.

How many iterating statements are involved in the naïve method of matrix multiplication?(a) 1(b) 2(c) 3(d) 4I had been asked this question in examination.The above asked question is from Number Theory topic in chapter Number Theory of Data Structures & Algorithms II

Answer» CORRECT answer is (c) 3

To explain: In the naïve method of matrix multiplication the number of ITERATING statements involved are 3, because of the presence of rows and COLUMNS in a matrix. The element in each row of the FIRST matrix is MULTIPLIED with each element in the column of the second matrix.


Discussion

No Comment Found

Related InterviewSolutions