'''Template for Kyle's Final Exam in Programming Languages.''' #Lambda's in Python part def monkey_sort(t): pass #Python INOUT-mode Parameters part class InoutParameter(object): '''Models an inout-mode parameter.''' def __init__(self): '''Constructor.''' def hasValue(self): '''Returns whether this has a value.''' def setValue(self, v): '''Sets the value.''' def getValue(self): '''Gets the stored value.''' def toSet(inoutList, inoutSet): '''Returns whether it is possible for inoutList and inoutSet to be parameters that satisfy this, setting them as necessary.''' #Python Parallel Processing part def parallel_xor(booleans, num_threads): pass