**DOWNLOAD FREE PDF** **<<CLICK HERE>>**

## Data Structure Questions and Answers-Matrix

Congratulations - you have completed *Data Structure Questions and Answers-Matrix*.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%

Your answers are highlighted below.

Question 6 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER] |

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

a b c

d e f

** g h i **

ihgfedcba | |

abcdefghi | |

cfibehadg | |

adgbehcfi |

Question 6 Explanation:

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

Question 7 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER] |

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

a b c

d e f

** g h i **

ihgfedcba | |

abcdefghi | |

cfibehadg | |

adgbehcfi |

Question 7 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.

Question 8 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER] |

**Which of the following are the uses of matrices?**

In solving linear equations | |

Image processing | |

Graph theory | |

All of the mentioned |

Question 8 Explanation:

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.

Question 9 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER] |

**What is the disadvantage of matrices?**

Internal complexity | |

Searching through a matrix is complex | |

Not space efficient | |

All of the mentioned |

Question 9 Explanation:

Time complexity of a matrix is O(n

^{2}) and sometimes the internal organization becomes tedious.Question 10 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER] |

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

Identity matrix | |

Inverse of A | |

Square of A | |

Transpose of A |

Question 10 Explanation:

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

Once you are finished, click the button below. Any items you have not completed will be marked incorrect.

There are 10 questions to complete.