Beginning Python (Video 8)
Interactive Video
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of concatenating the strings 'Hello' and 'World'?
World Hello
Hello World
HelloWorld
WorldHello
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method would you use to change 'cat' to 'dog' in the string 'The cat is cute'?
concatenate
replace
duplicate
count
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a string is multiplied by 3, what happens to the string?
It is converted to uppercase
It is duplicated three times
It is split into three parts
It is reversed
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of replacing 'apple' with 'orange' in the string 'apple apple apple' with a count of 2?
orange orange orange
apple apple orange
orange apple apple
apple orange orange
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the count parameter in the replace method?
To concatenate strings
To count the number of characters in a string
To limit the number of replacements
To duplicate the string
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times does the substring 'an' appear in the string 'banana'?
4
3
2
1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function would you use to find out how many times 'is' appears in a string?
replace
concatenate
count
duplicate
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?
Similar Resources on Wayground
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade