A) index
B) pointer
C) tail
D) vector
Correct Answer
verified
Multiple Choice
A) a recipe
B) a jar of marbles
C) words on a document
D) a file on a disk
Correct Answer
verified
Multiple Choice
A) self.first()
B) self.last()
C) self.next()
D) self.previous()
Correct Answer
verified
Multiple Choice
A) call stack
B) virtual memory
C) object heap
D) memory partition
Correct Answer
verified
Multiple Choice
A) at the position of the length of the list minus 1
B) immediately after the first item
C) it is undefined
D) immediately before the first item
Correct Answer
verified
Multiple Choice
A) the next operation cannot be run if hasNext returns False
B) consecutive mutator methods are required
C) a next operation must be run before each mutation
D) mutations cannot be run on the list itself
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) a list iterator allows movement directly to the last position
B) a for loop allows movement directly to the first position
C) a for loop allows movement to previous positions
D) a list iterator only allows sequential movement through the list
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) return True
B) return contains(item-1)
C) return False
D) return first(lyst)
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) index-based
B) content-based
C) position-based
D) hash-based
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) self.items[ cursor ] = self.item[ cursor-1 ]
B) cursor += 1
C) cursor -= 1
D) self.items[ cursor+1 ] = self.item[ cursor ]
Correct Answer
verified
Multiple Choice
A) previous
B) first
C) remove
D) hasPrevious
Correct Answer
verified
Multiple Choice
A) an index
B) an item
C) a list instance
D) an array
Correct Answer
verified
Multiple Choice
A) returns the list cursor to the head position
B) returns all the data items in the list
C) returns a list of items after the first one
D) returns the list cursor to its previous position
Correct Answer
verified
Multiple Choice
A) a value of True is returned
B) a value of False is returned
C) a value of False is returned and the cursor is positioned before the first item
D) a value of True is returned and the cursor is positioned after the last item
Correct Answer
verified
Showing 21 - 40 of 50
Related Exams