Search Header Logo

if else statement - Quiz12

Authored by Vindhya Gaddam

English

1st - 5th Grade

Used 2+ times

if else statement - Quiz12
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

‘If’ is a decision making statement?

True

False

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

 Which one of the following is a valid Python if statement

if(a>=2)

if a>=2 :

if(a=>2)

if a>=2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the value of x?

0

10

7

17

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What keyword would you use to add an alternative condition to an if statement?

else if

elif

elseif

None of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output?

The count of Fox is greater than Monkey

The count of Monkey is greater than Fox

Both are equal

None of these

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which statement will check if a is equal to b?

if a=b:

if a==b

if a==b:

if a=b

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of print statement?

200,200

200,20

100,200

200,20.0

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?