Correct Answer
verified
Multiple Choice
A) get
B) set
C) push
D) pop
Correct Answer
verified
Short Answer
Correct Answer
Answered by ExamLex AI
View Answer
Multiple Choice
A) at the end of the expression, if a final closing bracket is found, the brackets balance
B) at the end of the expression, if the stack is empty, the brackets do not balance
C) at the end of the expression, if the stack is full, the brackets balance
D) at the end of the expression, if the stack is empty, the brackets balance
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) if the stack is empty, the brackets balance
B) if the item on the top of the stack is a closing bracket of the same type, the brackets balance
C) if the stack is empty or the item on the top of the stack is not an opening bracket of the same type, the brackets don't balance
D) if the stack is empty or the item on the bottom of the stack is an opening bracket of the same type, the brackets balance
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) to return the bottom item without removing it
B) to return the top item without removing it
C) to return the top item and remove it from the stack
D) to return the bottom item and remove it from the stack
Correct Answer
verified
Multiple Choice
A) pop the resulting value from the stack
B) push the preceding operands onto the stack
C) apply the operator to the two preceding operands
D) push the operator onto the stack
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) push
B) insert
C) clear
D) peek
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) implementation of a hash-based database search function
B) managing computer memory in support of function calls
C) supporting the undo feature in a text editor
D) maintaining a history of visited links by a web browser
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) pop the operand from the stack
B) push the operand onto the stack
C) pop the operator from the stack
D) push an operator onto the stack
Correct Answer
verified
Showing 21 - 40 of 50
Related Exams