Season 5 #Spaic Python Weekly Quiz
Quiz
•
Computers, Other
•
KG - Professional Development
•
Practice Problem
•
Medium
ouhammouch hanane
Used 15+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to create an array using Numpy for this list (np.nan as the first element, and the next element are integers from 2 to 5)
array(np.nan,2,3,4,5)
array([np.nan,2,3,4,5])
np.array([np.nan,2,3,4,5])
All the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To create c copy of an array a = np.array([0, 1])
in Numpy
c = a
c = a.copy()
All the above
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
How to create an array using Numpy for a list from 0 to 4
arr=np.array([0,1,2,3,4])
arr = np.arange(5)
arr = np.arange(0, 5, 1)
arr=np.array(0,1,2,3,4)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to specifie the number of element to return in an array using NumPy
np.linspace(a, b, num=c)
np.array(a, b, num=c)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To transpose the value of an array in Numpy (arr = np.arange(8)) we can use (transposed = np.transpose(arr))
True
False
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
How to create an array of 5 elements, all of which are 0/1 in Numpy
np.zeros(5) / np.ones(5)
np.array([0,0,0,0,0] )/ np.array([1,1,1,1,1])
np.arange(0)/np.arange(1)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the arange function do in Numpy?
Returns a 1-D array of numbers based on a a given range and interval
Returns a random array
Squares each value of an array
Returns the largest element of an array
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Pri 6 Imad Term 3 Quiz
Quiz
•
6th Grade
19 questions
UNIT 1.2 MEMORY
Quiz
•
10th Grade
16 questions
Writing recipes 1
Quiz
•
3rd - 7th Grade
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
18 questions
Memory-Mobo-Hard/Software
Quiz
•
University
15 questions
TQM Four Pillar
Quiz
•
12th Grade
20 questions
Christmas Quiz
Quiz
•
1st - 12th Grade
15 questions
Practice for Test Unit 10 Expressions and Equations
Quiz
•
5th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Company Logos
Quiz
•
6th - 8th Grade
13 questions
PowerPoint Basics
Quiz
•
6th - 8th Grade
10 questions
App Creators Lesson 2.1-2.4
Quiz
•
8th Grade
10 questions
Exploring Computer Science Careers and Subfields
Interactive video
•
6th - 10th Grade
15 questions
AP CSP Unit 4
Quiz
•
10th - 12th Grade
45 questions
Cybersecurity Quiz
Quiz
•
12th Grade
23 questions
Prog 1 Python Q1 Practice
Quiz
•
9th - 12th Grade
20 questions
logo quiz
Quiz
•
3rd Grade
