Q2 PYTHON CONDITIONALS

Q2 PYTHON CONDITIONALS

Assessment

Flashcard

Computers

University

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

19 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What will be the output of the following code?

Back

GREATER

2.

FLASHCARD QUESTION

Front

What does the following code evaluate to? Options: EVEN, ODD, NONE, ERRO

Back

ODD

3.

FLASHCARD QUESTION

Front

Which keyword is used to check multiple conditions in Python?

Back

elif

4.

FLASHCARD QUESTION

Front

What will be the output of the following code?

Back

EQUAL

5.

FLASHCARD QUESTION

Front

What does the following code evaluate to? Options: GREATER, EQUAL, SMALLER, ERROR

Back

EQUAL

6.

FLASHCARD QUESTION

Front

Which of the following will cause a syntax error? if x > 5: if (x > 5): if x > 5 if x > 5: print("Greater")

Back

if x > 5

7.

FLASHCARD QUESTION

Front

What will be the output of the following code? Options: TRUE, FALSE, ERROR, NONE

Back

TRUE

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?