题目内容

10 There is a sparse matrix of 100 * 90, and there are 10 non-zero elements (int type). Assuming that the int type occupies 2 bytes, the number of bytes required to store the matrix with a triple sequence table is ( ).

A. 66
B. 60
C. 18000
D. 33

查看答案
更多问题

11 The purpose of compressed storage of sparse matrix is ( ).

A. to save storage space
B. facilitating matrix operations
C. easy input and output
D. reducing the time complexity of operations

12 The number of elements in array A[0...4,-1...-3,5...7] is ( ).

A. 45
B. 55
C. 36
D. 16

13 Each element of the array A[0...5,0...6] occupies 5 bytes, and it is stored in column-major order in memory whit a starting address of 1000, then the address of element A[5,5] is ( ).

A. 1175
B. 1180
C. 1205
D. 1210

14 In triple sequence table of sparse matrix, each triple represents ( ).

A. the row number,column number and data value of non-zero elements in the matrix
B. the data value of non-zero elements in the matrix
C. the row and column numbers of elements in the matrix
D. the row number,column number and data value of elements in the matrix

答案查题题库