
PWC_Python_Day2
Quiz
•
Professional Development
•
Professional Development
•
Practice Problem
•
Hard
CloudThat Technologies
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will be the output of the following Python code?
[1, 4]
[1, 3, 4]
[4, 3]
[1,3]
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will be the output of the following Python code?
[1,2,3,4]
[1,2,3,4]
[1,2,3]
[1,2,3,4]
[1, 2, 3, 4]
None
Syntax error
3.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Which of the following is a Python tuple?
{1, 2, 3}
{}
[1, 2, 3]
(1, 2, 3)
4.
MULTIPLE SELECT QUESTION
45 sec • 5 pts
Select all the correct options to join two lists in Python
list1 = ['a', 'b', 'c', 'd']
list2 = ['e', 'f', 'g']
list1+list2
extend(list1,list2)
list1.extend(list2)
newlist.extend(list1,list2)
5.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Consider the dictionary
d= {‘foo’:100, ‘bar’:200, ‘baz’:300}
What is the result of the statement?
d[‘bar’ : ’baz’]
(200,300)
It raises an exception
[200,300]
200 300
6.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
What is the type of the following variable?
aTuple=("Orange")
print(type(aTuple))
List
Tuple
Array
Str
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will be output of the following code?
a=20
a=10
Syntax Error
Value Error
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
12 questions
Elevating Customer Experience
Quiz
•
Professional Development
10 questions
EFFECTIVE COMMUNICATION IN THE SHOPFLOOR
Quiz
•
Professional Development
15 questions
Google cloud introductory quiz GCP-CE 1
Quiz
•
University - Professi...
10 questions
DES new quiz
Quiz
•
Professional Development
10 questions
Business center May 1
Quiz
•
Professional Development
10 questions
EduProtocols & ChatGPT
Quiz
•
Professional Development
10 questions
Cycle 2: Session 1 Review.
Quiz
•
Professional Development
12 questions
K 3 APAR
Quiz
•
Professional Development
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
