
Unit 7 Strings Python

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
MANAL FAWAZ
Used 89+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
16 questions
Python Beginner

Quiz
•
9th - 10th Grade
14 questions
String Manipulation and Validation

Quiz
•
10th Grade
15 questions
Hangman Game - Programming Questions

Quiz
•
7th - 11th Grade
22 questions
Strings in python -1

Quiz
•
11th Grade
20 questions
Python year 9

Quiz
•
8th - 11th Grade
20 questions
LETS PLAY QUIZ - PYTHON CBSE CLASS XII

Quiz
•
11th - 12th Grade
15 questions
Quiz on String

Quiz
•
12th Grade
20 questions
String Data Type(Python)

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University