
strings
Authored by Divya Ghalagi
Computers
11th Grade

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
predict the output:
str="computer student"
print(len(str)
13
14
15
16
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the output of the following?
print('abcefd'.replace('cd','12'))
ablef2
abcefd
ablefd
abl2ed2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
given a string str="Togetherwithpython" what is the output of str.count("t") ?
3
2
none
0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the output of the following code?
exam="rachana Sagar"
print("%s" %exam[4:8])
Sagar
anas
ana
Ra
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
suppose str="\t\tBookworld\n",what is str.strip()?
\t\tBookWorld\n
\t\tBookWorld
\t\tBookWORLD\n
BookWorld
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print('together with python 11',isalnum()). predict the output
True
False
None
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print('ccdcddcd'.find('c'))
4
0
Error
True
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
10 questions
Asesmen Diagnostik Sistem Komputer
Quiz
•
10th Grade - University
15 questions
python basics
Quiz
•
11th Grade - University
10 questions
Word basics
Quiz
•
8th - 12th Grade
10 questions
2025
Quiz
•
11th Grade
10 questions
python-BTxâu
Quiz
•
9th - 12th Grade
10 questions
Logic Gates
Quiz
•
9th - 12th Grade
10 questions
conditional and iterative statements
Quiz
•
11th Grade
10 questions
ทดสอบพื้นฐานการใช้งานคอมพิวเตอร์
Quiz
•
9th - 12th 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