Simple Python Quiz
Quiz
•
Professional Development
•
Professional Development
•
Practice Problem
•
Hard
Amba Amba
Used 5+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does 'distplot' in the below code stands for?
seaborn.distplot()
Disturbed Plot
Distanced Plot
Distributed plot
I don't know,Sorry
None of the choices
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following ways can be used to create a dictionary using the dict() function?
dict(('a',1),('b',2),('c',6.4))
dict('a'=1,'b'2,'c'=3)
dict([('a',1),('b',2),('c',6.4)])
All the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can you guess the output of below code?
for i in enumerate(['a','t','o']):
print(i,end=" ")
[1, 'a'] [2, 't'] [3, 'o']
(0, 'a') (1, 't') (2, 'o')
(1, 'a') (2, 't') (3, 'o')
[0, 'a'] [1, 't'] [2, 'o']
Error in code
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the below gives an empty list?
list(range(1,2))
list(range(4,0,-1))
list(range(-2,0,5))
list(range(2,9,-2))
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Choose 2 facts about list and tuples in Python
(Select two options)
Lists are slower than tuples
Lists are faster than tuples
Tuples are faster than list
Tuples are slower than list
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
By which program python was interpreted?
Python Compiler
Python Interpreter
None of the Above
Python CLI
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose list1 is [2, 33, 222, 14, 25], What is list1[-1] ?
14
2
33
25
Error
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
Already have an account?
Similar Resources on Wayground
15 questions
Pre Test Basic Modul 3 Jam
Quiz
•
Professional Development
20 questions
Day #4 : Komponen Pengurang Gaji Karyawan
Quiz
•
Professional Development
20 questions
TEST PRODUK KNOWLEDGE SPG&MD LARGE BULAN JANUARI 2024
Quiz
•
Professional Development
10 questions
Training Honda CUV e & Icon e Honda Banten
Quiz
•
Professional Development
15 questions
Pre-post Test Penyusunan KOSP dan Berbagi Praktik Baik
Quiz
•
Professional Development
10 questions
POST TEST NEW PARADIGM
Quiz
•
Professional Development
10 questions
FLSP-Great Giant Foods 2023
Quiz
•
Professional Development
14 questions
Poshan Abhiyaan : ILA - Module 13
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
