1) What is Python? a) A type of snake b) A programming language c) A computer brand d) A game 2) Which of the following is not a valid Python data type? a) Integer b) String c) Float d) Loop 3) Which operator is used for exponentiation in Python? a) ^ b) ** c) * d) % 4) What is the purpose of an 'if' statement in Python? a) To define a function b) To create a loop c) To perform a conditional test and execute code based on the result d) To print text on the screen 5) Which of the following is NOT a comparison operator in Python? a) == b) b) != c) c) <= d) d) >< 6) How can you represent multiple conditions using 'if' statements? a) By using only 'if' statements b) b) By using 'if-else' statements c) c) By using 'if-elif-else' statements d) d) By using 'switch' statements

Výsledková tabule/Žebříček

Vizuální styl

Možnosti

Přepnout šablonu

Obnovit automatické uložení: ?