
String Manipulation in Python RK Quiz 7

Quiz
•
Computers
•
11th Grade
•
Medium
Reshma Kamthe
Used 7+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output when the following Python code is executed?
a = 3
b = '5'
c = '2'
print(a * b + c)
17
352
5552
Error message
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the content of variable c after the following Python code is executed?
a = 34
b = 0.56 - 7.5j
c = a + b
34.56
34.56 - 7.5j
27.06
Error message
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following Python code?
print('Hello' + "world!")
Helloworld!
Hello world!
'Hello' "world!"
Error message
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What are the names of the two types of mode that are used in Python? Select two.
Interactive mode
Scratch mode
Imperial mode
Script mode
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code?
a=[1,2,3]
b=a.append(4)
print(a)
print(b)
[1,2,3,4]
[1,2,3,4]
[1, 2, 3, 4]
None
Syntax error
[1,2,3]
[1,2,3,4]
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the code given below?
message="welcome to Mysore"
word=message[-7:]
if(word=="mysore"):
print("got it")
else:
message=message[3:14]
print(message)
got it
lcome to Myso
lcome to Mys
come to Myso
come to Mys
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
Semester Final 2025

Quiz
•
10th Grade - University
38 questions
Python Fundamentals Concept Checkup

Quiz
•
9th Grade - University
39 questions
Ulangkaji ASK T2 Bab 3.2 Struktur Kod Arahan

Quiz
•
1st - 12th Grade
40 questions
Asesmen Lingkup Materi (PTS) Ganjil XI

Quiz
•
11th Grade
40 questions
ASAS SAINS KOMPUTER T2 [ULANGKAJI]

Quiz
•
1st Grade - University
40 questions
Python - Lists, Dictionaries and Loops

Quiz
•
9th - 12th Grade
45 questions
STRINGS

Quiz
•
11th Grade
41 questions
Midterm prep 7th

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

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade