Answer the following statements true (T) or false (F)

1. Non-template functions have a slight advantage in speed over template functions.
2. Iterators are objects that are similar to pointers.
3. When an item stored in a linked list is removed, all list items stored after it have to be moved down to plug up the hole.
4. Inserting an item into a linked list requires that all the items past the point of the insertion be shifted to make room for the new item.
5. In a non-empty list, there must be exactly one list item with no successor.

1. FALSE
2. TRUE
3. FALSE
4. FALSE
5. TRUE

Computer Science & Information Technology

You might also like to view...

Rooting means the mobile device needs another battery

Indicate whether the statement is true or false

Computer Science & Information Technology

The method _________ reads a single character from an input stream.

(a) readLine() (b) skip() (c) read() (d) close()

Computer Science & Information Technology