
Python - Strings
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Lucy Stephenson
Used 12+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, what symbol do you use to concatenate a string?
*
-
+
/
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
fruit = "apple"
print (len(fruit))
2
3
4
5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
message = "I love Computer Science!"
print (len(message))
21
22
23
24
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
homework = "Mrs Stephenson, can I have extra homework?"
print (len(homework))
12
22
32
42
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
colour = "Green"
print (colour.upper())
Green
GREEN
Syntax error
green
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
Subject = "Computer Science"
print (Subject.lower())
16
COMPUTER SCIENCE
computer science
Syntax error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
animal = "cat"
print (cat.lower())
CAT
cat
3
Syntax error
Answer explanation
Wrong variable name.
Incorrect
animal = "cat"
print (animal.lower())
Correct
animal = "cat"
print (animal.lower())
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
Already have an account?
Similar Resources on Wayground
20 questions
Sains Komputer Tingkatan 5 - 1.3.1 Menerangkan get logik
Quiz
•
1st Grade - Professio...
20 questions
Python Quiz Testing
Quiz
•
Professional Development
20 questions
Java Chapter 5 Review Questions
Quiz
•
Professional Development
20 questions
AWS SAA - Aquecimento
Quiz
•
Professional Development
20 questions
Microsoft Outlook Masterclass
Quiz
•
Professional Development
20 questions
Aplikasi Perkantoran
Quiz
•
Professional Development
20 questions
QUIZZ KJD - BIOS
Quiz
•
KG - Professional Dev...
20 questions
Basic 2 Python
Quiz
•
12th Grade - Professi...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
