Quiz 4.1

Quiz
•
Computers
•
Professional Development
•
Hard
Mohand Mahmoud
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
price = 49
txt = "The price is {} dollars"
print(txt.format(price))
what is output ??
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import numpy as np
arr = np.array([1, 2, 3, 4, 5])
print(arr)
(1 2 3 4 5)
[1 2 3 4 5]
1 2 3 4 5
{1 2 3 4 5}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import numpy as np
arr = np.array([1, 2, 3, 4, 5])
print(arr)
print(type(arr))
array
tuple
list
all choices is wrong
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
import numpy as np
d = np.array([[[1, 2, 3], [4, 5, 6]], [[1, 2, 3], [4, 5, 6]]])
print(d.ndim)
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
import numpy as np
arr = np.array([[[1, 2, 3], [4, 5, 6]], [[7, 8, 9], [10, 11, 12]]])
print(arr[-1, 0, -2])
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
import numpy as np
arr = np.array([[1,2,3,4,5], [6,7,8,9,10]])
print(arr[-2, -5] arr[0, 0] arr[1, 1])
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import numpy as np
arr = np.array([1, 2, 3, 4, 5, 6, 7])
print(arr[3:5])
[3 4 5]
[3:5]
[4,5]
all choices is wrong
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Quiz on Machine Learning & Applications

Quiz
•
Professional Development
20 questions
Season 5 #Spaic Python Weekly Quiz

Quiz
•
KG - Professional Dev...
20 questions
Sorting - IV year

Quiz
•
Professional Development
15 questions
Numpy

Quiz
•
University - Professi...
16 questions
Examen de Numpy y Pandas

Quiz
•
Professional Development
20 questions
Module 2 Quiz Preparation

Quiz
•
Professional Development
18 questions
CC 102-Computer Programming I

Quiz
•
Professional Development
20 questions
Examen de Python

Quiz
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade