Zoho Matrix Quiz 1

Question 1

Time: 00:00:00
C++ Program to check if two
given matrices are identical

#include <bits/stdc++.h>
#define N 4
using namespace std;

// This function returns 1 if A[][] and B[][] are identical
// otherwise returns 0
int areSame(int A[][N], int B[][N])
{
int i, j;
for (i = 0; i < N; i++)
for (j = 0; j < N; j++)
if (A[i][j] != B[i][j])
return 0;
return 1;
}

int main()
{
int A[N][N] = { {1, 1, 1, 1},
{2, 2, 2, 2},
{3, 3, 3, 3},
{4, 4, 4, 4}};

int B[N][N] = { {1, 1, 1, 1},
{2, 2, 2, 2},
{3, 3, 3, 3},
{4, 4, 4, 4}};

if (areSame(A, B))
cout << "Matrices are identical";
else
cout << "Matrices are not identical";
return 0;
}

Matrices are identical

Matrices are identical

Matrices are not identical

Matrices are not identical

Matrices not possible

Matrices not possible

None of these

None of these

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 2

Time: 00:00:00
The determinant of identity matrix is :

1

1

Depend on matrix

Depend on matrix

None of these

None of these

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 3

Time: 00:00:00
For a skew symmetric even ordered matrix A of integers, which of the following will not hold true:

det(A) = 9

det(A) = 9

det(A) = 6

det(A) = 6

det(A) = 7

det(A) = 7

det(A) = 8

det(A) = 8

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 4

Time: 00:00:00
Let A = [kaij ]nxn, B = [aij ]nxn, be an nxn matrices and k be a scalar then det(A) is equal to:

Kdet(B)

Kdet(B)

K^3det(b)

K^3det(b)

K^ndet(B)

K^ndet(B)

None of the above

None of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 5

Time: 00:00:00
Which of the following property of matrix multiplication is correct

Multiplication is associative

Multiplication is associative

Multiplication is distributive over addition

Multiplication is distributive over addition

Multiplication is not commutative in general

Multiplication is not commutative in general

All of the mentioned

All of the mentioned

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 6

Time: 00:00:00
Transpose of a column matrix is

Zero Matrix

Zero Matrix

Diagnol Matrix

Diagnol Matrix

Column Matrix

Column Matrix

Row Matrix

Row Matrix

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 7

Time: 00:00:00
State whether the given statement is True or False.
If for a square matrix A and B,null matrix O, AB =O implies A=O and B=O.

True

True

False

False

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 8

Time: 00:00:00
Two matrices A and B are multiplied to get AB if

both are rectangular

both are rectangular

both have same order

both have same order

no of columns of A is equal to columns of B

no of columns of A is equal to columns of B

no of rows of A is equal to columns of B

no of rows of A is equal to columns of B

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 9

Time: 00:00:00
If determinant of a matrix A is Zero than:

A is a Singular matrix

A is a Singular matrix

A is non Singular matrix

A is non Singular matrix

Cant say

Cant say

None of these

None of these

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 10

Time: 00:00:00
State True or False:
The Inverse exist only for non-singular matrices.

True

True

False

False

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

["0","40","60","80","100"]
["Need more practice!","Keep trying!","Not bad!","Good work!","Perfect!"]

Personalized Analytics only Availble for Logged in users

Analytics below shows your performance in various Mocks on PrepInsta

Your average Analytics for this Quiz

Rank

-

Percentile

0%

Completed

0/0

Accuracy

0%