
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
Similar Resources on Wayground
15 questions
Midterm Examination 1.1 (Software Design)

Quiz
•
University
20 questions
MCQs on Crime and Offence and tort- English

Quiz
•
University
11 questions
C Programming Challenge

Quiz
•
University
20 questions
Economics Quiz (4)

Quiz
•
University
10 questions
C++ Concepts Mastery

Quiz
•
University
10 questions
Elements of Economics Quiz

Quiz
•
University
11 questions
Programming 1.0

Quiz
•
University
15 questions
Exploring Functions and Graphs

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Others
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University