1) Identify the concept of stack in data structures a) Data is identified by an index b) The stack is used to chain the data c) The addition and deletions process are restricted at one end, called top d) Items are accessible one after another beginning at the head and ending at the tail. 2) Identify the operation that returns the new value of the stack. a) Top b) Push c) Pop d) Remove 3) LIFO stand for a) Last in last out b) First in first out c) Last in first out 4) Select the situation that occur when user try to remove element from the empty stack. a) Overflow b) Underflow c) Emptyflow 5) Select the operation that represent inserting and deleting item in stack a) in, out b) push, pop c) last in, last out d) enqueue, dequeue 6) Character P, A, H, L, A, W, A, N are placed in a Stack respectively. Choose the CORRECT order if they are removed one by one. a) PAHLAWAN b) NAWALHAP c) NAWALPAH d) PAHLANAW 7) Identify the last top value index after push and pop operation in figure given. a) 0 b) 1 c) 2

Leaderboard

Visual style

Options

Switch template

Continue editing: ?