1) Which of the following is an invalid name? a) temp1 b) temp_1 c) %temp d) TEMP 2) Which of the following keywords is used for conditions? a) while b) for c) else d) if 3) Select the relational operator : a) - b) + c) and d) == 4) The extension for a Python file is given as:  a) .py b) .pt c) .pyt d) .pty 5) Operator used for indentation is? a) ; b) ' c) : d) ) 6) Which of the following is used for integer division? a) / b) % c) // d) + 7) Keywords can be used as variable names(T/F) a) True b) False 8) Single line commentaries can be given by : a) * b) # c) @ d) ! 9) Multiple line commentaries can be given by : a) " " b) ; c) . d) < 10) Which of the following is used for looping? a) for b) if c) break d) pass

Tabla de clasificación

Estilo visual

Opciones

Cambiar plantilla

¿Restaurar actividad almacenada automáticamente: ?