问题详情

在具有n(n>0)个顶点的简单无向图中,最多含有()条边。
A.n(n-1)
B.n(n+1)
C.n*(n-1)/2
D.n*(n+1)/2

未搜索到的试题可在搜索页快速提交,您可在会员中心"提交的题"快速查看答案。 收藏该题
查看答案

相关问题推荐

程序质量评审通常是从开发者的角度进行评审,其内容不包括______。
A.功能结构
B.功能的通用性
C.模块层次
D.与硬件的接口
软件评测师考试分为()个科目?
A.4
B.3
C.2
D.1
An application architecture specifies the technologies to be used to implement one or more information systems. It serves as an outline for detailed design, construction, and implementation. Given the models and details, include ( ), we can distribute data and processes to create a general design of application architecture. The design will normally be constrained by architecture standards, project objectives, and (请作答此空). The first physical DFD to be drawn is the ( ). The next step is to distribute data stores to different processors. Data( )are two types of distributed data which most RDBMSs support. There are many distribution options used in data distribution. In the case of( ), we should record each table as a data store on the physical DFD and connect each to the appropriate server.
A.the database management system
B.the feasibility of techniques used
C.the network topology and technology
D.the user interface and process methods
阅读下列C程序,回答下列问题。[C程序]int GetMaxDay( int year, int month ) { int maxday = 0; //1 if ( month >= 1 && month <= 12 ) {//2, 3 if ( month == 2 ) {//4 if ( year % 4 == 0 ) {//5 if ( year % 100 == 0 ) { //6 if ( year % 400 == 0 )//7 maxday=29; //8 else//9 maxday = 28;} else //10 maxday = 29; } else//11 maxday = 28; } else{//12 if (month==4||month==6||month==9||month==11) //13, 14, 15, 16 maxday = 30;//17 else//18 maxday = 31; } }return maxday; //19}3.1、请针对上述C程序给出满足100%DC(判定覆盖)所需的逻辑条件。(6分)3.2、请画出上述程序的控制流图,并计算其环路复杂度V(G)。(9分)3.3、请给出问题2中控制流图的线性无关路径。(5分)
在各种不同的软件需求中()描述了用户使用产品必须要完成的任务,可以用UML建模语言(请作答此空)表示。
A.用例图
B.类图
C.状态图
D.序列图
联系我们 用户中心
返回顶部