Matrix DSA self paced Quiz

Last Updated : 26 Sep, 2023

 Question 1

Two matrices having dimensions ( r1 * c1 ) and ( r2 * c2 ) can be multiplied only if,

 c1 = c2 c1 = r2 r1 = c2 r1 = r2

Question 1-Explanation:

If the number of columns of the 1st matrix is equal to the number of rows of the 2nd matrix, then only they can be multiplied.

 Question 2

What is the dimension of the matrix which is found after multiplying two matrices of dimensions ( r1 * c1 ) and ( r2 * c2 ) ?

 r1 * c2 c1 * r2 r1 * r2 c1 * c2

Question 2-Explanation:

The dimension of the resulting matrix after multiplying two matrices of dimension ( r1 * c1 ) and ( r2 * c2 ) is equal to ( r1 * c2 ) is r1 * c2.

 Question 3

What is the output matrix after multiplying given 2 matrices?

The matrices cannot be multiplied

None of the above

Question 3-Explanation:

The given matrices cannot be multiplied because number of columns of the 1st matrix is not equal to the no of rows of the 2nd matrix.

 Question 4

What is the output of,

The matrices cannot be multiplied

None of the above

Question 4-Explanation:

When the given matrices are multiplied. the output will be,

=>

 Question 5

Does the multiplication of 3 matrices of ( 3 x 3 ) follow the associative property?

 No, they do not follow associativity Yes, multiplication of these matrices follow associative property It depends on the matrix given. There is no such property

Question 5-Explanation:

Yes, multiplication of 3 matrices of 3x3 dimensions follow associativity i.e,

A(BC) = (AB)C

There are 5 questions to complete.