Strings in python - Test

Flashcard
•
Computers
•
11th Grade
•
Hard
Wayground Content
Used 1+ 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
Create a free account and access millions of resources
Similar Resources on Wayground
43 questions
Testing and error types

Flashcard
•
12th Grade
40 questions
Python - Lists, Dictionaries and Loops

Flashcard
•
9th - 12th Grade
43 questions
Adobe InDesign CERTIFICATION TEST

Flashcard
•
11th Grade
45 questions
APCSP Semester Review

Flashcard
•
8th - 9th Grade
36 questions
python functions

Flashcard
•
12th Grade
41 questions
APCSA - Units 1-5 Review with Holiday Trivia

Flashcard
•
9th - 12th Grade
44 questions
HTML tags

Flashcard
•
9th - 12th Grade
55 questions
CS Unit 2 Test

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
7 questions
EAHS PBIS Lesson- Bathroom

Lesson
•
9th - 12th Grade
57 questions
How well do YOU know Neuwirth?

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade
4 questions
Study Skills

Lesson
•
5th - 12th Grade
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
20 questions
Points, Lines & Planes

Quiz
•
9th - 11th Grade