试题详情

试题内容

设下三角矩阵(上三角部分的元素值都为0)A[0..n,0..n]如下所示,将该三角矩阵的所有非零元素(即行下标不小于列下标的元素)按行优先压缩存储在容量足够大的数组M[]中(下标从1开始),则元素A[i,j](0≤i≤n,j≤i)存储在数组M的()中。

A. A
B. B
C. C
D. D

查看答案

软题库参考答案:A(仅供参考)

软题库解析:正在加载....

你可能感兴趣的试题

39题:函数foo()、hoo0定义如下,调用函数hoo()时,第-个参数采用传值(callBy value)方式,第二个参数采用传引用(callBy reference)方式。设有函数调(函数foo(5),那么"print(x)”执行后输出的值为(  )。

A.24
B.25
C.30
D.36
56题:Designing object -oriented software is hard,and designing ( )object -oriented software is even harder.You must find pertinent(相关的)objects,factor them into class at the rightgranularity,define class interfaces and inheritances,and establish key relationships among them.You design should be specific to the problem at hand,but also( )enough to address future problems and requirements.You also want to avoid redesign,or atleast minimize it.Experienced object -oriented designers will tell you that a r66题:

 SOCKS is a generic proxy protocol for ICP/IP-based networking , applications. SOCKS includes two (1), the SOCKS server and the SOCKS client. The SOCKS server is implemented at the application layer. The SOCKS client is implemented between applications and the(2) layer. When an application client needs to connect to an application server, the client connects to a SOCKS proxy server. The proxy server connects to the application server instead of. the client, and (3)data between the client and3题:CPU访问存储器时,被访问数据一般聚集在一个较小的连续存储区域中。若一个存储单元已被访问,则其邻近的存储单元有可能还要被访问,该特性被称为( )
A、数据局部性
B、指令局部性
C、空间局部性
D、时间局部性
1题:在CPU中,常用来为ALU执行算术逻辑运算提供数据并暂存运算结果的寄存器是()。  
A.程序计数器  
B.状态寄存器  
C.通用寄存器  
D.累加寄存器
11题:

设顺序存储的某线性表共有123个元素,按分块查找的要求等分为3块。若对索引表采用顺序查找方法来确定子块,且在确定的子块中也采用顺序查找方法,则在等概率的情况下,分块查找成功的平均查找长度为( )。
A、21 
B、23 
C、41 
D、62