
Python -PCA Quiz1

Quiz
•
Other
•
5th Grade
•
Easy
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
Similar Resources on Wayground
20 questions
Basketball Trivia

Quiz
•
5th Grade - Professio...
20 questions
7th Grade Trivia

Quiz
•
4th - 8th Grade
20 questions
Hindi Vyanjan

Quiz
•
5th Grade
20 questions
Context Clues

Quiz
•
4th - 7th Grade
20 questions
Legend of Zelda

Quiz
•
KG - 12th Grade
20 questions
Force and Motion Unit Review

Quiz
•
5th Grade
19 questions
energy transfer

Quiz
•
5th - 6th Grade
20 questions
The Great Depression

Quiz
•
5th - 7th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
Finding Volume of Rectangular Prisms

Quiz
•
5th Grade
20 questions
States of Matter

Quiz
•
5th Grade
20 questions
Run-On Sentences and Sentence Fragments

Quiz
•
3rd - 6th Grade
20 questions
4 Types of Sentences

Quiz
•
3rd - 5th Grade
16 questions
Figurative Language

Quiz
•
5th Grade
20 questions
Properties of Matter

Quiz
•
5th Grade
20 questions
Adding and Subtracting Decimals

Quiz
•
5th Grade