
Quiz - Python Programming - Rajendra
Quiz
•
Other
•
Professional Development
•
Hard
Thinkwright Learning
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following code :
L = ['a','b','c','d']
print "".join(L)
Error
None
abcd
[‘a’,’b’,’c’,’d’]
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Suppose list1 is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after list1.pop(1)?
[3, 4, 5, 20, 5, 25, 1, 3]
[1, 3, 3, 4, 5, 5, 20, 25]
[3, 5, 20, 5, 25, 1, 3]
[1, 3, 4, 5, 20, 5, 25]
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following code :
print "Hello World"[::-1]
dlroW olleH
Hello Worl
d
Error
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Given a string s = “Welcome”, which of the following code is incorrect?
print(s[0])
print(s.lower())
s[1] = ‘r’
print(s.strip())
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following program :
print("Hello World"[::-1])
dlroW olleH
Hello Worl
d
Error
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following code :
x = ['ab', 'cd']
for i in x:
i.upper()
print(x)
['ab', 'cd']
Error
No output
None of above
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following code :
for i in [1, 2, 3, 4][::-1]:
print(i)
1 2 3 4
4 3 2 1
Error
None of the above
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
10 questions
Que es acoso y como reportarlo?
Quiz
•
Professional Development
9 questions
Inducciones 2024
Quiz
•
Professional Development
15 questions
Emotions? Related to mental health?
Quiz
•
1st Grade - Professio...
11 questions
Заманауи аспаздық өңірдегі жаңа инновациялық бағыттар
Quiz
•
Professional Development
15 questions
Tata Naskah Dinas Pemda
Quiz
•
Professional Development
13 questions
Covid-19 Compliance
Quiz
•
Professional Development
10 questions
Introduction to Management
Quiz
•
University - Professi...
10 questions
Học phần 4 - Thực hành tư duy tích cực trong tương tác trực tuyế
Quiz
•
KG - Professional Dev...
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 Other
10 questions
Halloween
Quiz
•
Professional Development
16 questions
Spooky Season Quiz
Quiz
•
Professional Development
5 questions
11.4.25 Student Engagement & Discourse
Lesson
•
Professional Development
50 questions
ASL Colors and Clothes
Quiz
•
KG - Professional Dev...
15 questions
Ohms Law
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
