Stack Operations – 1 Multiple Questions and Answers.




1.Process of inserting an element in stack is called ?
A. Create
B. Push
C. Evaluation
D. Pop

2.Process of removing an element from stack is called ?
A. Create
B. Push
C. Evaluation
D. Pop

3.In a stack, if a user tries to remove an element from empty stack it is called ?
A. Underflow
B. Empty collection
C. Overflow
D. Garbage Collection

4.Pushing an element into stack already having five elements and stack size of 5, then stack becomes ?
A. Overflow
B. Crash
C. Underflow
D. User flow

5.Entries in a stack are “ordered”. What is the meaning of this statement ?
A. A collection of stacks is sortable
B. Stack entries may be compared with the ‘<‘ operation
C. The entries are stored in a linked list
D. There is a Sequential entry that is one by one

»



Quick Links

GAT Subject



   Computer Science    English    Agriculture    Botany    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC    PPSC    NTS