Python -PCA Quiz1

Python -PCA Quiz1

5th Grade

24 Qs

quiz-placeholder

Similar activities

Holy Orders and Matrimony

Holy Orders and Matrimony

5th Grade

19 Qs

Verbs

Verbs

5th Grade

20 Qs

Bones 7th

Bones 7th

4th - 12th Grade

20 Qs

chirstmas

chirstmas

3rd Grade - University

23 Qs

Bahamian Pride

Bahamian Pride

4th - 6th Grade

20 Qs

Doctor Who quiz

Doctor Who quiz

2nd Grade - Professional Development

21 Qs

GK Monthly Test Class 5

GK Monthly Test Class 5

5th Grade

20 Qs

Name the Disney animation films

Name the Disney animation films

1st - 9th Grade

20 Qs

Python -PCA Quiz1

Python -PCA Quiz1

Assessment

Quiz

Other

5th Grade

Easy

Created by

Crystal Lee

Used 53+ times

FREE Resource

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to concatenate the variables `first_name`, `last_name`, and `birth_place` with a comma in between?

`concat_var = first_name + last_name + birth_place`

`concat_var = first_name + ", " + last_name + ", " + birth_place`

`concat_var = first_name + " " + last_name + " " + birth_place`

`concat_var = first_name + last_name + ", " + birth_place`

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you store the string "Hello everyone !" in a variable called `hello_message` and print it?

`hello_message = "Hello everyone !" print(hello_message)`

`hello_message = Hello everyone ! print(hello_message)`

`hello_message = "Hello everyone !" print(hellomessage)`

`hello_message == "Hello everyone !" print(hello_message)`

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the function `double_convert_string("25")`?

25

50

75

100

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many students have dogs as a pet according to the corrected code?

10

13

15

17

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct area of a rectangle with length 12 and width 6?

18

60

72

78

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct order of planets in the given list?

Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto

Venus, Mercury, Earth, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto

Earth, Mars, Mercury, Venus, Jupiter, Saturn, Uranus, Neptune, Pluto

Mars, Earth, Venus, Mercury, Jupiter, Saturn, Uranus, Neptune, Pluto

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the loop that prints each element in the food_list?

Salad, Bread, Rice, Eggs

Bread, Salad, Rice, Eggs

Rice, Eggs, Salad, Bread

Eggs, Rice, Bread, Salad

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?