Q2 PYTHON CONDITIONALS

Q2 PYTHON CONDITIONALS

University

19 Qs

quiz-placeholder

Similar activities

C Programming Quiz

C Programming Quiz

12th Grade - University

20 Qs

OOPs in Python

OOPs in Python

University

20 Qs

BASIC C PROGRAMMING

BASIC C PROGRAMMING

University

15 Qs

C Programming Quiz(session 1)

C Programming Quiz(session 1)

University

20 Qs

Python 2

Python 2

9th Grade - University

23 Qs

Structures and union

Structures and union

University

15 Qs

Unit-2 Test-2

Unit-2 Test-2

University

15 Qs

Python 101

Python 101

University

15 Qs

Q2 PYTHON CONDITIONALS

Q2 PYTHON CONDITIONALS

Assessment

Quiz

Computers

University

Medium

Created by

Darwin Vargas

Used 7+ 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?