
Python set 2
Authored by ESPARK 2023
Other
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following functions is a built-in function in python?
sqrt()
factorial()
print()
seed()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does pip stand for python?
Preferred Installer Program
Pip Installs Python
Pip Installs Packages
All of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following functions can help us to find the version of python that we are currently working on?
sys.version[]
sys.version(1)
sys.version(0)
sys.version
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
set1 = {1, 3, 5}
set2 = {2, 4, 6}
print(len(set1 + set2))
error
6
3
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
s1 = {1, 2, 3, 4, 5}
s2 = {2, 4, 6}
print(s1 ^ s2)
{1,2,3,4,5}
{2,4}
{1,3,5,6}
{1,6,5,7}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet?
A) 0 1 0
B) 0 1 2
C) 0 1 StopIteration
D) None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet ?
A) 2 3
B) 1 2
C) error
D) None of the above
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
10 questions
17 course French classical menu 01
Quiz
•
University
10 questions
اسئلة عامة
Quiz
•
University - Professi...
10 questions
Nutrición y dietoterapia 5to semestre HITO 2
Quiz
•
University
14 questions
Brawl Stars
Quiz
•
KG - Professional Dev...
12 questions
Alberta Natural Resources #2
Quiz
•
KG - University
10 questions
RH MAS level2
Quiz
•
KG - Professional Dev...
13 questions
Accounting 100
Quiz
•
University
10 questions
Competencias Ciudadanas
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University