A) the state is [ x, y ]; z is returned
B) the state is [ x, y, z ]; z is returned
C) the state is [ y, z ]; x is returned
D) the state is [ x, y, z ]; x is returned
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) push opening brackets onto the stack while scanning the expression
B) pop closing brackets onto the stack while scanning the expression
C) push closing brackets onto the stack while scanning the expression
D) pop opening brackets onto the stack while scanning the expression
Correct Answer
verified
Multiple Choice
A) 12
B) 8
C) 17
D) 10
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) backtracking algorithm
B) memory management algorithm
C) infix to postfix converter
D) postfix to infix converter
Correct Answer
verified
Multiple Choice
A) binary
B) sequential
C) recursive
D) random
Correct Answer
verified
Multiple Choice
A) 12 5 2 + * 3 -
B) 12 5 + 2 3 * -
C) 12 5 + 2 * 3 -
D) 12 5 2 + 3 - *
Correct Answer
verified
Multiple Choice
A) converts methods to subroutines
B) executes a python program from bytecodes
C) compiles Python code into assembly language
D) links a Python program to imported modules
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) the append method pushes elements onto the stack
B) the pop method removes and returns the top element
C) a list uses an array as the underlying data structure
D) list methods allow manipulation of items at any position
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) 17 - (4 + 6 * 8)
B) 17 - (4 + 6) * 8
C) (17 - 4) + (6 * 8)
D) (17 - 4 + 6) * 8
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) the operator is between its two operands
B) the operator follows its two operands
C) stack of bricks
D) table of contents
Correct Answer
verified
Multiple Choice
A) self.items += 1
B) self.items[ len(self) ] = item
C) items[ size ] = len(self.item)
D) item = self.items[ self.size + 1 ]
Correct Answer
verified
Multiple Choice
A) a spindle of blank DVDs
B) a stack of plates in a cafeteria line
C) a pile of napkins
D) a jar of jellybeans
Correct Answer
verified
Showing 1 - 20 of 50
Related Exams