
PYTHON(28.07.2023)
Authored by Anandhi Technology
Computers
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to create an identity matrix in NumPy?
zeros()
ones()
arange()
eye()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
import numpy as np
a = np.array([[1, 2], [3, 4]])
print((a).ndim)
0
1
2
3
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following code?
import numpy as np
a = np.array([1, 2, 3])
b = np.array([4, 5, 6])
c = np.concatenate((a, b))
print(c)
[[1, 2, 3], [4, 5, 6]]
[[1, 4], [2, 5], [3, 6]]
[1, 2, 3, 4, 5, 6]
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import numpy as np
a = np.array([(10,20,30)])
print(a.itemsize)
import numpy as np
a = np.array([(10,20,30)])
print(a.itemsize)2
4
3
6
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is correctly evaluated for this function?
pow(x,y,z)
(x**y) / z
(x / y) * z
(x**y) % z
(x / y) / z
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"pythoncode"[6:]
What will be the output of this code?
python
code
pythoncode
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
11 questions
Co już wiemy ? Python
Quiz
•
12th Grade - Professi...
10 questions
Bài 4 - Định dạng File và Layer trong Photoshop
Quiz
•
Professional Development
10 questions
Asas Google Classroom 1 (KPM Malaysia)
Quiz
•
Professional Development
10 questions
Systemy operacyjne
Quiz
•
6th Grade - Professio...
10 questions
C++ quiz
Quiz
•
10th Grade - Professi...
10 questions
Intro to Node.js
Quiz
•
Professional Development
10 questions
Friday Fun
Quiz
•
Professional Development
10 questions
Basic of Computer
Quiz
•
University - Professi...
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 Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...