Python Programming Quiz

Python Programming Quiz

1st - 5th Grade

10 Qs

quiz-placeholder

Similar activities

QUIZ-A-THON PYTHON LEVEL 2

QUIZ-A-THON PYTHON LEVEL 2

1st Grade

15 Qs

Акыл ордо

Акыл ордо

4th Grade

10 Qs

tinhoc

tinhoc

1st Grade

14 Qs

đúng sai tin

đúng sai tin

1st Grade

10 Qs

tin học 10 tn

tin học 10 tn

1st - 5th Grade

15 Qs

chap 3

chap 3

1st Grade

15 Qs

Fraction Simplification

Fraction Simplification

4th Grade

15 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?