InterviewSolution
Saved Bookmarks
| 1. |
If Matrix A is of order X*Y and Matrix B is of order M*N, then what is the order of the Matrix A*B given that Y=M?(a) Y*N(b) X*M(c) X*N(d) Y*MThe question was asked during an internship interview.The origin of the question is Recursion topic in section Recursion of Data Structures & Algorithms II |
|
Answer» CORRECT answer is (c) X*N The EXPLANATION is: The MATRIX A*B is of order X*N as it is GIVEN that Y=M i.e. NUMBER of columns in Matrix A is equal to total number of rows in matrix B. So the Matrix A*B must have X number of rows and N number of columns. |
|