Strings and numbers
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Craig Ellis
Used 9+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
For strings, the + operator represents
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is printed by the following statements?
s = "programming rocks"
print(len(s))
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is printed by the following statements?
cheer = "Go Eagles!"
print cheer[0:1]
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is printed by the following statements?
cheer = "Go Eagles!"
print cheer[5:8]
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is printed by the following statements?
ss = "Hola, friend"
print(ss.upper())
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is printed by the following statements?
s = "python rocks"
print(s[-3])
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is printed by the following statements?
s = "python rocks"
print(s[1] * s.index("n"))
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
17 questions
Binary Representation
Quiz
•
9th - 11th Grade
14 questions
Internet terminology
Quiz
•
10th - 12th Grade
10 questions
Kiểm tra 15 phút Tin học 10 - DA - Bài 26,27,28
Quiz
•
10th Grade - University
17 questions
Security and Ethics
Quiz
•
9th - 12th Grade
15 questions
Software Testing
Quiz
•
11th Grade
10 questions
TỪ BÀI TOÁN ĐẾN CHƯƠNG TRÌNH
Quiz
•
11th Grade
13 questions
ICT and Retail Industry
Quiz
•
8th - 12th Grade
17 questions
Project Stem Python Unit 1 Test Review
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
