056. Extra Help

056. Extra Help

9th - 12th Grade

9 Qs

quiz-placeholder

Similar activities

Quiz 23-05-2021

Quiz 23-05-2021

12th Grade

10 Qs

APCSP CodeHS Python

APCSP CodeHS Python

10th - 12th Grade

12 Qs

CodeHS Fundamentals of CS Unit 8

CodeHS Fundamentals of CS Unit 8

10th - 12th Grade

12 Qs

GCSE Computing Flash Quiz

GCSE Computing Flash Quiz

10th - 11th Grade

12 Qs

Numpy 4 life

Numpy 4 life

9th - 12th Grade

10 Qs

Python Probstat B

Python Probstat B

12th Grade - University

7 Qs

Bubble Sort

Bubble Sort

1st Grade - Professional Development

13 Qs

Bubble Sort

Bubble Sort

10th Grade

8 Qs

056. Extra Help

056. Extra Help

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Robert Giordano

FREE Resource

9 questions

Show all answers

1.

DROPDOWN QUESTION

1 min • 1 pt

Media Image

Complete the import statement to get the retired_numbers list from the Datasets module.

from​ (a)   ​ import ​ (b)  

Datasets
retiredNums
letters
awesomeSet

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which module is the mean function in?

numpy

random

math

datetime

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which module do we import to use median?

numpy

random

data

matplotlib

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which 2 modules have a function to find the mode?

numpy

statistics

scipy

mode

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank to put the list in order

myList = [4, 5, 2, 8, 1, 9]

myList = myList.____

6.

DRAG AND DROP QUESTION

1 min • 1 pt

Complete the code to find the average (mean) of the list

import ​ (a)  

myList = [1, 3, 5, 2, 9, 6]

myList = myList.sort

average = ​ (b)   .​ (c)   (​ (d)   )

print(average)

numpy
mean
myList
statistics
scipy
math
median
mode

7.

DRAG AND DROP QUESTION

1 min • 1 pt

Complete the code to find the median of the list

import ​ (a)  

myList = [1, 3, 5, 2, 9, 6]

myList = myList.sort()

med = ​ (b)   .​ (c)   (​ (d)   )

print(med)

numpy
median
myList
scipy
statistics
math
mean
mode

8.

DRAG AND DROP QUESTION

1 min • 1 pt

Complete the code to find the mode of the list:

import ​ (a)  

myList = [1, 3, 5, 2, 9, 6, 3]

myList = myList.sort()

mode = ​ (b)   .​ (c)   (​ (d)   )

print(mode)

statistics
mode
myList
numpy
matplotlib
math
median
mean
sort

9.

DROPDOWN QUESTION

1 min • 1 pt

Complete the code to calculate the range of the dataset

myList = [1, 3, 5, 2, 9, 6]

myList = myList.sort()

min = myList[​ (a)   ]

max = myList[​ (b)   ]

range = ​ (c)   - ​ (d)  

print(range)

0
-1
max
min