[Python For All] Quiz 2 - Rewind.py
Quiz
•
Computers
•
University
•
Medium
Karunya Hacks
Used 9+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Guess the correct output of the following program:
str1="6/4"
print("str1")
6/4
1
str1
1.5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of below Python code?
str1="Information"
print(str1[2:8])
format
ormat
formatio
orma
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What arithmetic operators cannot be used with strings?
+
*
-
All of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the following code print?
Mali = 5
print("Mali" + " is " + str(Mali))
Mali is 5
Mali is Mali
5 is Mali
5 is 5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will following Python code return?
str1="Stack of books"
print(len(str1))
13
14
15
16
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following
aList = [5, 10, 15, 25]
print(aList[::-2])
[15, 10, 5]
[10, 5]
[25, 10]
[2, 25, 15]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find the Output
joinList = “Welcome,to,Python”
List = joinList.split(‘,’)
print(List)
[‘WelcometoPython’]
[‘Welcome’, ‘to’, ‘Python’]
Error
[‘Welcome’]
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
16 questions
Python
Quiz
•
University
20 questions
COMANDO DEL SISTEMA OPERATICO, DOS
Quiz
•
University
16 questions
Principles of Information Technology
Quiz
•
9th Grade - University
15 questions
Algoritma
Quiz
•
6th Grade - University
17 questions
ALGORITMA
Quiz
•
8th Grade - University
20 questions
Kiến thức về phần mềm soạn thảo
Quiz
•
6th Grade - University
22 questions
AIS160 Computing Components
Quiz
•
University
20 questions
CSE493_QUIZ 1
Quiz
•
University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
