27 solutions available
Question 4Assertion (A): A histogram is basically used to represent data provided in the form of groups spread in non-continuous ranges.Reasoning...
Question 1Hindustan Departmental Stores sell items of daily use such as shampoo, soap and much more. They record the entire sale and purchase of...
Question 2Anirudh is trying to write a code to plot line graph shown in the figure below. Help him fill in the blanks in the code and get the desired...
Question 5Which of the following commands is used to install Matplotlib for coding?import plt.matplotlib as plotimport plot.matplotlib as ptimport...
Question 6Differentiate between figure and axes.
Question 7What is the use of subplot() function? Write its parameters.
Question 8Write a Python program to draw a line with a suitable label in the X-axis and Y-axis, and a title.
Question 9Write a Python program to plot two or more lines with legends, different widths and colors.
Question 10Write a Python program to plot two or more lines and set the line markers.
Question 11Write a Python program to display a bar chart of the number of students in a class. Use different colors for each bar.Sample data:Class:...
Question 12Write a Python program to display a horizontal bar chart of the number of students in a class.Sample data:Class: I, II, III, IV, V, VI,...
Question 13Plot a line graph for: y2 = 4*x
Question 14Write a Python program to plot the function y = x2 using the Matplotlib library.
Question 15Name the various methods used with pyplot object.
Question 16Write the specific purpose of the following functions used in plotting:(a) show()(b) legend()
Question 17Plot a histogram of a class test of 40 students based on random sets of marks obtained by the students (MM=100).
Question 18A list, namely temp contains average temperature for seven days of last week. You want to see how the temperature changes in the last...
Question 19Collect data about colleges in Delhi University or any other university of your choice and number of courses they run for Science,...
Question 20What is a histogram? How do you create histograms in Python?
Question 21What are the various types of histograms that can be created through hist() function?
Question 22When should you create histograms and when should you create bar charts to present data visually?
Question 23(i)Given the following set of data:Weight measurements for 14 values of muffins (in grams)78, 72, 69, 81, 63, 67, 6579, 74, 71, 83, 71,...
Question 23(ii)Given the following set of data:Weight measurements for 14 values of muffins (in grams)78, 72, 69, 81, 63, 67, 6579, 74, 71, 83, 71,...
Question 23(iii)Given the following set of data:Weight measurements for 14 values of muffins (in grams)78, 72, 69, 81, 63, 67, 6579, 74, 71, 83, 71,...
Question 23(iv)Given the following set of data:Weight measurements for 14 values of muffins (in grams)78, 72, 69, 81, 63, 67, 6579, 74, 71, 83, 71,...
Question 24Kritika was asked to write the names of a few libraries in Python used for data analysis and one method of each. Help her write at least 3...
Question 3Plot can be saved in a pdf format.