
Python Strings
Authored by Raksha Panjwani
Computers
11th Grade
Used 134+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A: Strings can be changed during execution
B. Strings can be enclosed within single, double or even triple quotes
C. Strings are immutable
A,B & C are True
A,B are True but C is False
B, C are True but A is False
A,C are True but B is False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the string membership operators of Python
in, not in
like, not like
as, not as
between, not between
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
MATCH THE FOLLOWING:
1. concatenation A) +=
2. Append B) [ ]
3. String Slicing C) *
4. Repeating D) +
1-B. 2-A, 3-C, 4-D
1-D. 2-A, 3-B, 4-C
1-A,2-B,3-C,4-D
1-A,2-D,3-C,4-B
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the following code, "city" is an example of a what?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Each item in a string has an "address" or index. The first index in a Python string is what?
0
1
a
A
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Returning a range of characters (part of a string) is done using which syntax?
Slice
Splice
Cut
Select
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output from this code?
ell
llo
ello,
Hello
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
16 questions
Python #1 Grade #7
Quiz
•
7th Grade
20 questions
Processing- The CPU Quiz
Quiz
•
10th Grade - University
18 questions
The Rise of Intelligent Machines
Quiz
•
8th Grade - University
20 questions
Browser dan CMS
Quiz
•
7th - 9th Grade
26 questions
Dạo vườn tri thức 2
Quiz
•
2nd Grade
20 questions
SOFTWARE 7I
Quiz
•
7th Grade - University
20 questions
Operator Aritmetika dan Perbandingan
Quiz
•
10th Grade
20 questions
صف 6 - grade 6 - تقنيه رقميه - ورق عمل
Quiz
•
6th Grade
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