
Unit 7 Strings Python
Quiz
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Medium
MANAL FAWAZ
Used 91+ times
FREE Resource
Enhance your content in a minute
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What output will this code produce?
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
s1="Hello"
n1=10
print(s1+n1)
What is the error in this code?
Print statement not written in quotes
Numeric value not written in quotes
colon not written after the print statement
string cannot be added to a number
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
In Python, strings are…
char arrays
changeable
immutable
integers
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
str1="101"
x=int(str1)
z=x+400
print(z)
101400
x400
501
none of above
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
fruit1="kiwi"
fruit2="strawberry"
print(len(fruit1))
print(len(fruit2))
kiwi and strawberry
4
10
4 10
410
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
index of a string begins with
1
0
a
-1
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
slicing string X="BOnVoyage"
print X[0:5]
BOnVoy
BOnVo
oyage
bonvo
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
Python Recap
Quiz
•
7th Grade - University
17 questions
"switch" Java Statement - 1
Quiz
•
9th - 10th Grade
14 questions
Kiểu dữ liệu xâu kí tự - xử lí xâu kí tự
Quiz
•
9th - 12th Grade
15 questions
Lua Review Corona SDK with Notepad++
Quiz
•
10th - 12th Grade
20 questions
Informatika
Quiz
•
10th Grade
20 questions
Barcode
Quiz
•
1st - 10th Grade
12 questions
10 Клас Python tests
Quiz
•
10th Grade
16 questions
Python Basics
Quiz
•
KG - University
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
