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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
NHTW Programming
Quiz
•
9th Grade
14 questions
Bài 29. Nhận biết lỗi chương trình
Quiz
•
9th - 12th Grade
10 questions
Programacion Orientada a Objetos
Quiz
•
12th Grade - University
15 questions
Chapter 8 by PD
Quiz
•
10th Grade
11 questions
CSS9_Q3M3L1_QUIZ5
Quiz
•
9th Grade
20 questions
Standar Komunikasi Data
Quiz
•
1st - 12th Grade
20 questions
TIK 9 - Penggunaan Browser Untuk Akses Internet
Quiz
•
11th - 12th Grade
15 questions
หน่วยที่ 1 ความรู้พื้นฐานการจัดการ ข้อมูลขนาดใหญ่ (Big Data)
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
