SNHU MAT 243 (Applied Statistics for
STEM) QUIZ ONE
If P(A)=0.07692, P(B)=0.25, and =0.01923, what is to four decimal places? Select one.
Question options:
0.3269
0.2516
0.3462
0.3077 - ANS-0.3077
Which Python module is used to create graphs? Select one.
Question options:
numpy or math
matplotlib or seaborn
pandas or time
pandas or numpy - ANS-matplotlib or seaborn
A and B are mutually exclusive events. If P(A)=0.07692 and P(B)=0.25, what is the
probability to four decimal places? Select one.
0.1731
0.0769
0.2500
0.3269 - ANS-0.3269
Which of the following Python lines will import data from a CSV file called
"unemployment" into a Python dataframe called "unemployment"? Select all that apply.
Question options:
import pandasunemployment = pandas.read_csv('unemployment.csv')
import numpyunemployment = numpy.read_csv('unemployment.csv')
import pandas as pdunemployment = pd.read_csv('unemployment.csv') - ANS-import
pandasunemployment = pandas.read_csv('unemployment.csv')
import pandas as pdunemployment = pd.read_csv('unemployment.csv')
Which of the following Python lines returns subset data for only the variables "survived"
and "age" from a dataframe called "titanic"? Select one.
STEM) QUIZ ONE
If P(A)=0.07692, P(B)=0.25, and =0.01923, what is to four decimal places? Select one.
Question options:
0.3269
0.2516
0.3462
0.3077 - ANS-0.3077
Which Python module is used to create graphs? Select one.
Question options:
numpy or math
matplotlib or seaborn
pandas or time
pandas or numpy - ANS-matplotlib or seaborn
A and B are mutually exclusive events. If P(A)=0.07692 and P(B)=0.25, what is the
probability to four decimal places? Select one.
0.1731
0.0769
0.2500
0.3269 - ANS-0.3269
Which of the following Python lines will import data from a CSV file called
"unemployment" into a Python dataframe called "unemployment"? Select all that apply.
Question options:
import pandasunemployment = pandas.read_csv('unemployment.csv')
import numpyunemployment = numpy.read_csv('unemployment.csv')
import pandas as pdunemployment = pd.read_csv('unemployment.csv') - ANS-import
pandasunemployment = pandas.read_csv('unemployment.csv')
import pandas as pdunemployment = pd.read_csv('unemployment.csv')
Which of the following Python lines returns subset data for only the variables "survived"
and "age" from a dataframe called "titanic"? Select one.