// Control Flow

Control Flow Quiz

// question 1 of 10
What is printed? while False: break?
// question 2 of 10
What does break do?
// question 3 of 10
What is printed? for i in range(4): print(i>1)?
// question 4 of 10
What is printed? if True and False: print(""A"")?
// question 5 of 10
What is printed? for i in range(5): if i%2==0: print(i)?
// question 6 of 10
What does the variable i represent in a for loop?
// question 7 of 10
What is printed? for i in range(5): if i == 2: break print(i)?
// question 8 of 10
What is a nested loop?
// question 9 of 10
What is printed? if 2 <= 1: print(""OK"")?
// question 10 of 10
What does == do?