Search Header Logo

Lesson 11 - Iterative statements

Authored by NotchUp .co

Professional Development, Education

5th - 8th Grade

Used 89+ times

Lesson 11 - Iterative statements
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times hello will be printed ?

6

30

12

5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

how many hello will be printed ?

6

0

5

12

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the maximum choices will we have in 2 level nested if else hierarchy ?

3

4

5

6

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times hii will be printed ?

0

1

3

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following code ?

Note:- ord(‘A’)=65, ord(‘a’)=97

khan

MyameIsKa

MyameIsKhan

none

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of following code ?

591318

591217

591357

591317

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what will be the output of the following statement ?

print(str(int(float(int(5.6)))))

5

'5'

5.6

'5.6'

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?