BANA6620 Quiz 3 - Boolean, output

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/6

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:21 PM on 9/9/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

7 Terms

1
New cards

What is Boolean indexing?

Filtering an array using a condition


Example:

arr[arr>100]


Values greater than 100

2
New cards

What does arr > 2 do with a NumPy array?

Checks the condition element by element.


Produces Boolean results

3
New cards

How does NumPy display a simple array?

Square brackets + spaces


[1 2 3]

No commas

4
New cards

np.sum(arr)?

Total/Sum

5
New cards

np.min(arr) vs np.max(arr)?

Min → smallest

Max → largest

6
New cards

np.std(arr)?

Standard deviation

7
New cards

np.var(arr)?

Variance