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

1. The linked list is always the most efficient storage mechanism for storing many pieces of data.
2. A stack is a specialized type of list
3. The stack exhibits last-in/first-out behavior
4. The stack can be compared to a line of people at a bank, where the first person in line is the first person served.
5. If you write a linked list class, then you should implement the destructor, copy constructor, and the assignment operator

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

Computer Science & Information Technology

You might also like to view...

When the pen, highlighter or laser pointer is being used, which keyboard key can NOT be used to advance though the slide show?

A) Enter key B) Spacebar C) Arrow key D) Tab key

Computer Science & Information Technology

Given the following function: int next(int x){return (x + 1);}what is the output of the following statement?cout << next(next(5)) << endl;

A. 5 B. 6 C. 7 D. 8

Computer Science & Information Technology