Python Programming Quiz

Python Programming Quiz

1st - 5th Grade

10 Qs

quiz-placeholder

Similar activities

How much you know about us?

How much you know about us?

1st - 5th Grade

11 Qs

Campaña de salud

Campaña de salud

1st - 5th Grade

10 Qs

Quizbee

Quizbee

1st - 5th Grade

10 Qs

Friends to no.5

Friends to no.5

1st Grade

10 Qs

LATIHAN AFAN 1

LATIHAN AFAN 1

1st Grade

10 Qs

FLN TRAINING 4TH AND 5TH

FLN TRAINING 4TH AND 5TH

1st - 5th Grade

15 Qs

GRADE 4 UNIT 4-5

GRADE 4 UNIT 4-5

4th Grade

15 Qs

exploring ART

exploring ART

4th Grade

11 Qs

Python Programming Quiz

Python Programming Quiz

Assessment

Quiz

Others

1st - 5th Grade

Practice Problem

Medium

Created by

Google Developer Student Club USTP

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

What is the output of the following code?

Hello World

HelloWorld

Hello+World

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

12

13

14

15

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

[1, 2, 3]

[1, 2, 3, 4]

[4]

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

[2, 4, 6]

[1, 2, 3, 1, 2, 3]

[1, 1, 2, 2, 3, 3]

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to create a list in Python?

list = (1, 2, 3)

list = [1, 2, 3]

list = {1, 2, 3}

list = <1, 2, 3>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare a variable x with the value 10 in Python?

int x = 10

x := 10

x = 10

declare x = 10

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

[0, 1, 2, 3, 4]

[1, 2, 3, 4, 5]

[0, 1, 2, 3, 4, 5]

[5, 4, 3, 2, 1]

Create a free account and access millions of resources

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?