Arrays on Data Structure and Algorithms related Questions and Answers

Question 1 : If column-major order is used, how is the following matrix stored in memory?
a b c
d e f
g h i
1. ihgfedcba
2. abcdefghi
3. cfibehadg
4. adgbehcfi
View Answer   Discuss with Members

Question 5 : What are the advantages of sparse matrices over normal matrices?
1. Size
2. Speed
3. Easily compressible
4. All of the mentioned
View Answer   Discuss with Members

Question 6 : Suppose the contents of an array A are, A = {1, null, null, null, null, 10};
What would be the size of the array considering it as a normal array and a sparse array?
1. 6 and 6
2. 6 and 2
3. 2 and 6
4. 2 and 2
View Answer   Discuss with Members

Question 9 : Which of the following property does not hold for matrix multiplication?
1. Associative
2. Distributive
3. Commutative
4. None of the mentioned
View Answer   Discuss with Members


View 1 - 10 of 56 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter