
Python Unit 6 Sequences Quiz
Authored by Bonnie Keating
Computers
9th - 12th Grade
Used 14+ 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 CHOICE QUESTION
30 sec • 1 pt
For strings, the + operator represents
Concatenation
Addition
Appending
Recantation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
data = "No Way!" The expression len(data) evaluates to:
7
9
8
6
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of code is correct for creating a list of numbers?
num = (10,29,37,109)
num = [10,29,37,109]
num == (10,29,37,109)
num = ['10 29 37 109']
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is used to separate elements in a list?
Bracket
Comma
Full Stop
Space
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The correct syntax of the len function for string x:
x.len()
len[x]
LEN[]
len(x)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The correct syntax for converting the string x to uppercase is :
upper.x()
upper(x)
x.UPPER[ ]
x.upper()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x= "JavaLava", the output of print( x[len(x): ] ) is
a
Error. Index out of range
JavaLava
J
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?