Which traversal method for a binary tree does the following Pascal code illustrate? procedure traverse (p:pointer); begin if p<>nil then begin traverse(p ↑ .left); process(p); traverse(p ↑ .right); end end;
A.preorder
B.postorder
C.reorder
D.inorder
第1题:
In the forest corresponding to the following binary tree,how many children does node B have?
A. 1
B.2
C.3
D.4
第2题:
A.
B.
C.
D.
第3题:
The search method processed only on sequential storage is(75)。
A.sequential search
B.binary search
C.tree search
D.hash search
第4题:
第5题:
Which two of the following values does STP take into consideration when it elects the root bridge?()
第6题:
In which Spanning-Tree states does a switch port learn MAC addresses?()
第7题:
public class Plant { private String name; public Plant(String name) { this.name = name; } public String getName() { return name; } } public class Tree extends Plant { public void growFruit() { } public void dropLeaves() { } } Which is true?()
第8题:
A
B
C
D
第9题:
In the init method.
In the jspInit method.
In the constructor of the JSP’s Java code.
In a JSP declaration, which includes an initializer block.
In a JSP declaration, which includes a static initializer block.
第10题:
The code will compile without changes.
The code will compile if public Tree() { Plant(); } is added to the Tree class.
The code will compile if public Plant() { Tree(); } is added to the Plant class.
The code will compile if public Plant() { this(”fern”); } is added to the Plant class.
The code will compile if public Plant() { Plant(”fern”); } is added to the Plant class.
第11题:
Blocking
Listening
Forwarding
Learning
Relaying
第12题:
Learning
Spanning
Listening
Forwarding
Initializing
Filtering
Permitting
第13题:
Which traversal method for a binary tree does the following Pascal code illustrate? Procedure traverse(p:pointer); Begin Ifp<>NIL Then begin Traverse (p^.left); Process(p); Traverse(p^.right) End; End_
A.pre_order
B.middle_order
C.none
D.last_order
第14题:
Which two of the following values does STP take into consideration when it elects the root bridge? (Select two answer choices)
A. The BPDU version number
B. The access layer bridge setting
C. The Bridge ID
D. The spanning-tree update number
E. The bridge priority
F. The VLAN number
第15题:
Traversing a binary tree in preorder is equivalent to(68).
A.Traversing the forest corresponding to the binary tree in root-first order
B.Traversing the forest corresponding to the binary tree in root-last order
C.Traversing the forest corresponding to the binary tree in breadth-first order
D.None of the above
第16题:
第17题:
You are creating a new JSP page and you need to execute some code that acts when the page is firstexecuted, but only once. Which three are possible mechanisms for performing this initialization code?()
第18题:
Which WSDL style is suited to sending binary tree nodes as part of a SOAP message?()
第19题:
RPC/literal
RPC/encoded
Document/encoded
Document/literal
Document/literal wrapped
第20题:
Create an HttpSessionListener class and implement the sessionInitialized method with that block ofcode.
Create an HttpSessionActivationListener class and implement the sessionCreated method with thatblock of code.
Create a Filter class, call the getSession(false) method, and if the result was null, then execute that block of code.
Create an HttpSessionListener class and implement the sessionCreated method with that block of code.
第21题:
GET
PUT
POST
RETRIEVE
第22题:
It aims to ensure safety at sea
It aims to avoid damage to the environment
It aims to prevent human injury or loss of life
It aims to provide a method to run a company
第23题:
The BPDU version number
The access layer bridge setting
The Bridge ID
The spanning-tree update number
The bridge priority
The VLAN number