Python - Chpt 1 - Review

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Beverly Brown
Used 45+ times
FREE Resource
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
Similar Resources on Wayground
20 questions
ONE 6th FORM String manupulation

Quiz
•
11th Grade
15 questions
Chapter 8 String Manipulations

Quiz
•
12th Grade
10 questions
KS4 Programming Techniques (1)

Quiz
•
8th - 10th Grade
10 questions
Python Programming

Quiz
•
7th - 9th Grade
10 questions
Y9 Python Inputs

Quiz
•
9th Grade
10 questions
Quiz - 3 Assignment, Increment & Decrement Operators in C

Quiz
•
12th Grade
20 questions
3rd Qtr QUIZ1 COMPUTER PROGRAMMING-Strings in Java-2-22-2023

Quiz
•
12th Grade
10 questions
Soal tentang Piton

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade