*NEW! *** CBSE 2020 Sample Papers : Class-X, Class-XII **

# (Download) CBSE Class-12 Sample Paper And Marking Scheme 2019-20 : Informatics Practices New

**(Download) CBSE Class-12 Sample Paper And Marking Scheme 2019-20 : Informatics Practices New**

**Sample Question paper
Informatics Practices New-(065)**

**Class-XII (2019-20)**

**Time allowed: 3 hours
Maximum Marks: 70**

**General Instructions:**

All questions are compulsory

Question Paper is divided into 4 sections A,B,C and D.

Section A comprises of questions(1 and 2)

(i) Question 1 comprises Data Handling-2(DH-2)(Series,Numpy)

(ii) Question 2 comprises of question from Data Handling -2(DH-2)(Data Frames and its operations)

Section B comprises of questions from Basic Software Engineering.

Section C comprises of questions from Data Management-2(DM-2)

Section C comprises of questions from Society, Law and Ethics-2(SLE-2)

**Section A**

**Answer the following questions :**

(a) Find the output of following program.

import numpy as np

d=np.array([10,20,30,40,50,60,70])

print(d[-4:])

(b) Fill in the blank with appropriate numpy method to calculate and print the variance of an array.

import numpy as np

data=np.array([1,2,3,4,5,6])

print(np.___(data,ddof=0)

(c) Mr. Sanjay wants to plot a bar graph for the given set of values of subject on x-axis and number of students who opted for that subject on y-axis.

Complete the code to perform the following :

(i) To plot the bar graph in statement 1

(ii) To display the graph in statement 2

import matplotlib.pyplot as plt

x=['Hindi', 'English', 'Science', 'SST']

y=[10,20,30,40]

_____________________ Statement 1

_____________________ Statement 2

OR

Mr. Harry wants to draw a line chart using a list of elements named LIST.

Complete the code to perform the following operations:

(i) To plot a line chart using the given LIST,

(ii) To give a y-axis label to the line chart named “Sample

Numbers”.

import matplotlib.pyplot as PLINE

LIST=[10,20,30,40,50,60]

_____________________ Statement 1

_____________________ Statement 2

PLINE.show()

(d) Write the output of the following code :

import numpy as np

array1=np.array([10,12,14,16,18,20,22])

array2=np.array([10,12,15,16,12,20,12])

a=(np.where(array1==array2))

print(array1[a])

** Click Here To Download Full Sample Paper**

**Click Here To Download Full Marking Scheme**

**CBSE (Class XII) Previous Year Papers Printed Books**

**<<Go Back To Main Page**

**Courtesy: CBSE**