ios programming test & examples 2