Pythonforschools.files.wordpress.com



KENDRIYA VIDYALAYA NO.1 SAGARMonthly Test(July) (2019-20)XII-Informatics PracticesTime : 1 ? hrsMM:50Instructions: 1. All questions are compulsory 2.Programming Language : PYTHONQ1. What are NumPy Arrays?2Q2.Explain Axes, Rank, Shape and ItemSize of NumPy array with example.4Q3. Difference between NumPy Arrays and Python Lists. 2Q4. Write statements to create NumPy array using arrange( ) and linspace( ).2Q5. What is array slicing?2Q6. Given following ndarray AR ([ [1,2,3],3 [4,5,6], [7,8,9]]) What will be the output produced by the following array slices?AR [ :2, :3 ](ii) AR [ 2: ,1: ](iii) AR[ :3, ::2]Q7. How is Series data structure is different from DataFrames?2Q8. What is the use of loc( ) and iloc( ) functions in dataframes?2 Q9. What is pivoting? Which functions of Pandas support pivoting?2Q10. Explain iterrows() and iteritems() functions of dataframes with example.4Q11. Write a program to calculate mean, median and mode in a dataframe.5Q12. What is data visualization? 2Q13. What is matplotlib?2Q14. What is marker? How can we change marker type, size and color in a chart? Write python code to show the effect of marker in pyplot. 3Q15. Write a program to plot bar chart of the following data. Your program code should be able to display color, legends, xlabel, ylabel and title etc. 5Year2011201320152017Clothes (in lakh)75425626Footwears (in lakh)23378914Q16. What is histogram? How is it useful? Create a histogram that plots two ndarrays x and y with 20 bins in stacked horizontal histogram.5Q17. From the following ordered set of data:563, 65, 67, 69, 71, 72, 74, 75, 78, 79, 80, 81, 82 Create a horizontal box plotShow means in boxplotCreate vertical boxplot without the box ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download