Python Programming Quiz

Python Programming Quiz

1st - 5th Grade

10 Qs

quiz-placeholder

Similar activities

G. k

G. k

5th Grade

12 Qs

Fraction Simplification

Fraction Simplification

4th Grade

15 Qs

animals

animals

1st Grade

8 Qs

THIRD TERM MID TERM QUIZ

THIRD TERM MID TERM QUIZ

2nd Grade

10 Qs

Math Grade 1

Math Grade 1

1st Grade

10 Qs

mathematics

mathematics

1st - 5th Grade

11 Qs

Bible Quiz

Bible Quiz

1st - 5th Grade

15 Qs

tin học 10 tn

tin học 10 tn

1st - 5th 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?