Question: Data Structure knowledge test : 1. Stack is called as LIFO order. What is FIFO? Explain it. 2. Queue is called as FIFO order. What
Data Structure knowledge test :
1. Stack is called as LIFO order. What is FIFO? Explain it. 2. Queue is called as FIFO order. What is FIFO? Explain it. 3. Queue and Stack are better to be implemented by using Linked List than using Array. Explain why? 4. [Tree] What are the results of preorder, inorder, and postorder Traversal on this tree?
5. [Abstract Data Type] Supposed we have an ADT namely Time. Time consists of three information; hour, minute, and second. Mention 3 operations (functions) that can be performed on ADT Time. 6. [Array] What are the difference between static array and dynamic array? Clue: it is related to the memory management. 7. [Class] There are three difference access right on class's attributes/methods namely private, public and protected. Explain the difference between them.
40 25 8 10 93 32 50 3 17 30 38
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
