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
15 questions
Progamming - Java Syntax

Quiz
•
11th - 12th Grade
10 questions
STRING MANIPULATION (PYTHON)

Quiz
•
11th - 12th Grade
15 questions
Python Programming 1: print, strings, variables, casting

Quiz
•
9th Grade - University
10 questions
Python Boolean and If

Quiz
•
9th - 12th Grade
18 questions
AP CSA U1L01-03

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

Quiz
•
9th - 12th Grade
15 questions
PYTHON PROGRAMMING

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

Quiz
•
11th - 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