Q2 PYTHON CONDITIONALS

Q2 PYTHON CONDITIONALS

University

19 Qs

quiz-placeholder

Similar activities

Python if statement

Python if statement

University

15 Qs

Coding club Summit Online Quiz

Coding club Summit Online Quiz

University

15 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

Control Statements - Java

Control Statements - Java

University

15 Qs

Round 2 Debug-The-Code

Round 2 Debug-The-Code

University

15 Qs

Java Programming

Java Programming

University

20 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Python if/else

Python if/else

University

20 Qs

Q2 PYTHON CONDITIONALS

Q2 PYTHON CONDITIONALS

Assessment

Quiz

Computers

University

Medium

Created by

Darwin Vargas

Used 4+ times

FREE Resource

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following code?

GREATER

SMALLER

ERROR

NONE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the following code evaluate to?

EVEN

ODD

NONE

ERRO

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to check multiple conditions in Python?

elif

elseif

else if

ifelse

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following code?

GREATER

EQUAL

SMALLER

NONE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the following code evaluate to?

GREATER

EQUAL

SMALLER

ERROR

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following will cause a syntax error?

if x > 5:

if (x > 5):

if x > 5

if x > 5: print("Greater")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following code?

TRUE

FALSE

ERROR

NONE

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?