
String Manipulation (Python)
Authored by Louise Lockwood
Computers
9th - 12th Grade
Used 51+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
17 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 1 pt
how we store string value in variable?
'string'
"string"
%string%
#sring#
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
index of a string begins with
1
0
a
-1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The pseudocode below assigns two strings to two variables:
title = "computer science"
level = "gcse"
What would the Python code: len(level) return?
2
3
4
1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The pseudocode below assigns two strings to two variables:
title = "computer science"
level = "gcse"
What is title[0]?
'c'
'o'
'g'
An error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The pseudocode below assigns two strings to two variables:
title = "computer science"
level = "gcse"
What is title[4]?
'p'
'u'
't'
An error
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
string = "abcdef"
What is index of "f" ?
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
string = "Computer Science"
What is string[0:8] ?
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
12 questions
web temeller - 01
Quiz
•
9th - 12th Grade
17 questions
C++ kvizić
Quiz
•
10th Grade
15 questions
Visual C# Quiz - Chapter 5: Loops, Files, and Random Numbers
Quiz
•
12th Grade
21 questions
حاسب 1 نظري
Quiz
•
10th Grade
20 questions
Pemrograman Dasar
Quiz
•
10th Grade
12 questions
Python
Quiz
•
7th - 9th Grade
20 questions
Computación 1ro y 2do básico
Quiz
•
1st Grade - University
19 questions
Quiz sobre Estructuras Selectivas en Java
Quiz
•
12th Grade - University
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