Search Header Logo

Python Dictionary

Authored by Bryan Campbell

Computers

11th - 12th Grade

Used 66+ times

Python Dictionary
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

34 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output for the code above?

[('Python', 'Guido Rossum'), ('Java', 'James Gosling'), ('JavaScript', 'Brendan Eich')]

[0, 1, 2]

['Python', 'Java', 'JavaScript']

['Guido Rossum', 'James Gosling', 'Brendan Eich']

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output for the code above?

[('Python', 'Guido Rossum'), ('Java', 'James Gosling'), ('JavaScript', 'Brendan Eich')]

[0, 1, 2]

['Python', 'Java', 'JavaScript']

['Guido Rossum', 'James Gosling', 'Brendan Eich']

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output for the code above?

[('Python', 'Guido Rossum'), ('Java', 'James Gosling'), ('JavaScript', 'Brendan Eich')]

[0, 1, 2]

['Python', 'Java', 'JavaScript']

['Guido Rossum', 'James Gosling', 'Brendan Eich']

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output for the code above?

[('Python', 'Guido Rossum'), ('Java', 'James Gosling'), ('JavaScript', 'Brendan Eich')]

[('Python', 'Guido Rossum'), ('Java', 'James Gosling'), ('JavaScript', 'Brendan Eich'), ('C', 'Dennis Ritchie')]

[('C', 'Dennis Ritchie'), ('Python', 'Guido Rossum'), ('Java', 'James Gosling'), ('JavaScript', 'Brendan Eich'), ]

['Guido Rossum', 'James Gosling', 'Brendan Eich', 'Dennis Ritchie']

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output for the code above?

['Python', 'Java', 'JavaScript', 'C']

[('Python', 'Guido Rossum'), ('Java', 'James Gosling'), ('JavaScript', 'Brendan Eich'), ('C', 'Dennis Ritchie')]

[('C', 'Dennis Ritchie'), ('Python', 'Guido Rossum'), ('Java', 'James Gosling'), ('JavaScript', 'Brendan Eich'), ]

['Guido Rossum', 'James Gosling', 'Brendan Eich', 'Dennis Ritchie']

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output for the code above?

['Python', 'Java', 'JavaScript', 'C']

[('Python', 'Guido Rossum'), ('Java', 'James Gosling'), ('JavaScript', 'Brendan Eich'), ('C', 'Dennis Ritchie')]

[('C', 'Dennis Ritchie'), ('Python', 'Guido Rossum'), ('Java', 'James Gosling'), ('JavaScript', 'Brendan Eich'), ]

['Guido Rossum', 'James Gosling', 'Brendan Eich', 'Dennis Ritchie']

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output for the code above?

[('C', 'Dennis Ritchie'), ('Python', 'Guido Rossum'), ('JavaScript', 'Brendan Eich')]

James Gosling

['Python', 'JavaScript', 'C']

['Guido Rossum', 'Brendan Eich', 'Dennis Ritchie']

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

Already have an account?