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
15 questions
FITB

Quiz
•
Professional Development
20 questions
Soal HTML, CSS, dan JavaScript Basic

Quiz
•
Professional Development
21 questions
БимБам♥

Quiz
•
Professional Development
25 questions
Java Basics

Quiz
•
Professional Development
15 questions
24/01/2024

Quiz
•
Professional Development
15 questions
JS

Quiz
•
Professional Development
15 questions
DOT NET-SET1

Quiz
•
Professional Development
20 questions
What is this node?

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development