Strings in python - Test
Flashcard
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
Wayground Content
Used 2+ times
FREE Resource
Student preview

50 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What letter will be printed on the screen after running this code:
Back
t
2.
FLASHCARD QUESTION
Front
Which of the operator can be used in Strings?
Back
Both of the above
3.
FLASHCARD QUESTION
Front
Python accepts single ('), double (") and triple (''' or """) quotes to denote strings. Which of the following is NOT acceptable Python syntax? print('Hello World'), print("Hello World"), print('Hello World"), print(""'Hello World'"")
Back
print('Hello World")
4.
FLASHCARD QUESTION
Front
What is printed by the following statement? print("P" not in "APCSP")
Back
False
5.
FLASHCARD QUESTION
Front
What is printed by the following statement? print("A" in "APCSP")
Back
True
6.
FLASHCARD QUESTION
Front
For strings, the + operator represents
Back
Concatenation
7.
FLASHCARD QUESTION
Front
What does the expression len(data) evaluate to when data = "No Way!"?
Back
7
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
35 questions
DOMINIO Y RANGO DE FUNCIONES ALGEBRAICAS
Flashcard
•
12th Grade
39 questions
Earth's structure review
Flashcard
•
KG - University
44 questions
Statistics and Regression Flashcard
Flashcard
•
University
55 questions
Financial Terms Flashcards (by ktagara)
Flashcard
•
10th Grade - University
40 questions
KIMIA - USP 2023/2024
Flashcard
•
12th Grade
48 questions
Câu Hỏi Ôn Tập Kiểm Tra Giữa Kỳ 1
Flashcard
•
12th Grade
44 questions
Vocabulary Flashcards
Flashcard
•
10th Grade
39 questions
113 國二翰林B3U1天氣與日常對話測驗
Flashcard
•
10th 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