1) What type of loop is a while loop? a) Condition controlled b) Count controlled 2) What is the value of x? a) 101 b) 99 c) 100 d) None of the above, it's an infinite loop 3) What is the output of this if statement? a) True b) False 4) In programming, what is iteration? a) The repetition of steps within a program b) A decision point in a program c) The order in which instructions are carried out d) Testing a program to make sure it works 5) Which two statements are used to implement iteration? a) IF and WHILE b) FOR and WHILE c) ELSE and WHILE d) IF and ELSE 6) Which of the following symbols is used in Python to mean "Not equal to"? a) == b) <> c) != d) >< 7) To repeat a fixed number of times use a a) while loop b) for loop 8) To repeat until a particular condition is true use a) while loop b) for loop 9) The character that must be at the end of the line for if, while, for is... a) : b) . c) ; d) , 10) Data type that can only be true or false a) int b) bool c) string d) float

લીડરબોર્ડ

દૃશ્યમાન શૈલી

વિકલ્પો

ટેમ્પલેટ બદલો

આપોઆપ સંગ્રહ થયેલ છે: ?