Data Science 150 MCQ
Data Science 150 MCQ
a) Number Python
b) Numeric Python
c) Numerical Python
d) Numbers Package
---
---
22. What happens when you add two arrays of same shape?
a) Concatenation
b) Element-wise addition
c) Merging
d) Error
---
---
---
---
---
---
---
---
23. Which parameter is used to set the resolution (dots per inch) of the figure?
a) dpi
b) resolution
c) dots_per_inch
d) res
27. Which function is used to set custom tick labels on the x-axis?
a) xticklabels()
b) set_xticklabels()
c) x_ticklabels()
d) ticks_x_labels()
28. Which function is used to set custom tick labels on the y-axis?
a) yticklabels()
b) set_yticklabels()
c) y_ticklabels()
d) ticks_y_labels()
29. Which function is used to change the font size of plot elements?
a) fontsize
b) font_size
c) set_fontsize()
d) font.size
30. Which function is used to change the font family of plot elements?
a) fontfamily
b) font_family
c) set_fontfamily()
d) font.family
---
31. Which function is used to create a figure and a set of subplots?
a) subplots()
b) subplot()
c) figure()
d) create_subplots()
33. Which parameter is used to specify the number of rows and columns in subplots?
a) nrows and ncols
b) rows and cols
c) num_rows and num_cols
d) r and c
38. Which function is used to set the aspect ratio of the plot?
a) set_aspect()
b) aspect()
c) set_ratio()
d) ratio()
---