
String manipulation class11
Authored by Rohit E
Computers
9th - 12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Negative index (-1) belongs to which character of a string
first character
last character
second last character
second character
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following functions will return the string in all caps?
to.upper()
is.upper()
upper()
all-upper()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct output?
True False
False True
False False
True True
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the correct function to get the ASCII code of a character:
char('char')
All of these
ascii('char')
ord('char')
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
str1 = 'Waha'
print(str1[:3] + 'Bhyi' + str1[-3:])
Wah Bhyi Wah
WahBhyiWah
WahBhyiWaha
WahBhyiaha
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Functions capitalize() and title() return the same result.
False
True
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of this code: ‘*’ * 3
***
Error
*3
3*
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
15 questions
Excel
Quiz
•
10th - 12th Grade
15 questions
tpr2_u0_initial test
Quiz
•
10th Grade
10 questions
OHS in Computer Hardware Servicing
Quiz
•
7th - 10th Grade
10 questions
Computer Languages
Quiz
•
6th - 12th Grade
10 questions
python quiz
Quiz
•
6th Grade - Professio...
13 questions
Grade 11 Term 4 Practice 1
Quiz
•
11th Grade
12 questions
Windows 10 Installation
Quiz
•
11th - 12th Grade
12 questions
Microsoft Office Word
Quiz
•
4th 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