a) 1 b) 2 c) 3 d) 4 or more Answer: c Explanation: In the entire parenthesis balancing method ...
View QuestionWhich of the following is not the application of stack?
a) A parentheses balancing program b) Tracking of local variables at run time c) Compiler Syntax Analyzer d) ...
View QuestionEntries 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
View QuestionPushing 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 Answer: a Explanation: The stack is ...
View QuestionIn a stack, if a user tries to remove an element from an empty stack it is called _________
a) Underflow b) Empty collection c) Overflow d) Garbage Collection Answer: a Explanation: Underflow occurs ...
View QuestionProcess of removing an element from stack is called __________
a) Create b) Push c) Evaluation d) Pop Answer: d Explanation: Elements in the stack are ...
View QuestionProcess of inserting an element in stack is called ____________
a) Create b) Push c) Evaluation d) Pop Answer: b Explanation: Push operation allows users to insert elements ...
View QuestionElements in an array are accessed _____________
a) randomly b) sequentially c) exponentially d) logarithmically Answer: a Explanation: Elements in ...
View QuestionIn general, the index of the first element in an array is __________
a) 0 b) -1 c) 2 d) 1 Answer: a Explanation: In general, Array Indexing starts ...
View QuestionAssuming int is of 4 bytes, what is the size of int arr[15];?
a) 15 b) 19 c) 11 d) 60 Answer: d Explanation: Since there are 15 int elements and each int is ...
View Question