What will be the Output of the Code

Python-set

Quiz
•
Professional Development
•
University
•
Hard
jency joseph
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
11 questions
TA Theory 大挑戰

Quiz
•
University
10 questions
JavasCript

Quiz
•
1st Grade - University
5 questions
Python - Numpy Quiz 1

Quiz
•
University - Professi...
10 questions
PHP BASIC

Quiz
•
University
10 questions
Arrays - 2D

Quiz
•
University
10 questions
Diagnostic Quiz

Quiz
•
University - Professi...
15 questions
Nowe technologie w edukacji

Quiz
•
University
6 questions
Prueba diagnostica Programacion Competitiva

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade