
Python-set
Authored by jency joseph
Professional Development
University
Used 1+ 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.
FILL IN THE BLANKS QUESTION
30 sec • 1 pt
What will be the Output of the Code
(a)
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which ways can you use for an HTML file?
.hml
.html
.tml
.htm
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
TAB=
1 space
2 spaces
3 spaces
4 spaces
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
18. What will be the output of this?
A=np.array([5,4,3,2,1])
B=np.array([4,8,9,10,1])
np.setdiff1d(a,b)
Array([2,3,5])
Array([8,9,10])
Syntax error
Array([4,1])
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
valueOne = 5 ** 2
valueTwo = 5 ** 3
print(valueOne)
print(valueTwo)
10 15
25 125
Error: invalid syntax
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements create a dictionary?
a) d = {}
b) d = {“john”:40, “peter”:45}
c) d = {40:”john”, 45:”peter”}
d) All of the mentioned
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The program above prints the sum of
all odd numbers less than 100
all even numbers less than 100
all numbers less than 100
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?