These are some basic programming exercises that involves loops. Different questions may need different looping type requirements and it is recommended that you should test it on different loops if it is even possible or to identify which type of loop will be the most appropriate in every question.