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
20 questions
General ICT Questions (Part 2)
Quiz
•
5th - 12th Grade
14 questions
Digitális Témahét 2024: Mi és a MI
Quiz
•
9th - 12th Grade
10 questions
Списки Python + Pygame
Quiz
•
KG - University
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
16 questions
Tips for Searching the Internet
Quiz
•
6th Grade - University
10 questions
K11 - Bài 17
Quiz
•
11th Grade
15 questions
Google Spreadsheet
Quiz
•
11th Grade
10 questions
Intro to MIL
Quiz
•
11th 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
