A good exercise to improve relative pitch is to listen to a musical interval and guess what kind is. On the internet you can find some ear training software(this one deals with ear training on guitar...