price = 49
txt = "The price is {} dollars"
print(txt.format(price))
what is output ??
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
15 questions
Searching and Sorting
Quiz
•
University - Professi...
15 questions
Numpy
Quiz
•
University - Professi...
16 questions
Think it through
Quiz
•
University - Professi...
20 questions
Data Structure
Quiz
•
Professional Development
18 questions
CC 102-Computer Programming I
Quiz
•
Professional Development
20 questions
Examen de Python
Quiz
•
Professional Development
20 questions
Quiz on Machine Learning & Applications
Quiz
•
Professional Development
15 questions
Linked List
Quiz
•
Professional Development
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers
Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade