Fall-Quiz#3: Algorithms Flashcards
1
Q
”++” is the ______ operator
A
incrementor
2
Q
”–” is the ______ operator
A
decrementor
3
Q
what is the final value of b
int b = -6;
b*=-2;
A
12
4
Q
list two qualities that all recursive procedures must have
A
base case and a call to self
5
Q
what quality does a dictionary have that makes it possible to perform a binary search?
A
the dictionary is alphabetically ordered