Podcast
Questions and Answers
What is the definition of a Linear list?
What is the definition of a Linear list?
- A data object consisting of (e1, e2, e3...en) where n is a negative natural number
- A data object consisting of (e1, e2, e3...en) where n is an infinite natural number
- A data object consisting of (e1, e2, e3...en) where n is an even natural number
- A data object consisting of (e1, e2, e3...en) where n is a finite natural number (correct)
What operation determines whether the list is empty?
What operation determines whether the list is empty?
- Create a Linear List
- Determine whether the list is empty (correct)
- Destroy a Linear List
- Determine the size of the List
How do you remove an element ei from the list?
How do you remove an element ei from the list?
- Move all elements to the right
- Move all elements to the left
- Move the element to its right (correct)
- Move the element to its left
What is the result of inserting an element i into a list?
What is the result of inserting an element i into a list?
What operation finds the index of a given number in a Linear List?
What operation finds the index of a given number in a Linear List?
Flashcards are hidden until you start studying