string

Quiz
•
Computers
•
11th Grade
•
Medium
Standards-aligned
Sarika Kaushal
Used 22+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print("Hello world!")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would this print?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print("3+4")
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print(9/3)
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is printed by the following statements?
s = "programming in Python"
print(len(s))
20
21
22
nothing - there is an error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What characters are printed by the following statements?
s = "APCSP2018"
for idx in range(len(s)):
if idx % 2 == 0:
print(s[idx])
ACP08
PS21
APCSP2018
Error
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Strings and numbers

Quiz
•
11th Grade
10 questions
python(strings)

Quiz
•
11th Grade
10 questions
Python Variables

Quiz
•
7th - 12th Grade
12 questions
Programming - Output

Quiz
•
KG - 12th Grade
15 questions
ONE 6th FORM Introduction to Python Basics

Quiz
•
11th Grade
10 questions
Python - Flow control

Quiz
•
11th Grade
13 questions
L3 U14 Python Basics 2

Quiz
•
11th - 12th Grade
16 questions
Python programming

Quiz
•
6th - 12th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade