XYZ interview question

Simple programs, tracing, aptitude, verbal ability, reasoning