1. While loop checks the condition and the loop keeps on running till the condition is true, it stops when the condition becomes false. a) True b) False AnswerAnswer: a [Reason:] While condition is true keep on looping. 2. What is the output of the given code? counter = 1 while counter < 11 puts…