adplus-dvertising
frame-decoration

Question

The expression which access the (ij)th entry of a m x n matrix stored in column major form is

a.

n x t (i-1)+j

b.

n x (m – i) +j

c.

m x (n-j) + j

d.

m x (j -1) + i

Answer: (d).m x (j -1) + i

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The expression which access the (ij)th entry of a m x n matrix stored in column major form is

Similar Questions

Discover Related MCQs

Q. Number of possible trees with 3 nodes is

Q. Binary expression tree is traversed in ...........traversal.

Q. The value for which we are searching is called the

Q. A ................. search begins the search with the element that is located in the middle of the array.

Q. Recursion in merge sort performs

Q. The address field of linked list

Q. A circular list can be used to represent

Q. A list node representing an arc of a graph requires how many fields?

Q. Traversing a binary tree first root and then left and right sub trees is called...............traversal.

Q. A header node to represent a graph node requires how many fields?

Q. What can we say about the array representation of a circular queue, when it contain only one element?

Q. The order of binary search algorithm is

Q. The average search time of hashing with linear probing will be less if the load factor

Q. A graph in which all node are of equal degree called as

Q. A vertex of degree one is called as

Q. A simple graph with n vertices and k components can have at most

Q. Which of the following sorting procedure is the slowest?

Q. The recurrence relation T(n) = mT(n/2) + an² is satisfied by

Q. The terminal vertices of a path are of degree

Q. A circuit in a connected graph which includes vertex of the graph is known as