What is a string?
Quiz on String

Quiz
•
Computers
•
12th Grade
•
Hard
Karma Phuntsho
Used 23+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A type that represents whole numbers.
Sequences of characters enclosed in a quotation marks
A combination of variables, operators, and values
Int, float and complex
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following is NOT a string?
a = "12345"
b = Thimphu
c = "Bhutan"
d = 'Thimphu, Bhutan'
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Fill in the blank with correct operator to concatenate(join) two strings.
a = "Thimphu "
b = "Bhutan"
c = a _ b
print(c)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements contain valid Python string literals?
a = "1234"
b = Bhutan
c = 'We're #1!'
d = Hello, World
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What’s the value of z after this code snippet executes?
x = "YHSS"
y = "2021"
z = x+y
print(z)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Guess the correct output of the following String operations:
x = "Welcome"
print(x*2)
WelcomeWelcome
Welcome Welcome
Welcome * 2
Error
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the index of the last character?
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Python Boolean and If

Quiz
•
9th - 12th Grade
17 questions
SST Yr8 - NCCE - Programming 2

Quiz
•
9th - 12th Grade
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
20 questions
Python Basics (CodeHS)

Quiz
•
7th - 12th Grade
15 questions
Python Revision Tour - I

Quiz
•
12th Grade
15 questions
Python and Algorithms

Quiz
•
12th Grade
12 questions
week 1 basic java coding language

Quiz
•
9th - 12th Grade
20 questions
Python Basics Review (TSK)

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade