Thank U all very much! There is one other thing though....
Is there any way that I can produce different frequencies? can I have the whole code for this please? Is there also any way that I can string together a kind of melody using the internal speaker to mark the end of the quiz?