Random assortment of coding question I've been asked.