Java程序设计

单选题下面哪个set是排序的()A abstract setB hash setC linked hash setD tree set

题目
单选题
下面哪个set是排序的()
A

abstract set

B

hash set

C

linked hash set

D

tree set

如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

It is difficult ______a world record and even more difficult to ______it.

A. keeping, set

B. keep, set

C. set, keep

D. to set, keep


正确答案:D

参考译文:创造一项新的世界纪录很难,而要保持则更难。“创造世界纪录”应该是“set a world record”,在此题中应该用动词不定式作前半句真正的主语,“保持”用“keep”,故选D

第2题:

They would have intended ____ a new computer if they ____ aside enough money.

A.to have bought...set

B.to buy...had set

C.buying...set

D.having bought...had set


答案:B

第3题:

I proposed that we () a deadline for fulfilling the task.

A、would set

B、setting

C、shall set

D、should set


参考答案:D

第4题:

Your company network has 500 client computers that run Windows 7. Your team consists of 20 desktop support technicians. Two technicians troubleshoot a hardware-related performance issue on a computer. The technicians obtain different results by using their own User Defined Data Collector Sets. You need to create a standardized Data Collector Set on a network share that is accessible to your team. What should you create?()

A.Event Trace Data Collector Set

B.Performance Counter Data Collector Set

C.Performance Counter Alert Data Collector Set

D.System Configuration Information Data Collector Set


参考答案:B

第5题:

A customer wants to create a custom Junos Pulse configuration. Which two are required?()

A. Connection set

B. Configuration set

C. Custom installer

D. Component set


参考答案:A, D

第6题:

Catalyst 3500(Cisco.[OS系统)中配置PortFast生成树可选功能的命令格式是——。

A.set spanning—tree portfast<mod/port>enable

B.set spanning-tree portfast<mod/port>enable

C.spanning—tree portfast default

D.set spanning—tree portfast<mod/port>default


正确答案:C
解析:选项A)、B)、D)是Catalyst 6500(Catalyst OS系统)配置PortFast生成树可选功能的命令,故选c)。

第7题:

运行下面程序段的输出结果是().

A.Set

B.Setup

C.Setup

D.&39;S&39;&39;e&39;&39;t&39;


正确答案:A

第8题:

SET通过使用(  )和对称密钥方式加密保证了数据的保密性。

(A)公共密钥

(B) HASH算法

(C)数字签名

(D)密钥授权


答案:A

第9题:

SET协议使用Hash算法生成数字摘要的长度是(26)。

A.64位

B.128位

C.160位

D.256位


正确答案:C
解析:本题考查数字摘要的知识。目前使用的数字摘要的常用算法是MD5和SHA1,它们都是以Hash函数算法为基础的。所以这些算法成为Hash算法,其中MD5算法中数字摘要长度为128位,SHA1算法中数字摘要长度为160位。目前,SET安全协议中采用的Hash算法产生的数字摘要是160位的。

第10题:

阅读以下说明和C代码,填补代码中的空缺,将解答填入答题纸的对应栏内。

【说明1】 递归函数is_elem(char ch, char *set)的功能是判断ch中的字符是否在set表示的字符集合中,若是,则返回1,否则返回0。 【C代码1】 int is_elem (char ch ,char*set) { If(*set==‘\0’) return 0; else If( (1) ) return 1; else return is_elem( (2) ) } 【说明2】 函数char*combine(char* setA,char *setB)的功能是将字符集合A(元素互异,由setA表示)和字符集合B(元素互异,由setB表示)合并,并返回合并后的字符集合。 【C代码2】 char*combine(char *setA, char*setB) { int i,lenA, lenB, lenC; lenA=strlen(setA); lenB=strlen(setB); char*setC=(char*)malloc(lenA+lenB+1); if(!setC) return NULL; strncpy(setC,setA,lenA); //将setA的前lenA个字符复制后存入setC lenC= (3) ; for(i=0;i<lenB;i++) if( (4) ) //调用is_elem判断字符是否在setA中 setC[lenC++]=setB[i]; (5) =‘/0’; //设置合并后字符集的结尾标识 return setC; }


正确答案:(1)set[0]==ch
(2)ch,*set-1
(3)lenA
(4)is_elem(setB[i],*setA)==0
(5)setC[lenC+1]

更多相关问题