
Py-ngo Workshop Quiz_GDSC
Quiz
•
Others
•
University
•
Hard
Shreya Khanna
Used 3+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find the output upon running this code
mango
cherry
litchi
banana
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
thislist = ["apple", "banana", "cherry", "orange", "kiwi”]
thislist[1:3] = ["blackcurrant", "watermelon"]
print(thislist)
Output for the following code is :
[‘blackcurrant’, ‘watermelon’, ‘cherry’, ‘orange’, ‘kiwi’]
["apple", "blackcurrant", "watermelon", "orange", "kiwi”]
["blackcurrant", "banana", "watermelon", "orange", "kiwi”]
["apple", "banana", "cherry", "orange", "kiwi”]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Statement1 : Lists are faster for accessing individual elements than arrays
Statement2: Array is faster when it comes to removing or adding elements than list
Both statements are true
1 is true, 2 is false
Both are false
2 is true, 1 is false
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is used to break out of a loop?
return
break
end
pass
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
str= “ I am 18 years old .\n I can vote.”
What is “\n” (backslash n) command used for ?
Create space in between words
Shift the text to next line
Remove the text
Delete the space in between two words
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blanks with the name of the appropriate module to get the output "6"
maths
math
mathematics
numpy
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find the output of the code
[50, 100, 150, 200, 1, 50, 5]
[50, 100, 150, 200, 1, 50, 5, 1, 50, 5]
[50, 100, 150, 200]
AttributeError
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
12 questions
Language Hub Intermediate B1+, Unit 10.2 - Grammar (Hopes and wishes)
Quiz
•
University
10 questions
Health communication and education
Quiz
•
University
10 questions
Models of Society Quiz
Quiz
•
University
10 questions
Anime Quiz set1
Quiz
•
University
10 questions
isis quiz
Quiz
•
University
10 questions
Nightmare by Malcom X Quiz
Quiz
•
University
20 questions
Trigonometry
Quiz
•
University
10 questions
Technology teaching learning Quiz
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Others
7 questions
Different Types of Energy
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
25 questions
Waves-8th Grade Physical Science
Quiz
•
KG - University
41 questions
Unit 8 Key Terms
Quiz
•
11th Grade - University
10 questions
Product & Quotient Derivative Rules
Quiz
•
University
5 questions
How to Calculate Force - Newton's 2nd Law of Motion
Interactive video
•
10th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
