We have the best collection of the Matrix MCQs and answer with FREE PDF. These Matrix MCQs will help you to prepare for any competitive exams like: BCA, MCA, GATE, GRE, IES, PSC, UGC NET, DOEACC Exams at all levels – you just have to practice regularly.
Matrix MCQs
1. If column-major order is used, how is the following matrix stored in memory?
a b c
d e f
g h i
a) ihgfedcba
b) abcdefghi
c) cfibehadg
d) adgbehcfi
Answer: adgbehcfi
2. Which of the following don’t use matrices?
a) In solving linear equations
b) Image processing
c) Graph theory
d) Sorting numbers
Answer: Sorting numbers
3. What is the order of a matrix?
a) number of rows X number of columns
b) number of columns X number of rows
c) number of rows X number of rows
d) number of columns X number of columns
Answer: number of rows X number of columns
4. Which of the following property does not hold for matrix multiplication?
a) Associative
b) Distributive
c) Commutative
d) Additive Inverse
Answer: Commutative
5. How do you allocate a matrix using a single pointer in C?(r and c are the number of rows and columns respectively)
a) int *arr = malloc(r * c * sizeof(int));
b) int *arr = (int *)malloc(r * c * sizeof(int));
c) int *arr = (int *)malloc(r + c * sizeof(int));
d) int *arr = (int *)malloc(r * c * sizeof(arr));
Answer: int *arr = (int *)malloc(r * c * sizeof(int));
6. Matrix A when multiplied with Matrix C gives the Identity matrix I, what is C?
a) Identity matrix
b) Inverse of A
c) Square of A
d) Transpose of A
Answer: Inverse of A
7. Which of the following is an advantage of matrices?
a) Internal complexity
b) Searching through a matrix is complex
c) Not space efficient
d) Graph Plotting
Answer: Graph Plotting
Also Read about Arrays Types
1000+ Data Structure MCQs
Abstract Data Types |
Application of Stacks |
Arrays Types |
Types of Lists |
Binary Trees |
B-Trees |
Trees |
Heap |
Trie |
Hash Tables |
Graph |
Download PDF (Matrix MCQs)
Categories: Arrays Types