
Python Lists and Strings
Authored by Adrian Heafield
Computers
9th Grade
Used 35+ 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
What is the Python function that adds an item on to the end of a list?
Extend
Append
Remove
Count
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Python Function for changing all lower case to upper case and all upper case to lower case letter?
upper
lower
replace
swapcase
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What python function returns the number of items / characters in a list and string?
remove
pop
len
index
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the python function that returns the number of times a specified item / character occurs in a list or string?
count
lower
concatenation
index
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which python code will return the character associated with the value 104.
chr(104)
ord(104)
str(104)
int(104)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Python function that adds one list on to the end of another.
Extend
Append
Remove
Count
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which python function enables a new list item to be placed at any point in an existing list.
split
reverse
insert
pop
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?