Python Programming Quiz

Python Programming Quiz

1st - 5th Grade

10 Qs

quiz-placeholder

Similar activities

reading an anolog clock-2nd grade

reading an anolog clock-2nd grade

2nd Grade

13 Qs

Kuis Ns.Arfah May Syara,S.Kep,M.kep (AM) (Keperawatan Anak)

Kuis Ns.Arfah May Syara,S.Kep,M.kep (AM) (Keperawatan Anak)

1st Grade

10 Qs

mutiple choice

mutiple choice

1st Grade

10 Qs

Fraction Operations

Fraction Operations

4th Grade

8 Qs

Прог нг сессия даиындык

Прог нг сессия даиындык

1st Grade

10 Qs

tinhoc

tinhoc

1st Grade

14 Qs

Fractions

Fractions

5th Grade

10 Qs

Mastering Fraction Multiplication

Mastering Fraction Multiplication

3rd Grade

10 Qs

Python Programming Quiz

Python Programming Quiz

Assessment

Quiz

Others

1st - 5th Grade

Medium

Created by

Google Developer Student Club USTP

Used 1+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?