试题详情

试题内容

设一个包含N个顶点、E条边的简单无向图采用邻接矩阵存储结构(矩阵元素A[i][j]等于1/0分别表示顶点i与顶点j之间有/无边),则该矩阵中的非零元素数目为()。
A.N
B.E
C.2E
D.N+E

查看答案

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

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

你可能感兴趣的试题

60题:

静态图像压缩标准JPEG2000中使用的是( )算法。
A、K-L变换
B、离散正弦变换
C、离散余弦变换
D、离散小波变换

31题:

在面向对象方法中,(1)是父类和子类之间共享数据和方法的机制。子类在原有父类接口的基础上,用适合于自己要求的实现去置换父类中的相应实现称为(2)。
(1)A.封装
B.继承
C.覆盖
D.多态
(2)A.封装
B.继承
C.覆盖
D.多态

6题:

CISC是( )的简称。
A.复杂指令系统计算机
B超大规模集成电路
C.精简指令系统计算机
D超长指令字

71题:The project workbook is not so much a separate document as it is a structure imposed on the documents that the project will be producing anyway.
All the documents of the project need to be part of this (请作答此空). This includes objectives ,external specifications , interface specifications , technical standards , internal specifications and administrative memoranda(备忘录).
Technical prose is almost immortal. If one examines the genealogy ( Ff ) of a customer manual for a piece of hardware o
52题:

默认情况下,FTP服务器的控制端口为(1 ),上传文件时的端口为(2 )。
(1)A.大于1024的端口
B.20
C.80
D.21
(2)A.大于1024的端口
B.20
C.80
D.21

50题:函数f和g的定义如下图所示。执行函数f时若采用引用(call by reference)方式调用函数g(a),则函数f的返回值为( )。

A.14
B.18
C.24
D.28