
Y9 - T2 - L6 - HOMEWORK
Authored by Sofia Mesa-Giner
Computers
9th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following statements contain valid Python string literals? Select all that are correct:
string = "1234"
string = Hello, world.
string = 'Hello, world.'
string = 'We're #1!'
string = "We're #1!"
Answer explanation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Joining two strings with the + operator is called …
String concatenation
Correct
String slicing
String indexing
A string method
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Variable names in Python are case-sensitive
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A variable name can start with a number.
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill the code to declare a variable that holds the name of a mobile brand
___________ _ iPhone
mobileBrand x
mobileBrand ==
mobileBrand =
x mobileBrand
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following are applications of Python?
Web development
Machine Learning
IoT
All answers are corrrect
Answer explanation
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator can be used to compare two values?
=
<>
==
><
Answer explanation
Access all questions and much more by creating a free account
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?