
String Manipulation in Python RK Quiz 7
Authored by Reshma Kamthe
Computers
11th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
changing the value of a variable
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
40 questions
WJEC ICT Unit 3 Mock Revision
Quiz
•
10th - 11th Grade
38 questions
Input Output devices - a lesson
Quiz
•
1st Grade - University
40 questions
C++ Programming
Quiz
•
9th - 12th Grade
44 questions
AP CSP - Unit 4 Code.org Review
Quiz
•
9th - 12th Grade
45 questions
Computer Hardware and Software Review
Quiz
•
KG - University
35 questions
Latihan PAS AIJ
Quiz
•
11th Grade
35 questions
CompTIA ITF+ Test 2-2
Quiz
•
10th - 12th Grade
45 questions
Davinci Resolve 17 Fusion 101
Quiz
•
11th Grade - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade