A programmer has an algorithm that requires a java.util.List

题目
单选题
A programmer has an algorithm that requires a java.util.List that provides an efficient implementation of add(0, object), but does NOT need to support quick random access. What supports these requirements?()
A

java.util.Queue

B

java.util.ArrayList

C

java.util.LinearList

D

java.util.LinkedList

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

第1题:

Which routing select algorithm is described below ? According to a kind of fix regulation, the select algorithm of route works and has nothing to do with the network information newly.

A.Static Routing Algorithm

B.Dynamic Routing Algorithm

C.Centralized Routing Algorithm

D.Distributed Routing Algorithm


正确答案:A

第2题:

YouarewritingaJSPthatincludesscriptletcodetodeclareaListvariableandinitializesthatvariabletoanArrayListobject.WhichtwoJSPcodesnippetscanyouusetoimporttheselisttypes?()

A.<%!importjava.util.*;%>

B.<%!importjava.util.List;importjava.util.ArrayList;%>

C.<%@pageimport=’java.util.List’import=’java.util.ArrayList’%>

D.<%@importtypes=’java.util.List’types=’java.util.ArrayList’%>

E.<%@pageimport=’java.util.List,java.util.ArrayList’%>

F.<%@importtypes=’java.util.List,java.util.ArrayList’%>


参考答案:C, E

第3题:

The advancement of technology has boosted the pace of our lives, and requires us to learn something new every day just to stay_________in the workplace.

A.apparent

B.current

C.applicable


参考答案:B

第4题:

In object-oriented(51), objects can be viewed as reusable components, and once the programmer has developed a(52)of these components, he can(53)the amount of new coding required. But(52)a(54)is no simple task because the integrity of the Original software design is critical. Reusability can be a mixed blessing for user, too, as a programmer has to be able to find the object he needs. But if(55)is your aim, reusability is worth the risk.

A.programming

B.creating

C.indisposing

D.library

E.maximize


正确答案:A

第5题:

The ERX Edge Router in your Bridged 1483 network has multiple external DHCP servers configured.During discovery, which algorithm does the router use to decide which DHCP server to send packets to?()

A. direct mode

B. round robin

C. weighted round robin

D. No algorithm is used.


参考答案:D

第6题:

根据下面的文字资料回答 71~75 题 n the following essay,each blank has four choices.Choose the most suitable one from the four choices and write down in the answer sheet.

Open Shortest Path First(OSPF)is a( 1 )routing algorithm that( 2 )work done on the OSI IS-IS intradomain routing protocol.This routing,as compared to distance-vector routing,requires( 3 )processing power.The Dijkstra algorithm is used to calculate( 4 )OSPF routing table updates only take place when necessary,( 5 )at regular intervals.

第6题:文中( 1 )处正确的答案是( )。

A.distance-vector

B.link-state

C.flow-based

D.selective flooding


正确答案:B
OSPF(Open Shortest Path First)是一个内部网关协议(Interior Gateway Protocol,IGP),用于在单一自治系统(Autonomous System,AS)内决策路由。与RIP相对,OSPF是链路状态路由协}义,而RIP是距离矢量路由协议。
链路是路由器接口的另一种说法,因此oSPF也称为接口状态路赢协议。0SPF通过路由器之间通告网络接口的状态来建立链路状态数据库,生成最短路径树,每个0SPF路由器使用这些最短路径构造路由表。

第7题:

A company that makes Computer Assisted Design (CAD) software has, within its application, some utility classes that are used to perform 3D rendering tasks. The company‘s chief scientist has just improved the performance of one of the utility classes‘ key rendering algorithms, and has assigned a programmer to replace the old algorithm with the new algorithm. When the programmer begins researching the utility classes, she is happy to discover that the algorithm to be replaced exists in only one class. The programmer reviews that class‘s API, and replaces the old algorithm with the new algorithm, being careful that her changes adhere strictly to the class‘s API. Once testing has begun, the programmer discovers that other classes that use the class she changed are no longer working properly.What design flaw is most likely the cause of these new bugs?()

A.Inheritance

B.Tight coupling

C.Low cohesion

D.High cohesion

E.Loose coupling

F.Object immutability


参考答案:B

第8题:

●In the following essay,each blank has four choices.Choose the most suitable one from the four choices and write down in the answer sheet.

Open Shortest Path First(OSPF)is a (66) routing algorithm that (67) work done on the OSI IS-IS intradomain routing protocol.This routing,as compared to distance-vector routing,requires (68) processing power.The Dijkstra algorithm is used to calculate (69) OSPF routing table updates only take place when necessary, (70) at regular intervals.

(66) A.distance-vector

B.link-state

C.flow-based

D.selective flooding

(67) A.derived from

B.deviated from

C.was derived from

D.was deviated from

(68) A.more

B.less

C.same

D.most

(69) A.routes

B.road

C.distance

D.cost

(70) A.but rather

B.rather too

C.rather than

D.rather that


正确答案:B,C,A,A,D
 【解析】OSPF(Open Shortest Path First)是一个内部网关协议(Interior Gateway Protocol,IGP),用于在单一自治系统(Autonomous System,AS)内决策路由。与RIP相对,OSPF是链路状态路由协议,而RIP是距离矢量路由协议。
链路是路由器接口的另一种说法,因此OSPF也称为接口状态路由协议。OSPF通过路由器之间通告网络接口的状态来建立链路状态数据库,生成最短路径树,每个OSPF路由器使用这些最短路径构造路由表。

第9题:

Which RADIUS configuration command implements a primary/backup scenario for multiple servers?()

A.radius algorithm direct

B.radius algorithm backup

C.radius algorithm primary

D.radius algorithm round-robin


参考答案:A

第10题:

What is the function of the CSMA/CD algorithm in Ethernet technologies?()

A. defines how the media is accessed

B. supplies a token to determine which host has access to the media

C. defines the encoding of electrical signals on the wire

D. determines the preamble bits


参考答案:A

更多相关问题