while and Loop

while and Loop

Assessment

Quiz

Created by

Kuei Fang

Computers

6th - 12th Grade

4 plays

Hard

Student preview

quiz-placeholder

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the Python code?

[‘ab’, ‘cd’]

[‘AB’, ‘CD’]

[None, None]

none of the mentioned

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the Python code?

[‘AB’, ‘CD’]

[‘ab’, ‘cd’, ‘AB’, ‘CD’]

[‘ab’, ‘cd’]

none of the mentioned

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the Python code?

1

1 2

1 2 3 4 5 6 …

1 3 5 7 9 11 …

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the Python code?

1

1 2 3 4 …

1 3 5 7 ...

none of the mentioned

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the Python code?

0 1 2 0

0 1 2

0 1

error

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

a b c d e f

abcdef

i i i i i i …

error

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

no output

i i i i i i …

a a a a a a …

a b c d e f

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?