Program Development - Python: Strings
Quiz
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Hard
Used 70+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
For strings, the + operator represents
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is printed by the following statements?
s = "programming rocks"
print(len(s))
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is printed by the following statements?
cheer = "Go Eagles!"
print(cheer[0:1])
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is printed by the following statements?
cheer = "Go Eagles!"
print(cheer[5:8])
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is printed by the following statements?
ss = "Hola, friend"
print(ss.upper())
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is printed by the following statements?
s = "python rocks"
print(s[-3])
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is printed by the following statements?
s = "python rocks"
print(s[1] * s.index("n"))
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
22 questions
Programming Review
Quiz
•
9th - 12th Grade
20 questions
CSS Box Model
Quiz
•
10th Grade
20 questions
Keyboarding Skills Review
Quiz
•
10th - 12th Grade
20 questions
Database Quiz (Certmaster 5.1 - 5.3)
Quiz
•
10th Grade
20 questions
EVALUACION 1P GRADO DECIMO 2024
Quiz
•
10th Grade
20 questions
Key Applications 2
Quiz
•
9th - 12th Grade
20 questions
การเขียนโปรแกรม
Quiz
•
10th - 11th Grade
20 questions
MSEXCEL QUIZ NO. 2
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
