Xerox interview question

Pretty basic questions