Question Bank of Quiz - Retest
Question Bank of Quiz - Retest
[ ] Temperature in Celsius
[ ] arr.resize(3,4)
[ ] arr.reshape(3,4)
[ ] arr.reshape((3,4))
[ ] arr.shape(3,4)
[ ] np.range(1,10)
[ ] np.arange(1,11)
[ ] np.linspace(1,10)
[ ] np.list(1,10)
4) The normal distribution is:
Answer by ticking the correct answers
[ ] Skewed left
[ ] Uniformly distributed
[ ] Bimodal
[ ] Normal
[ ] Skewed
[ ] Bimodal
[ ] Unimodal
[ ] Bimodal
[ ] Multimodal
[ ] Nonmodal
7) The mode represents:
Answer by ticking the correct answers
[ ] Different
[ ] Equal
[ ] Random
[ ] Always zero
[ ] geom_histogram()
[ ] geom_col()
[ ] geom_bar()
[ ] geom_density()
[ ] Hello
[ ] FALSE
[ ] NULL
[ ] No output
[ ] geom_bar()
[ ] geom_line()
[ ] geom_histogram()
[ ] geom_col()
13) A null hypothesis is:
Answer by ticking the correct answers
[ ] Always true
[ ] Randomly chosen
[ ] while(TRUE) { ... }
[ ] repeat { ... }
[ ] scale
[ ] clustering
[ ] hclustfun
[ ] col
16) What does np.array([1, 2, 3]) return?
Answer by ticking the correct answers
[ ] A list
[ ] A NumPy array
[ ] A tuple
[ ] A dictionary
[ ] Box plot
[ ] Line plot
[ ] Histogram
[ ] Scatter plot
[ ] No error is made
19) In ggplot2, how do you convert a bar chart into a pie chart?
Answer by ticking the correct answers
[ ] Use geom_pie()
[ ] Apply facet_wrap()
[ ] Histogram
[ ] Scatter plot
[ ] Bar chart
[ ] Pie chart
21)
[ ] Continuous
[ ] Nominal
[ ] Discrete
[ ] Ordinal
[ ] Pie chart
[ ] Histogram
[ ] Box plot
23) If you want to visualize the proportion of missing values in a
dataset, which type of plot is most useful?
Answer by ticking the correct answers
[ ] Bar chart
[ ] Heatmap
[ ] Histogram
[ ] Line plot
[ ] Discrete data
[ ] Continuous data
[ ] Nominal data
[ ] Ordinal data
[ ] sns.barplot()
[ ] sns.countplot()
[ ] sns.scatterplot()
[ ] Both a) and b)
26) How do you generate a random number between 0 and 1 in
NumPy?
Answer by ticking the correct answers
[ ] np.random.rand()
[ ] np.random.random(10,15)
[ ] np.random.randint(0,1)
[ ] None
[ ] Histogram
[ ] Bar Chart
[ ] Line Plot
[ ] Scatter Plot
[ ] Heatmap
[ ] Pie Chart
[ ] Line Plot
[ ] Histogram
29) How do you add a legend to a Matplotlib plot?
Answer by ticking the correct answers
[ ] plt.legend()
[ ] plt.add_legend()
[ ] plt.show_legend()
[ ] plt.make_legend()
[ ] sns.violinplot()
[ ] sns.boxplot()
[ ] sns.stripplot()
[ ] sns.scatterplot()
[ ] df.dropna()
[ ] df.fillna()
[ ] df.remove_na()
[ ] df.dropna(axis=1)
32) What does sns.pairplot(df) do?
Answer by ticking the correct answers
[ ] Draws a heatmap
[ ] sns.set_palette("pastel")
[ ] sns.set_theme("colorful")
[ ] sns.color_map("red")
[ ] sns.set_color("blue")
[ ] Line Chart
[ ] Bar Chart
[ ] Pie Chart
[ ] Scatter Plot
35) How do you generate a random integer between 10 and 100?
Answer by ticking the correct answers
[ ] np.random.randint(10,100)
[ ] np.random.random(10,100)
[ ] np.random.uniform(10,100)
[ ] np.random.normal(10,100)
[ ] Adds a title
[ ] Adds a legend
[ ] sns.heatmap()
[ ] sns.correlationplot()
[ ] sns.matrixplot()
[ ] sns.gridplot()
38) What argument is used to change the line color in plt.plot()?
Answer by ticking the correct answers
[ ] color
[ ] fill
[ ] linecolor
[ ] shade
[ ] sns.histplot()
[ ] sns.distplot()
[ ] sns.barplot()
[ ] sns.scatterplot()
[ ] df.index_reset()
[ ] df.reindex()
[ ] df.reset_index()
[ ] df.drop_index()
[ ] sns.datasets.load_dataset()
[ ] sns.load_dataset()
[ ] sns.get_data()
[ ] sns.read_data()
[ ] alpha
[ ] color
[ ] size
[ ] linetype
44) In base R, what function is used to create multiple box plots in
one plot?
Answer by ticking the correct answers
[ ] plot.boxplot()
[ ] multi.boxplot()
[ ] Box plots
[ ] Correlation values
[ ] Scatter plots
[ ] Heatmap
[ ] Line chart
[ ] Scatter plot
[ ] Bar chart
47) How do you select a single column from a Pandas DataFrame?
Answer by ticking the correct answers
[ ] df.column_name
[ ] df['column_name']
[ ] df.column['name']
[ ] df[[column_name]]
[ ] df.head()
[ ] df.first()
[ ] df.display()
[ ] df.show()
[ ] size
[ ] pointsize
[ ] width
[ ] alpha
50) Which chart is best suited for showing trends over time?
Answer by ticking the correct answers
[ ] Histogram
[ ] Line plot
[ ] Pie chart
[ ] Box plot
[ ] barplot()
[ ] pie()
[ ] hist()
[ ] plot()
[ ] barplot()
[ ] hist()
[ ] plot()
[ ] pie()
53)
paste("Hello,", name)
greet()
[ ] Error
[ ] Hello, Guest
[ ] Null
[ ] Guest
54)
add(3, 5)
[ ]8
[ ] 15
[ ] Error
[ ]3
[ ] ifelse()
[ ] switch()
[ ] case_when()
[ ] else
[ ] 15
[ ] 18
[ ] 21
[ ] 27
57) What is the data type of c(TRUE, FALSE, TRUE)?
Answer by ticking the correct answers
[ ] Numeric
[ ] Logical
[ ] Character
[ ] Complex
[ ] sns.kdeplot()
[ ] sns.histplot()
[ ] sns.densityplot()
[ ] sns.scatterplot()
60) What function returns the shape of a NumPy array?
Answer by ticking the correct answers
[ ] shape()
[ ] arr.shape
[ ] arr.size
[ ] arr.dimension
[ ] geom_density()
[ ] geom_histogram()
[ ] geom_boxplot()
[ ] geom_col()
63) Which function is used in ggplot2 for bar charts?
Answer by ticking the correct answers
[ ] geom_bar()
[ ] geom_point()
[ ] geom_line()
[ ] geom_histogram()
[ ] Returns nothing
[ ] Assigns a value
[ ] as.numeric()
[ ] as.character()
[ ] as.logical()
[ ] as.vector()
[ ] np.zeros()
[ ] np.ones()
[ ] np.empty()
[ ] np.full()
69) What is the correct syntax for a for loop in R?
Answer by ticking the correct answers
[ ] for i in range(1:5):
[ ] for i from 1 to 5:
[ ] Mean
[ ] Median
[ ] Mode
[ ] Interquartile range
[ ] hist()
[ ] boxplot()
[ ] barplot()
[ ] density()
72) Which is not a measure of central tendency?
Answer by ticking the correct answers
[ ] Mean
[ ] Median
[ ] Mode
[ ] Standard deviation
[ ] No relationship in data
[ ] A sample statistic
[ ]1
[ ]2
[ ]3
[ ]4
[ ] 0.5
[ ]1
[ ]2
[ ] 10
78) The standard normal distribution has a mean of:
Answer by ticking the correct answers
[ ]1
[ ]0
[ ] -1
[ ] Undefined
[ ] 50%
[ ] 68%
[ ] 95%
[ ] 99%
[ ] Standard deviation
[ ] Range
[ ] Variance
[ ] Nominal data
[ ] Ordinal data
[ ] Interval data
[ ] Continuous data
[ ] Range
[ ] Interquartile range
[ ] Standard deviation
[ ] Median
84) If the mean of 10 numbers is 15, the sum of the numbers is:
Answer by ticking the correct answers
[ ] 150
[ ] 15
[ ] 10
[ ] 100
[ ] Cloud storage
[ ] Web hosting
[ ] File management
[ ] Python and R
[ ] Watson Assistant
[ ] Data Refinery
[ ] Watson Discovery
[ ] AutoAI
88) IBM Watson Studio uses which popular Python libraries for
visualization?
Answer by ticking the correct answers
89) What is the primary advantage of using IBM Watson for data
visualization?
Answer by ticking the correct answers
[ ] Bar Chart
[ ] Line Chart
[ ] Pie Chart
[ ] Scatter Plot
[ ] Histogram
[ ] Pie Chart
[ ] Box Plot
[ ] Both a and c
[ ] Bar Chart
[ ] Scatter Plot
[ ] Heatmap
[ ] Violin Plot
93) Which type of visualization is best for showing relationships
between two continuous variables?
Answer by ticking the correct answers
[ ] Scatter Plot
[ ] Pie Chart
[ ] Bar Graph
[ ] Treemap
95) IBM Watson Studio can integrate data from which sources?
Answer by ticking the correct answers
[ ] Cloud databases
97) IBM Watson can suggest the best visualization type based on:
Answer by ticking the correct answers
[ ] Random selection
[ ] Pre-defined templates
[ ] Box Plot
[ ] Pie Chart
[ ] Line Chart
[ ] Area Chart
[ ] Watson Assistant
[ ] Data Refinery
[ ] AutoML