Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 12 MCQs Data visualization

ECAP776 60 questions. Pick an option to check it.

Read the notes Subjective questions

0 of 60 answered 0 right 0 wrong , 60 left

  1. Question 1 of 60 Introduction to seaborn Easy

    What is Seaborn primarily used for in Python?

  2. Question 2 of 60 Introduction to seaborn Easy

    Which import statement uses the conventional alias for Seaborn?

  3. Question 3 of 60 Introduction to seaborn Easy

    Seaborn is built on top of which Python plotting library?

  4. Question 4 of 60 Introduction to seaborn Easy

    Which type of data is Seaborn especially useful for exploring?

  5. Question 5 of 60 Introduction to seaborn Easy

    Which Seaborn function applies a default visual theme to plots?

  6. Question 6 of 60 Introduction to seaborn Easy

    Which Seaborn function can load one of the library's example datasets?

  7. Question 7 of 60 Seaborn vs matplotlib Easy

    Which library generally provides a higher-level interface for statistical plotting?

  8. Question 8 of 60 Seaborn vs matplotlib Easy

    Which library usually offers more detailed, low-level control over plot elements?

  9. Question 9 of 60 Seaborn vs matplotlib Easy

    Which statement correctly describes the relationship between Seaborn and Matplotlib?

  10. Question 10 of 60 Seaborn vs matplotlib Easy

    Which library commonly provides attractive default themes and color palettes with less configuration?

  11. Question 11 of 60 Seaborn vs matplotlib Easy

    Can Seaborn and Matplotlib be used together in the same program?

  12. Question 12 of 60 Seaborn vs matplotlib Easy

    Why might a beginner choose Seaborn for statistical graphics?

  13. Question 13 of 60 Data visualization using seaborn Easy

    Which Seaborn function creates a scatter plot?

  14. Question 14 of 60 Data visualization using seaborn Easy

    Which Seaborn function is commonly used to draw a line plot?

  15. Question 15 of 60 Data visualization using seaborn Easy

    Which Seaborn function displays the distribution of a numeric variable using bins?

  16. Question 16 of 60 Data visualization using seaborn Easy

    Which Seaborn function is used to create a box plot?

  17. Question 17 of 60 Data visualization using seaborn Easy

    Which Seaborn function displays values in a color-coded matrix?

  18. Question 18 of 60 Data visualization using seaborn Easy

    Which parameter commonly assigns plot colors according to a data variable?

  19. Question 19 of 60 Data visualization using seaborn Easy

    Which Seaborn function shows the number of observations in each category?

  20. Question 20 of 60 Data visualization using seaborn Easy

    In sns.scatterplot(data=df, x="height", y="weight"), what does the x parameter specify?

  21. Question 21 of 60 Introduction to seaborn Medium

    Which feature of Seaborn most directly simplifies plotting variables from a pandas DataFrame?

  22. Question 22 of 60 Introduction to seaborn Medium

    A program uses import seaborn as sns. Which call applies a Seaborn theme to subsequent plots?

  23. Question 23 of 60 Introduction to seaborn Medium

    Which data organization works most naturally with Seaborn's x, y, and hue semantic mappings?

  24. Question 24 of 60 Introduction to seaborn Medium

    A notebook needs larger labels and lines for a presentation. Which Seaborn setting is most appropriate?

  25. Question 25 of 60 Seaborn vs matplotlib Medium

    Why might a developer choose Seaborn over Matplotlib for comparing a numeric variable across categories?

  26. Question 26 of 60 Seaborn vs matplotlib Medium

    After creating ax = sns.scatterplot(...), how should a custom title be added using Matplotlib's object-oriented interface?

  27. Question 27 of 60 Seaborn vs matplotlib Medium

    Which statement correctly compares sns.scatterplot() and sns.relplot(kind="scatter")?

  28. Question 28 of 60 Seaborn vs matplotlib Medium

    A chart requires individually positioned annotations, custom arrows, and precise control of every axis element. Which approach is generally most suitable?

  29. Question 29 of 60 Seaborn vs matplotlib Medium

    Why can Matplotlib commands usually customize a chart created by Seaborn?

  30. Question 30 of 60 Data visualization using seaborn Medium

    A scatter plot must distinguish species by both color and marker shape. Which call performs this mapping?

  31. Question 31 of 60 Data visualization using seaborn Medium

    A DataFrame contains repeated time values for several devices. Which call draws one unaggregated line per device?

  32. Question 32 of 60 Data visualization using seaborn Medium

    In a standard Seaborn box plot, what does a point plotted beyond a whisker usually represent?

  33. Question 33 of 60 Data visualization using seaborn Medium

    A student wants to compare the distribution shape and quartiles of scores for several classes. Which plot is most suitable?

  34. Question 34 of 60 Data visualization using seaborn Medium

    Which call compares two groups' distributions in one histogram while keeping both visible through transparency?

  35. Question 35 of 60 Data visualization using seaborn Medium

    A dataset has one row per customer, and the goal is to display how many customers belong to each membership type. Which function should be used?

  36. Question 36 of 60 Data visualization using seaborn Medium

    A bar plot should show the average salary for each department rather than the number of records. Which call is appropriate?

  37. Question 37 of 60 Data visualization using seaborn Medium

    A correlation matrix should display values such as 0.87 inside its cells. Which call provides this result?

  38. Question 38 of 60 Data visualization using seaborn Medium

    Which visualization efficiently examines pairwise relationships among several numeric columns while coloring observations by category?

  39. Question 39 of 60 Data visualization using seaborn Medium

    A researcher wants separate scatter-plot panels for each region while using the same variable mappings. Which call is appropriate?

  40. Question 40 of 60 Data visualization using seaborn Medium

    A table contains columns month, city, and temperature, with one observation per city-month pair. What should be done before creating a heatmap with months as rows and cities as columns?

  41. Question 41 of 60 Seaborn vs matplotlib Hard

    A figure already contains two Matplotlib subplots created by fig, axs = plt.subplots(1, 2). Which call draws a Seaborn histogram specifically on the second subplot without creating another figure?

  42. Question 42 of 60 Seaborn vs matplotlib Hard

    A dataset contains repeated measurements of score at each time. Which capability most directly distinguishes sns.lineplot from a basic plt.plot call?

  43. Question 43 of 60 Introduction to seaborn Hard

    What object is returned by ax2 = sns.scatterplot(data=df, x="x", y="y") when no ax argument is supplied?

  44. Question 44 of 60 Introduction to seaborn Hard

    An Axes and several artists have already been created before sns.set_theme(style="darkgrid") is called. Which statement best describes the effect?

  45. Question 45 of 60 Data visualization using seaborn Hard

    A table has columns control, low_dose, and high_dose, with one measurement per row in each column. You need sns.relplot with treatment mapped to both hue and col. Which transformation is most appropriate?

  46. Question 46 of 60 Data visualization using seaborn Hard

    Under current Seaborn defaults, what happens when sns.lineplot(data=df, x="time", y="response") receives many response observations at each time value?

  47. Question 47 of 60 Data visualization using seaborn Hard

    A longitudinal dataset contains subject, time, and score. Which call draws one trajectory per subject without adding every subject identifier to the legend?

  48. Question 48 of 60 Data visualization using seaborn Hard

    In sns.histplot(data=df, x="value", hue="group", stat="density", common_norm=True), how are overlaid group densities normalized?

  49. Question 49 of 60 Data visualization using seaborn Hard

    Consider sns.histplot(data=df, x="amount", bins=10, log_scale=True) where amount includes zero and positive values spanning several orders of magnitude. Which interpretation is correct?

  50. Question 50 of 60 Introduction to seaborn Hard

    What does g = sns.catplot(data=df, x="group", y="score", col="site", kind="box") return, and where should facet-wide customization be applied?

  51. Question 51 of 60 Data visualization using seaborn Hard

    A custom plotting function expects a facet subset as data and receives column names through x and y. Which FacetGrid method is designed for this interface?

  52. Question 52 of 60 Data visualization using seaborn Hard

    A categorical scatter plot uses numeric years 2000, 2005, and 2020 on the categorical axis. Which setting preserves the unequal numeric spacing instead of placing the years at ordinal positions 0, 1, and 2?

  53. Question 53 of 60 Data visualization using seaborn Hard

    A heatmap contains values from to and is drawn with sns.heatmap(data, center=0, cmap="vlag") but without vmin or vmax. What should be expected?

  54. Question 54 of 60 Data visualization using seaborn Hard

    For a square correlation matrix corr, which mask hides only the entries strictly above the main diagonal while retaining the diagonal and lower triangle?

  55. Question 55 of 60 Seaborn vs matplotlib Hard

    Which statement correctly describes sns.clustermap when integrating it into an existing Matplotlib layout?

  56. Question 56 of 60 Seaborn vs matplotlib Hard

    You need separate regression panels by region, with a regression line and scatter plot in each panel. Which choice uses Seaborn's appropriate abstraction directly?

  57. Question 57 of 60 Data visualization using seaborn Hard

    A FacetGrid maps sns.histplot over subsets with very different ranges. Automatic bin selection produces different bin edges in each panel, making heights hard to compare. What is the most reliable correction?

  58. Question 58 of 60 Data visualization using seaborn Hard

    Two separate scatter plots map the same numeric variable to hue, but each plot contains a different subset of its range. How can identical values be guaranteed to receive identical colors across both plots?

  59. Question 59 of 60 Data visualization using seaborn Hard

    In sns.boxplot(data=df, x="group", y="value", whis=(5, 95)), what do the whisker endpoints represent?

  60. Question 60 of 60 Data visualization using seaborn Hard

    A box plot and strip plot are overlaid on the same axes, both using hue="treatment". The legend contains duplicate entries. Assuming the box-plot legend should be retained, what is the cleanest preventive approach?

That's unit 12

Answer a few questions and your score shows up here.