Season 5 #Spaic Python Weekly Quiz

Quiz
•
Computers, Other
•
KG - Professional Development
•
Medium
ouhammouch hanane
Used 15+ times
FREE Resource
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
Similar Resources on Wayground
20 questions
Linux 3-4

Quiz
•
University
18 questions
ICT01: Introduction to MATLAB basics

Quiz
•
11th - 12th Grade
15 questions
Round 1 (Tech Utsav)

Quiz
•
University
15 questions
GENAP_UAS2025_KELAS XII RPL1_PBO

Quiz
•
12th Grade
15 questions
Numpy

Quiz
•
Professional Development
20 questions
pyplot in python class 12 (14/08/20)

Quiz
•
12th Grade
17 questions
PYTHON-QUIZ-2023

Quiz
•
University
23 questions
Quiz 7

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

Quiz
•
5th - 6th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade