Python Strings
Quiz
•
Computers
•
11th Grade
•
Medium
Raksha Panjwani
Used 132+ times
FREE Resource
Enhance your content in a minute
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
Create a free account and access millions of resources
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
20 questions
ÔN TẬP WHILE DO VÀ FOR TO DO
Quiz
•
8th Grade
20 questions
Data structure test1
Quiz
•
12th Grade
18 questions
Trình bày và in trang tính
Quiz
•
7th Grade
17 questions
Bài 22 Tin 10
Quiz
•
10th Grade
20 questions
C Programming Unit-1 Test-2
Quiz
•
University
16 questions
Conditions
Quiz
•
8th - 10th Grade
20 questions
مراجعة-علوم الحاسب-نهاية ف2
Quiz
•
11th Grade
20 questions
Java Quiz 1
Quiz
•
University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
