
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
14 questions
Bài 29. Nhận biết lỗi chương trình
Quiz
•
9th - 12th Grade
21 questions
Lecture Exercise Topic 1.3
Quiz
•
12th Grade
20 questions
Software
Quiz
•
10th Grade
17 questions
Data Structures: 1D,2D & List
Quiz
•
11th Grade
15 questions
Chapter 8 by PD
Quiz
•
10th Grade
15 questions
Информатика
Quiz
•
9th - 11th Grade
20 questions
Bài TX1 - HK2 - Tin học 11
Quiz
•
11th Grade
20 questions
BÀI 24-25 TIN 10
Quiz
•
10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th 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
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
