Quiz Questions
Quiz Questions
Ø Position
Ø Shape
Ø Size
Ø Color
Ø Line width
Ø Line type
3.In Python, using the “matplotlib” library, which of the following code will correctly plot a
line chart for the given data? x=np.linspace(0, 10, 100) and y=sin(x).
4. Given a dataset that contains the annual sales of various car brands across different cities,
which of the following visualizations would be MOST appropriate for comparing the sales of
each car brand in each city?
A bar chart with car brands on the x axis and sales on the y axis, where each brand is
represented by a group of bars, each corresponding to a different city.
sns.set_palette()
Deep, muted,pastel,dark,colorblind,bright
6. A climate scientist wants to plot annual average temperatures over the last century. The
trend shows a gradual increase in temperature. What kind of palette would be most fitting?
Sequential palette
Advantages:
Intuitive
Simple
Visually appealing
Limitations:
Lower/Upper quartile
Median
Skewness
Outliers
10. What is the primary purpose of a Q-Q plot?
To visually assess how the data’s distribution compares with a theoretical distribution
11.In a Q-Q plot, if the data points closely follow the 45-degree reference line, what does it
suggest about the data?
12.Which distribution is most commonly used as the reference distribution in Q-Q plots?
13. In creating a data visualization, it's imperative that the chosen visual elements (like color,
size, and shape) accurately convey the underlying data values and relationships. Which of the
following statements best reflects this principle?
The choice of visual aesthetics should enhance clarity and understanding without
misinterpreting the data
14. Ordinal data represents categorical data that has a specific order or ranking. True
15. Which type of data consists of infinite possible values within a specific range?
Continuous data
17. The primary purpose of a histogram is to visualize relationships between two continuous
variables . False
18. Density plots are useful for visualizing the distribution of two or more groups of data on
the same plot. True
19. A density plot uses discrete bins to represent data distributions False
20. Which of the following changes will most likely affect the shape of a histogram?
21. What type of data are box plots most commonly used for?
Continuous data
22. Given a dataset that contains the annual sales of various car brands across different cities,
which of the following visualizations would be MOST appropriate for comparing the sales of
each car brand in each city?
A bar chart with car brand on the x axis and sales on the y axis, where each brand is represented
by a group of bars, each corresponding to a different city.
24. Let a= [x1 y1], b=[x2 y2], if c= a+b, d=2c, what is the y-component of d?
2y1+2y2
25. When scaling the zero vector by any scalar, the result is:
26. Scaling a vector by a scalar value affects its magnitude but not its direction.
False
27. Which of the following sets of vectors form a basis for two-dimensional space
[1 0][0 1]
[2 3][-3 2]
28. Given a vector space V of dimension n, how many vectors are needed in a basis for V
29. Any two non-zero vectors in two-dimensional space V will form a basis for V
False
False
31. The zero vector space has an empty set as its basis
True
32. If u and v form a basis for two-dimensional space, then any vector in the two-dimensional
space can be written as a linear combination of u and v
True
34. Measures in Tableau can be aggregated, while Dimensions are typically used for
segmenting or categorizing data
True
35. Two different matrices can represent the same linear transformation by choosing different
bases
True
36. If a vector v in the three-dimensional space is reflected about the xy-plane, what is the
effect on its z-component?
37. What happens to the determinant of a matrix that represents a reflection with x-axis and
y-axis in the two-dimensional space
38. A shear transformation along the x-axis in a 2-dimensional space with a shear factor of k
transforms a point (x, y) to:
[x+ky y]
40. A log scale can be used for data that includes negative numbers
False
41. If a point in the Cartesian coordinate system is at (0, -7),what is its radial distance r in
polar coordinates?
42. Which of the following represents the Cartesian coordinates corresponding to the polar
coordinates (5, pi/2)
(0,5)
43. The Cartesian coordinates (1, 0) and the polar coordinates (1,0) represent the same point
True
Changes the way data is displayed by adjusting the axis to a logarithmic scale
Is not suitable for handling 0 or negative values
45. Using a log scale in visualization means that the actual data values are transformed.
False
46. What is the purpose of the "Get Data" feature in Power BI?
47. Which of the following data sources can you connect to using Power BI’s "Get Data"
feature?