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
(R) Java Fundamentals

Quiz
•
Professional Development
20 questions
C Programming Quiz

Quiz
•
Professional Development
21 questions
Java Quiz on Module 1 & 2

Quiz
•
Professional Development
18 questions
C Language

Quiz
•
Professional Development
25 questions
#100 Devs - LwL - class 15

Quiz
•
10th Grade - Professi...
15 questions
Interrupt-13

Quiz
•
Professional Development
15 questions
Numpy

Quiz
•
University - Professi...
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