
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 Wayground
20 questions
Một số lệnh làm việc với xâu kí tự

Quiz
•
10th Grade
20 questions
Python Sem. Review P1

Quiz
•
11th Grade
20 questions
Programming Quiz 4

Quiz
•
9th - 10th Grade
13 questions
Programming Quiz 2

Quiz
•
11th Grade
13 questions
Python Level 1 Quiz

Quiz
•
10th - 11th Grade
15 questions
PCEP Section 1A: Understand fundamental terms and definitions

Quiz
•
12th Grade
20 questions
Python Programming Quiz

Quiz
•
9th Grade - University
13 questions
Python Recap Challenge

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade