Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions

# Matrices Questions

Home > Technical Aptitude > Data Structures > Matrices > General Questions
NA
SHSTTON
41
Solv. Corr.
30
Solv. In. Corr.
71
Attempted
0 M:0 S
Avg. Time

1 / 13

Choose the correct option.

Which of the following is an advantage of matrices?

AGraph Plotting

BSearching through a matrix is complex

CNot space efficient

DInternal complexity

Explanation:

Adjacency and Incidence Matrices are used to store vertices and edges of a graph. It is an advantage to plot graphs easily using matrices. But Time complexity of a matrix is O(n2) and sometimes the internal organization becomes tedious. They are all disadvantages of matrices.

Workspace

NA
SHSTTON
154
Solv. Corr.
43
Solv. In. Corr.
197
Attempted
0 M:0 S
Avg. Time

2 / 13

Choose the correct option.

If column-major order is used, how is the following matrix stored in memory?

Babcdefghi

Dihgfedcba

Explanation:

It starts with the first element and continues in the same column until the end of column is reached and then proceeds with the next column. Fortran follows column-major order.

Workspace

NA
SHSTTON
31
Solv. Corr.
47
Solv. In. Corr.
78
Attempted
0 M:0 S
Avg. Time

3 / 13

Choose the correct option.

Which of the following is not the method to represent Sparse Matrix?

AHeap

CArray

DDictionary of Keys

Explanation:

Heap is not used to represent Sparse Matrix while in Dictionary, rows and column numbers are used as Keys and values as Matrix entries, Linked List is used with each node of Four fields (Row, Column, Value, Next Node) (2D array is used to represent the Sparse Matrix with three fields (Row, Column, Value).

Workspace

NA
SHSTTON
47
Solv. Corr.
19
Solv. In. Corr.
66
Attempted
0 M:0 S
Avg. Time

4 / 13

Choose the correct option.

Is O(n) the Worst case Time Complexity for addition of two Sparse Matrix?

ATRUE

BFALSE

Explanation:

In Addition, the matrix is traversed linearly, hence it has the time complexity of O(n) where n is the number of non-zero elements in the largest matrix amongst two.

Workspace

NA
SHSTTON
28
Solv. Corr.
44
Solv. In. Corr.
72
Attempted
0 M:0 S
Avg. Time

5 / 13

Choose the correct option.

Which of the following don’t use matrices?

ASorting numbers

BImage processing

CGraph theory

DIn solving linear equations

Explanation:

Numbers uses arrays(1-D) for sorting not matrices(2-D arrays). Solving linear equations is a separate field in Mathematics involving matrices, Image processing stores the pixels in the form of matrices, and the graphs are represented with the help of matrices to indicate the nodes and edges.

Workspace

NA
SHSTTON
9
Solv. Corr.
57
Solv. In. Corr.
66
Attempted
0 M:0 S
Avg. Time

6 / 13

Choose the correct option.

Which one of the following is a Special Sparse Matrix?

AUnit matrix

BSkew Matrix

CNull matrix

DBand Matrix

Explanation:

A band matrix is a sparse matrix whose non zero elements are bounded to a diagonal band, comprising the main diagonal and zero or more diagonals on either side.

Workspace

NA
SHSTTON
28
Solv. Corr.
39
Solv. In. Corr.
67
Attempted
0 M:0 S
Avg. Time

7 / 13

Choose the correct option.

Matrix A when multiplied with Matrix C gives the Identity matrix I, what is C?

ATranspose of A

BInverse of A

CSquare of A

DIdentity matrix

Explanation:

Any square matrix when multiplied with its inverse gives the identity matrix. Note that non square matrices are not invertible.

Workspace

NA
SHSTTON
24
Solv. Corr.
39
Solv. In. Corr.
63
Attempted
0 M:2 S
Avg. Time

8 / 13

Choose the correct option.

Which matrix has most of the elements (not all) as Zero?

AZero Matrix

BUnit Matrix

CSparse Matrix

DIdentity Matrix

Explanation:

Sparse Matrix is a matrix in which most of the elements are Zero. Identity Matrix is a matrix in which all principle diagonal elements are 1 and rest of the elements are Zero. Unit Matrix is also called Identity Matrix. Zero Matrix is a matrix in which all the elements are Zero.

Workspace

NA
SHSTTON
7
Solv. Corr.
45
Solv. In. Corr.
52
Attempted
0 M:0 S
Avg. Time

9 / 13

Choose the correct option.

What is the relation between Sparsity and Density of a matrix?

ASparsity = Density/Total number of elements

BSparsity = 1 + Density

CSparsity = Density*Total number of elements

DSparsity = 1 – Density

Explanation:

Sparsity of a matrix is equal to 1 minus Density of the matrix. The Sparsity of matrix is defined as the total number of Zero Valued elements divided total number of elements.

Workspace

NA
SHSTTON
22
Solv. Corr.
23
Solv. In. Corr.
45
Attempted
0 M:22 S
Avg. Time

10 / 13

Choose the correct option.

Select the code snippet which performs matrix multiplication.(a and b are the two given matrices, resultant marix is c)

I. for (int i = 0; i < n; i++)
{
for (int j = 0; j < n; j++)
{
for (int k = 0; k < n; k++)
{
c[i][j] = c[i][j] + a[i][j] + b[k][j];
}
}
}

II. for (int i = 0; i < n; i++)
{
for (int j = 0; j < n; j++)
{
for (int k = 0; k < n; k++)
{
c[i][j] = c[i][j] * a[i][k] * b[k][j];
}
}
}

III. for (int i = 0; i < n; i++)
{
for (int j = 0; j < n; j++)
{
for (int k = 0; k < n; k++)
{
c[i][j] = c[i][j] + a[i][k] + b[k][j];
}
}
}

IV. for (int i = 0; i < n; i++)
{
for (int j = 0; j < n; j++)
{
for (int k = 0; k < n; k++)
{
c[i][j] = c[i][j] + a[i][k] * b[k][j];
}
}
}

AI

BII

CIII

DIV

Explanation:

The corresponding elements from the row and column are multiplied and a cumulative sum is formed.

Workspace

## Data Structures Matrices Questions and Answers pdf

At Data Structures topic Matrices, you will get multiple online quiz difficulty wise, which will have a total of 6 quizzes, categorized as easy, medium, and moderate level. While preparing for any Matrices, take all the list quiz and check your preparation level for that topic. Each quiz have 10 different question, which needs to be answered in 20 min., all the listed quiz here is free, however, you will get only one chance for each quiz to attempt(Take Quiz seriously), so it is always recommended to take one quiz in each section before you start solving Matrices MCQs practice question, and one after solving all the question of the respective level, you can refer back your Matrices quiz result any time or you can download it as pdf for reference.

## Data Structures Matrices Customize Online Mock Test

This is own type of mock test, where At this Data Structures Matrices MCQs mock test section, you will able to attempt only the questions related to Matrices, in that question will be a different level, important, and all the questions will be part of some of the mock tests across Q4interview FREE Mock test. You need to choose the topic as Matrices, and click on Double click to generate your customize mock test. While attempting the mock test you need to choose any of the one options out of given option. It is recommended to go through the direction given along with each question, as these questions will be randomly and so that same direction will not be applicable across the entire test. Once you submit your mock test, the result will be generated for Matrices Customize mock test, where your performance point points will be highlighted. Q4interview analysis every single point which helps you to improve your topic understanding and help you to know your type of mistakes and way to improve Matrices questions, by providing the same type of practice questions from practice exercise. The best part of this Matrices, all these mock tests listed here are free and you can take as Many time, as many you want. When you continue to give Matrices Customize Online Mock Test here regularly, then you will understand how much you have developed your accuracy on a topic, after that you will be able to decide how much attention you need to focus on. Your continued practice will increase your confidence, speed and thinking ability intensely, the Matrices Customize topic on which you will practice more will beneficial for you in future during campus placement.

## Data Structures Matrices Quiz Online Test

The details of the Data Structures Matrices quiz are as follows. There are 10 questions for you. You have to answer them in 20 minutes. Within 20 minutes you have to see the errors in the sentences given as a question. Four options are also given to you, and you have to choose your opinion. You must be confident in your answer that the choices are difficult. Therefore, below we provide you with some information about Data Structures Matrices that you see and keep them in mind while answering questions.

## Data Structures Matrices MCQs Practice Questions with Answer

On this Matrices section of page you will find the easiest quickest ways to solve a question, formulas, shortcuts and tips and tricks to solve various easiest methods to solve Matrices Question Quickly. It contains all the Data Structures topic Matrices questions which are common in any of the preliminary exams of any company. The solution is provided along with the questions. The practice of these questions is a must as they are easy as well as scoring and asked in all the exams They will confirm the selection if all the questions attempted wisely with little practice. It is recommanded to Take Mock test based on Data Structures topic and Matrices topic based quiz.

## Data Structures Matrices solved examples question

You can get here fully solved Matrices examples with a detailed answer and description. You can solve Matrices problems with solutions, the questions by companies wise by filtering the questions, additionally, you can check what type of questions are being asked in IT companies Written Round from Matrices. Matrices became one of the most important sections in the entire competitive exams, Companies Campus, and entrance online test. Go through Matrices Examples, Matrices sample questions. You can Evaluate your level of preparation in Matrices by Taking the Q4Interivew Matrices Online Mock Test based on most important questions. All the Matrices practice questions given here along with answers and explanations are absolutely free, you can take any number of time any mock Test.

## Why Data Structures Matrices?

In this practice section, you can practice Data Structures Questions based on "Matrices" and improve your skills in order to face the interview, competitive examination, IT companies Written exam, and various other entrance tests (CAT, GATE, GRE, MAT, Bank Exam, Railway Exam etc.) with full confidence.

## Where can I get Data Structures Matrices questions and answers with explanation?

Q4Interview provides you lots of fully solved Data Structures (Matrices) questions and answers with Explanation. Solved examples with detailed answer description, explanation are given and it would be easy to understand. You can download Data Structures Matrices quiz questions with answers as PDF files and eBooks.

## Where can I get Data Structures Matrices Interview Questions and Answers (objective type, multiple-choice, quiz, solved examples)?

Here you can find objective type Data Structures Matrices questions and answers for interview and entrance examination. Multiple choice and true or false type questions are also provided.