Python - Chpt 1 - Review
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Beverly Brown
Used 45+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What character begins a comment?
*
/
%
#
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you combine two strings?
string1 + string2
string1.combine(string2)
string1.concatenate(string2)
string1*string2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following defined variables is a string?
cool_variable_1 = 23.18
cool_variable_2 = 9
cool_variable_3 = “Important Message!”
cool_variable_4 = 14 ** 3
cool_variable_3
cool_variable_1
cool_variable_4
cool_variable_2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What number is saved to exponented_variable in the following expression?
exponented_variable = 2 ** 4
8
16
12
24
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of total_cost that gets printed?
total_cost = 5
total_cost += 10
print(total_cost)
15
10
5
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does one define a multi-line string in Python?
***
Like
This
***
###
Like
This
###
“””
Like
This
“””
///
Like
This
///
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the difference between a float and an int?
A float represents decimal quantities. An int represents whole numbers.
A float can only be used with whole numbers. An int can be any number with a decimal point.
A float contains text information. An int is any number.
There is no difference. They can be used interchangeably.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
UNIT 3- DATA COMMUNICATION
Quiz
•
12th Grade
12 questions
10 Клас Python tests
Quiz
•
10th Grade
10 questions
ภาษาไพทอน
Quiz
•
10th Grade
10 questions
Bài 29 NHẬN BIẾT LỖI CHƯƠNG TRÌNH
Quiz
•
10th Grade
20 questions
Python Recap
Quiz
•
7th Grade - University
15 questions
Lua Review Corona SDK with Notepad++
Quiz
•
10th - 12th Grade
15 questions
Arduino
Quiz
•
7th - 9th Grade
20 questions
Belajar Elemen 1 XI TKJ PSTS 23/24
Quiz
•
11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
