A: I, II, and IV
B: I and II
C: I, II, and III
D: I and III
举一反三
- 6. The most common operation for setting a linked list is to insert a node at the end and delete the tail node, so () is the most time-saving option. A: doubly linked circular list with a head node B: singly linked list C: singly linked circular list with a tail pointer D: singly linked circular list
- Which one of the following is not a characteristic of the linked list? A: The node in a linked list can be accessed randomly B: Inserting or deleting a node in a linked list do not need to move the other nodes C: Don't have to estimate storage space in advance D: The memory space required by a linked list is in proportion to the length of the list.
- In a doubly linked list, each node has links to the previous and next nodes in the list. A: 正确 B: 错误
- In a singly linked list which operation depends on the length of the list.( ) A: Interchange the first two elements of the list B: Delete the first element of the list C: Add an element before the first element of the list D: Delete the last element of the list
- A<br/>stack is a special type of linked list in which objects can only be<br/>added to and removed from the top of the list.
内容
- 0
Which<br/>of the following operations is performed more efficiently by doubly<br/>linked list than by linear linked list? () A: Deleting<br/>a node whose location is given B: Searching<br/>an unsorted list for a given item C: Inserting<br/>a node after the node with a given location D: Traversing<br/>the list to process each node
- 1
Which of the following are features of an effective coding system? A: i), ii) and iii) B: i), ii), iii) and iv) C: i), iii) and iv) D: ii) and iv)
- 2
单选题 The () is a pointer that identifies the next element in the linked list. A: link B: node C: array D: a or b
- 3
Factory overhead can be absorbed by which of the following methods? (i) Machine hours (ii) direct labor hours (iii) unit quantity (ii) (iv) as a percentage of direct labor cost A: (i) ,(ii) ,(iii), (iv) B: Only (i) & (ii) C: Only (ii) & (iii) D: only (i) ,(ii) & (iii)
- 4
若通过List<br/>list = new List(); 创建的列表框,如何获得该列表框中当前选中的列表项(<br/>)。 A: list.getSelectedIndex() B: list. getSelectedItem( ) C: list. getItem (i) D: list. select (i)