Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 31

WINTER BREAK HOLIDAYS HOMEWORK (2019-20)

Class XII
हिंदी
ENGLISH
HISTORY
1. Revision of all chapters (Chapter 1-12)
2. Map skill: In a file/Note book based on chapters

3. Prepare CBSE Project/Practical on assigned topic (Topics are already


assigned to students)

4. Solve at least five sample paper

Schedule for study during Winter break


Class XII F (History)
Date Chapter to be learn Tips
23-12-2018 1&2 1. Learn different level of
24-12-2018 3&4 question daily for
25-12-2018 5&6 chapter as per schedule
26-12-2018 7&8 2. Note down the
27-12-2018 9&10 problems and discuss
28-12-2018 11&12 with teacher in class
29-12-2018 13&14 and
30-12-2018 15 and Remains telephone/whatsup
31-12-2018 Map skill group.
01-01-2019 Objective type questions 3. Solve at least 10
02-01-2019 Picture based and with map sample paper .Make
skills practice sure that every
03-01-2019 Solve sample paper question you learn and
04-01-2019 Problem from all chapter to be write within given time
revise 4. Every student should
05-01-2019 Solve sample paper have note book for this
06-01-2019 Solve sample paper work and discuss with
07-01-2019 Solve sample paper subject teacher
08-01-2019 Solve sample paper 5. Parents are requested
to ensure the their
09-01-2019 Solve sample paper
ward follow schedule
10-01-2019 Map skill with revision
11-01-2019 Solve sample paper

GEOGRAPHY
INFORMATICS PRACTICES

Prepare a softcopy of PRACTICAL FILE containing following programs:

1. Write a NumPy program to create a 3x3 matrix with values ranging from 2 to 10.
2. Write a NumPy program to create a one dimensional array with 8 equal spaced values
between 4 and 5.
3. Write a program to create a 3X4 matrix having all values as zeros.
4. Write a program to create a 3X4 matrix having all values as one.
5. Write a Pandas program to compare the elements of the two Pandas Series??

6. Write a Python program to convert a dictionary to a Pandas series. Sample Series:


Dictionary:
{'a': 100, 'b': 200, 'c': 300, 'd': 400, 'e': 800}
Converted
series:
a 100
b 200
c 300
d 400
e 800
dtype: int64
7. Create the following series:
Neha 100
Sohan 90
Jiya 89
Riya 23
Tiya 56
8. Write a menu deriven program to add, subtract, multiple and divide two Pandas Series.
9. Write a program to sort the element of Series S1 into S2.
10. Write a NumPy program to reverse an array Ar.

11. Write a NumPy program to create a 8x8 matrix and fill it with checkerboard
pattern.
Checkerboard pattern:
[[0 1 0 1 0 1 0 1]
[1 0 1 0 1 0 1 0]
[0 1 0 1 0 1 0 1]
[1 0 1 0 1 0 1 0]
[0 1 0 1 0 1 0 1]
[1 0 1 0 1 0 1 0]
[0 1 0 1 0 1 0 1]
[1 0 1 0 1 0 1 0]]

12. Write a NumPy program to append values to the end of an array. Expected Output:
Original array: [10, 20, 30]
After append values to the end of the array: [10 20 30 40 50 60 70 80 90]
13. Write a menu deriven program to add, subtract, multiple and divide two 3X3 numpy arrays.
14. Write a panda program to read marks detail of Manasvi and Calculate sum of all marks.
data = {'Manasvi': ['Physics', 'Chemistry', 'English', 'Maths', 'Computer Sc'],
'marks': [ 89,99,97,99,98],}
15. Write a Pandas program to sort the data frame first by 'Designation' in Ascending order,
then by 'Name' in Descending order.
data1 = {'Name':['Akshat', 'Sameer', 'Pihu', 'Neha'] , 'Age':[28,34,29,42], 'Designation':
['Accountant' , 'Clerk', 'Clerk', 'Manager']}
16. The table shows passenger car fuel rates in miles per gallon for several years. Make a LINE
GRAPH of the data. During which 2-year period did the fuel rate decrease?
YEAR: 2000 2002 2004 2006
RATE: 21.0 20.7 21.2 21.6

17. The number of bed-sheets manufactured by a factory during five consecutive weeks
is given below.
Week First Second Third Fourth Fifth
Number of Bed-sheets 600 850 700 300 900
Draw the bar graph representing the above data
18.

The number of students in 7 different classes is given below. Represent this data on the
bar graph.
Class 6th 7th 8th 9th 10th 11th 12th

Number of Students 130 120 135 130 150 80 75

19.

The number of students in 7 different classes is given below. Represent this data on
the bar graph.
Class 6th 7th 8th 9th 10th 11th 12th

Number of Students 130 120 135 130 150 80 75

20. The Production(in Tone) by Factory in Years is shown below Represent this data on the
scatter graph.
Year 2000 2005 2010 2015
Production in Tons 50 40 30 60

21. Assume following data is stored in data frame named as df1

Name Sales Quarter State


RSahay 125600 1 Delhi
George 235600 1 Tamil Naidu
JayaPriya 213400 1 Kerala
ManilaSahai 189000 1 Haryana
RymaSen 456000 1 West Bengal
ManilaSahai 172000 2 Haryana
JayaPriya 201400 2 Kerala

Create the above dataframe and write the statement for the following:
Find total sales per state
(ii) find total sales per employee
(iii)find total sales both employee wise and state wise
(iv)find mean, median and min sale state wise
(v)find maximum sale by individual
(vi) Write a command to sort data according to ‘Name’ and then by ‘Sales’ and store it in
another dataframe.
(vii ) Write command to group the data frame according to their ‘Name’ and store it in ‘gdf’
(viii) Write command to show groups created in gdf.
22. Given two arrays namely arr1 and arr2 each having 5 values. Create a scatter chart so
that each data points gets a different color, different size. Keep the marker style as
square.
23. Consider the table given below and write the query for the following
Table: CLUB

GCode GameName Number Fees StartingDate


101 Carom 2 5000 2004-01-23
102 Badminton 2 12000 2003-12-12
103 Table 4 8000 2004-02-14
104 Chess 2 9000 2004-01-01
105 Lawn Tennis 4 25000 2004-03-19

1. To display the name of all games with their Gcodes.


2. To display details of those games which are having Fees more than 7000.
3. To display the content of the CLUB table in descending order of startDate.
4. To delete the record of all GameNames.
5. List the minimum and maximum fees from CLUB.
24 Consider the tables FLIGHTS & FARES. Write SQL commands for the
statements

Table : FLIGHTS
FNO SOURCE DEST NO_OF_FL NO_OF_STOP
IC301 MUMBAI BANGALORE 3 2
IC799 BANGALORE KOLKATA 8 3
MC101 DELHI VARANASI 6 0
IC302 MUMBAI KOCHI 1 4
AM812 LUCKNOW DELHI 4 0
MU499 DELHI CHENNAI 3 3

Table : FARES
FNO AIRLINES FARE TAX_percentage
IC301 Indian Airlines 9425 5
IC799 Spice Jet 8846 10
MC101 Deccan Airlines 4210 7
IC302 Jet Airways 13894 5
AM812 Indian Airlines 4500 6
MU499 Sahara 12000 4
i) Display flight number & number of flights from Mumbai from the table flights.
ii) Arrange the contents of the table flights in the descending order of destination.
iii) Increase the tax by 2% for the flights starting from Delhi.
iv) Display the flight number and fare to be paid for the flights from Mumbai to Kochi using the
tables, Flights & Fares, where the fare to be paid =fare+fare*tax/100.
v) Display total no of source stations(eliminate duplicate) present in the table.
vi) Display the fare for the flight for MUMBAI to BANGLORE
vii)Display the records of source stations started with letter ‘B’.
viii) Display the flight no. for which fare to be paid is less than 3000.
ix) Display total no. of flights available for each Airlines
x) Add a new column Dep_Time in the table Flight.
xi)Delete the record of flight no. IC301 from the table FARE.xii) increase the size of the column
‘source’ to 30 in the Table FLIGHT
25. Write a command to create the below given table:

Table: Department

Column name Dno Dname Dloc


Datatype Integer Varchar Char
Size 30 50
Constraint Primary key Not null
Table: Employee
Column name Empno Name Gender City Salary Dno
Datatype Integer Varchar Char Varchar NUMBER Integer
Size 50 1 30 5,2
Constraint Primary Not null In ‘m’ or Default >10000 Foreign
key ‘f’ ggn key
Insert the following data in the table:

Table: Department

Dno Dname Dloc


10 Fianance Ggn
20 Programming Ggn
30 HRM Delhi
Table: Employee:

Empno Name Gender City Salary Dno


101 Naina F Delhi 70000 10
102 Sohan M Ggn 50000 20
103 Mohan M Ggn 25000 30
104 Reena F Delhi 30000 10
105 Teena F Ggn 35000 10
Write the following query with output

i. Write a query to display the data of department table.


ii. Write a query to display the data of employee table.
iii. Write query to display name, gender and salary of all employee in ascending order of
their salary.
iv. Write a query to display the list of departments which are located in GGN
v. Write a query to display name of all the employee who are living in Gurgaon
vi. Write a query to display the details of employee whose empno is 105
vii. Write a query to display all male employees living in delhi
viii. Write a query to display the details of employees of department no 10 in descending
order of their names.
ix. Write a query to display name and salary of all the employee whose salary lies between
30 thousand to 50 thousand.
x. Write a query to display the records of all the employee who are either female or
working in department no 30
xi. Write a query to display the detail of all the employee, the last second character of
whose name is a.
xii. Write a query to delete all the records who are living in Gurgaon.
xiii. Write a query to increase the salary of all the employees by 15% of their existing salary.
xiv. Write a query to change the city to rohtak of employee whose employee no is 104
xv. Write a query to delete the records of all the employees of department no 10
xvi. Write a query to add one more column i.e dob date notnull.
xvii. Write a query to display to display name, dno,salary and their corresponding
department of all the employees.
xviii. Write a query to display name and dname of all the employees of city Gurgaon.

26 Prepare a Project(topic of your choice) based on the connectivity of Python and MYSQL.

27. Do the ideal solution of Preboard 1st Question paper and model papers(02) given below:

INFORMATICS PRACTICES NEW (065) - CLASS XII


Max Marks: 70
Time: 3 hrs
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 D comprises of questions from Society, Law and Ethics-2(SLE-2)

SECTION- A
1.
(a) Find the output of following program. 1
import numpy as np
d=np.array([10,20,30,40,50,60,70])
print(d[-5:])
(b State at least two differences between a numpy array and a list. 1
)
(c) Fill in the blank with appropriate statement using numpy method to calculate the covariance 2
and correlation coefficient of the two given 1D arrays(A,B)
import numpy as np
A=np.array([1,2,3,4,5])
B=np.array([3,4,0,-1,-4])
result_covar=______________ # COVARIANCE
result_coeff=______________ #CORRELATION COEFFICIENT
(d What will be the output of the following python code: 2
) import pandas as pd
import numpy as np
d = {'Student':['Ali','Ali','Tom','Tom'],\
'House':['Red',Red,'Blue',Blue’],\
'Points':[50,70,60,80]}
df =pd.DataFrame(d)
df1 = df.pivot_table(index='Student',columns='House',values=’Points’,aggfunc=np.sum)
print(df1)
(e) Given following ndarray A: 2
( [[2, 4, 6],
[7, 8, 9],
[1, 2, 3]] )
Write the python statements to perform the array slices in the way so as to extract
(i) First row (ii) Second Column
(f) Write a python statement to fill in the blanks so that the given output may be achieved: 2
import pandas as pd
import numpy as np
d = {'Rollno':[101,102,103,104],\
'ECO':[70,80,50,80],'BST':[60,50,60,90]}
df = pd.DataFrame(d)
df1 = ___________________________
print(df1)

Rollno 410
ECO 280
BST 260
dtype: int64
g) Write python statement to create a two- dimensional array of 4 rows and 3 columns . The 1
array should be filled with ones.
h) Differentiate between apply() and applymap() functions 2
OR
Find the output for the following:
import pandas as pd
import numpy as np
d = {'Marks1':[10,20,30,40],\
'Marks2':[50,70,60,80]}
df=pd.DataFrame(d)
print(df)
print(df.apply(np.cumsum))

2.
a) For the given code fill in the blanks so that we get the desired output with sorting the 2
dataframe first on Quantity and second on Cost.
import pandas as pd
import numpy as np
d = {'Product':['Apple','Pear','Banana','Grapes'],\
'Quantity':[100,100,200,250],\
'Cost':[1000,1500,1200,900]}
df = pd.DataFrame(d)
df1 = ______________________________________
print(df1)
Product Quantity Cost
0 Apple 100 1000
1 Pear 100 1500
2 Banana 200 1200
3 Grapes 250 900

OR

For the given code fill in the blanks so that we get the desired output with maximum value for
Quantity and Average Value for Cost:
import pandas as pd
import numpy as np
d = {'Product':['Apple','Pear','Banana','Grapes'],\
'Quantity':[100,150,200,250],\
'Cost':[1000,1500,1200,900]}
df = pd.DataFrame(d)
df1 =_________________________________
print(df1)

Quantity 250.0
Cost 1150.0
dtype: float64
b) What is the use of pipe() function? 1
c) Consider the ndarrays Arr1 and Arr2 . 2
Arr1= array([[0,1,2],
[3,4,5],
[6,7,8]])
Arr2= array([[10,20,30],
[40,50,60],
[70,80,90]])
What will be the resultant array, if the following statement is executed?
np.hstack((Arr2,Arr1))
d) Write python statement to create a one –dimensional array using arrange() function 2
.Elements will be in the range 10 to 30 with a step of 4 (including both 10 and 30). Reshape
this one-dimensional array to two dimensional array of shape(2,3). Then display only those
elements of this two –dimensional array which are divisible by 5.
e) Find O/P for the following program code: 2
import pandas as pd
df1=pd.DataFrame({'Icecream':['Vanila','ButterScotch','Caramel'] , 'Cookies':
['Goodday','Britannia', 'Oreo']})
df2=pd.DataFrame({'Chocolate':['Dairy Milk','Kitkat'],'Icecream':
['Vanila','ButterScotch'],'Cookies':['Hide and Seek','Britannia' ]})
df2.reindex_like(df1)
f) Consider the following dataframes : 2
df1 df2
mark1 mark2 mark1 mark2
0 10 15 0 30 20
1 40 45 1 20 25
2 15 30 2 20 30
3 40 70 3 50 30
Write the commands to do the following operations on the dataframes given above :
(i) To rename column mark1 as Score1 in both the dataframes df1 and df2.
(ii) To change index label of df1 from 0 to zero and from 1 to one.
g) What will be the output of the following code: 2
import matplotlib.pyplot as p
x=[6,7,8,9,10]
y=[60,40,55,30,70]
p.title('Secondary Class Strength')
p.xlabel('Class')
p.ylabel('No. of students')
p.bar(x,y)
p.show()
OR
Fill in the blank with appropriate pyplot methods:
import matplotlib.pyplot as p
Year=[2000,2002,2004,2006]
Rate=[21.0,20.7,21.2,21.6]
____________________________ # To draw a line graph
p.xlabel('Year')
p.ylabel('Rate')
p.title('Fuel Rates in every Two Year')
___________________(“Graph1.pdf”) # To save the graph
p.show()
What will be the output of the following code:
h) Write a python program to draw a bar chart with the following information: 4
City pollution
Kolkata 78
Delhi 91
Kanpur 88
Patna 90
Banglore 82
The barchart should have the following features:
a) X-axis label should be City and Y-axis label should be Pollution
b) The title of the chart should be Pollution Index
c) The colour of the bars should be Red
Use proper import statements in the program.

OR

Write a python program to draw a histogram with following information:


1 1 1 1 1 1 2 2 2 2 2 2 2
0 5 0 0 0 5 0 0 0 0 0 5 5
The histogram should have following information
a) X-axis label should be score and Y-axis should be Frequency
b) The title should be Frequency of Score
c) The colour of histogram should be blue with 10 bins
Use proper import statements in the program

SECTION- B
3.
a) What is meant by Software Engineering? 1
b) What is Software process? 3
Mention two advantages and two disadvantages of Waterfall model.
OR
Draw labelled diagram of Evolutionary Software process model
c) Mention two advantages of Incremental Software Delivery model. 2
OR
Mention two advantages of Spiral delivery model.

4.
a) “Working in a pair in Pair Programming increases efficiency and reduces time”. Justify. 1
b) Who is responsible for making sure that the Scrum has been understood and enacted and 1
also presides over the Scrum meeting?
c) What are Commit – Update in version control system 2
Or
What are Push-Pull requests in version control system
d) Draw a business use case diagram of the following scenario for a grocery shop 3
i) Customers can purchase goods
ii) Shop owner performs billing
iii) Inventory is updated after each transaction
e) Mention any two features of GIT. 2
OR
Who are actors in a Use-case diagram? Name the CRUD operations required in creating Use-
case diagrams.

SECTION- C
5.
a) Write Django command to create a project with name ‘ IP’ 2
OR
Write command to run the Django server.
b) Mention two differences between GET and POST methods 2
OR
Write the method used to read a CSV file.
Which command is used to activate virtual environment.
c) Mention one difference between fetchone() and fetchall() method. 1
d) The ‘STUDENT’ table is stored in the database ‘SCHOOL’ in MySQL. The database credentials 4
includes host as ‘localhost’, user as ‘root’ and password as ‘cloud’. Write python script to do
the following:
i. Import necessary modules to establish MySQL connectivity with Python
ii. Write a statement to establish connection to the database using given credentials
iii. Check the connectivity, whether connection OK or NOT OK.
iv. Write python statement to create a cursor object
v. Write python statement to close the connection

6.
a) i) State one difference between having and where clause. 1
ii) “Pay” is a column name for the Pay of staff in a table “Schools”. The SQL queries 1
SELECT count(*) FROM Schools;
and
SELECT count(Pay) FROM Schools;
The outputs obtained are 40 and 39 in both the queries respectively.
What is the reason behind different output?
b) Consider the table TEACHER given below. Write commands in SQL for (i) to (iii) and output for
(iv) to (v) . Note: Hiredate is in mm/dd/yyyy format
TEACHER
ID Name Department Hiredate Category Gender Salary
1 Taniya Social Studies 03/17/1994 TGT F 25000
2 Abhishek Art 02/12/1990 PRT M 20000
3 Sanjana English 05/16/1980 PGT F 30000
4 Vishwajeet English 10/16/1989 TGT M 25000
5 Aman Hindi 08/1/1990 PRT F 22000
6 Pritam Math 03/17/1980 PRT F 21000
7 RajKumar Science 09/2/1994 TGT M 27000
8 Sital Math 11/17/1980 TGT F 24500
i. To display all information about teachers of Female PGT Teachers.
ii. To list names, departments and date of hiring of all the teachers in descending order of 1
date of joining. 1
iii. To count the number of teachers and sum of their salary department wise.
iv. SELECT MAX(Hiredate) ,Gender FROM Teacher group by Gender; 1
v. SELECT COUNT(DISTINCT(Department)) FROM Teacher; ½
½

SECTION- D
7.
a) Which of the following is NOT an intellectual property? 1
(i) A poem written by a poet
(ii) An original painting made by a painter
(iii) Trademark of a Company
(iv) A remixed song
b) Fill in the blanks: 1
An act of stealing others Intellectual Property without their consent of without citing the
source is called ____________
OR
Name the cyber law enforced in India to provide legal recognition to electronic commerce
and to facilitate filing of electronic records with the Government.____________
c) Give the full form of: i) GPL ii) OSS 1
d) Mention two benefits of e-waste recycling. 1
e) Suggest two measures to avoid Credit Card Fraud. 2
f) Differentiate between Public Domain Software and Proprietary Software. 2
g) Bit-coin is a kind of ____________________ 1
h) List any one disability issue faced in the using computers with respect to specially abled 1
students.
1st Pre-Board Examination 2019-20
Class : 12th Subject : Informatics Practices
(IP)
Time : 03 hrs Max. Mark :
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
1 (a) Find the output of following program : 1
import numpy as np
d=np.array([10,20,30,40,50,60,70])
print(d[-1:-4:-1])

(b) Fill in the blank with appropriate numpy method to calculate and print the variance of
an array. 1
import numpy as np
data=np.array([1,2,3,4,5,6])
print(np.___(data,ddof=0))

(c) Mr. Kamlesh wants to plot a Bar Graph for the given set of values of months on x-axis
and number of participants who attended workshop in particular month on y-axis.
Complete the code to perform the following :
(i) To plot the bar graph in statement 1 ½
(ii) To add label for x-axis as “No. of Students attended” in graph in statement 2 ½

import matplotlib.pyplot as plt


x=['JAN', 'FEB', 'MAR’, 'APR',’MAY’,’JUN’]
y=[30,20,30,50,10,60]
_____________________ Statement 1
_____________________ Statement 2

OR

Ms. Shalu wants to plot a Line Chart for the given set of values of months on x-axis
and number of participants who attended workshop in particular month on y-axis.
Complete the code to perform the following :
(i) To plot the Line Chart in statement 1
(ii) To add Title as “Status of Workshop” in graph in statement 2
import matplotlib.pyplot as plt
x=['JAN', 'FEB', 'MAR’, 'APR',’MAY’,’JUN’]
y=[30,20,30,50,10,60]
_____________________ Statement 1
_____________________ Statement 2

(d) Write the output of the following code : 2


import numpy as np
a=[[1,2,3,4],[5,6,7,8]]
b=[[1,2,3,4],[5,6,7,8]]
n=np.concatenate((a, b), axis=0)
print(n[1])
print(n[1][1])

(e) Write a code to plot the Monthly Attendance of students in class as shown in the figure
given below: 2

(f) What is series? Explain with the help of an example. 2

(g) Write a NumPy program to create a 3x3 identity matrix, i.e. diagonal elements are 0,
the rest are 1. 3
OR
Write a NumPy program to create a 3x3 identity matrix, where all elements are 2.

2.(a) ______method is used to rename any index, column or row of a Series or Dataframe :
1
(i) rename()
(ii) reindex()
(iii) reframe()
(iv) none of the above
(b) Suman wants to display the first 5 rows of the dataframe df. Which function she has to
use ?
1
OR
Write the command to read data from data.csv file to create dataframe.

(c) Consider the following python code and write the output : 1
import pandas as pd
K=pd.Series([2,4,6,8,10])
s = pd.Series(K)
print (s)

(d) Write a small python code to insert a row in following dataframe df at location 2. 1
Rl Name Age
0 1 Seema 33
1 2 Sunil 44

(e) What is Pivoting? Name any two functions of Pandas which support pivoting. 2
(f) Write python code to create following dataframe : 2
Subject Teacher School
0 Phy 10 KV
1 Chem 5 JNV
2 Math 8 JNV
3 CS 12 KV

OR
Write a small python code to create a dataframe with headings(‘Rollno’ and ‘Name’) using
the list
given below :
[[1,’Shayam’],[2,’Mohan’],[3,’Kamla’],[4,’Kamalesh’]]

(g) Consider the following dataframe, and answer the questions given below:
3
df = pd.DataFrame({'Phy':[20, 40, 50, 44, 30],
'Chem':[58, 25, 54, 30, 29],
'Math':[20, 16, 70, 36, 82],
'IP':[80, 37, 55, 80, 60]})
Write the code to find :
(i) ‘mean’ value from above dataframe df over the index axis. (Skip NaN value)
(ii) ‘sum’ function to find the sum of all the values over the index axis.
(iii) ‘ median’ of the dataframe df.
OR

Give Dataframe df is as follows :


Name Phy Chem Math IP
Kamla 50 80 60 80
Seema 40 40 80 90
Suresh 80 50 80 70
Santosh 65 60 70 70
(i) Write command to compute the sum of all subjects of every students of the data
frame.
(ii) Write command to compute mean of column ‘IP’.
(iii) Write command to compute average all subjects for ‘Kamla’
(h) Find the output of the following code: 3
import pandas as pd
data = [{'Rollno': 1, 'Name': 'Shyam', 'Marks':60 },
{'Rollno': 2, 'Name': 'Kamal', 'Marks':70 },
{'Rollno': 5, 'Name': 'Sheela', 'Marks':30 }]
df1 = pd.DataFrame(data, columns=['Rollno', 'Name'])
df2 = pd.DataFrame(data, index=['Rollno', 'Name',
'Marks'], columns=['Rollno', 'Marks'])
print(df1)
print(df2)

(i) A datafraame df stores data year, month & passenger as bellow : 4


Year Month Passengers
0 2010 Jan 25
1 2010 Mar 50
2 2012 Jan 35
3 2010 Dec 55
4 2012 Dec 65
Using above dataframe write command for following :
(a) Compute Total Passenger per year
(b) Computer Average passenger per year
Hint : use of pivot_table

SECTION –B

3. (a) What do you think by Software Engineering ? 1


(b) Identify which one is the need of Software Engineering from following : 1
i) Software Engineering
ii) Cost Control
iii) Data Analysis
iv) Data mining

(c) What is pair programming concept? 1


(d) What is Feasibility Study in area of Software Engineering ? 2
OR
Differentiate between Waterfall Model and Spiral model.
(e) Give pictorial representation of Waterfall Model and give one advantage and one
disadvantage of Waterfall Model . 3
OR
Give pictorial representation of Spiral Model and give one advantage and one
disadvantage of Spiral Model .
(f) What is Version Control System, what are the types of Version Control System ? 3
(g) Draw a use case diagram and identify the actors and communication for the
situations :
i) A period of Computer Class subject ‘IP’ 4
ii) Booking of OLA Taxi
OR
Look at the following use case diagrams and write the actors and the situation
depicted by the use case diagrams :
Librarian

SECTION –C
4. (a) Differentiate between Django GET and POST method . 1
(b) What is use of COMMIT in SQL ? 1
OR
What is use of ROLLBACK in SQL
(c) Write Django command to create a new Project. 1
(d) Find which is not a correct start of SQL Command. 1
i) SELECT
ii) MODIFY
iii) DELETE
iv) ALTER
(e) “execute()” in python-mysql connectivity : 1
i) Checks correct link of Database
ii) Execute Database to close()
iii) Execute SQL Query after connection to get result
iv) Execute command to display output on screen

(f) Pinkiy has recently started learning Database. Help her in understanding : 3
i) Primary key and Candidate key
ii) Degree and Cardinality
(g) On the basis of ‘Student” table below answer the questions : 3

i) Give output of following SQL


SELECT GENDER, COUNT(*) FROM STUDENT GROUP BY GENDER;
ii) Find the Degree and Cardinality of the table.
iii) Write SQL to display different Cities available in table.

(h) Write SQL (i) to (iv) and output for (v) and (vi) based on following table : 4
i) To list the Employee Name who are not getting any commission(COMM).
ii) Display Name of Employee whose name start with character ‘A’.
iii) To count number of Jobs available in company i.e. in EMP table.
iv) To display Employee no. and name of employees in decreasing order of
Salary.
v) SELECT ENAME, SAL*10 FROM EMP WHERE DEPTNO=10;
vi) SELECT YEAR(HIREDATE) FROM EMP WHERE DEPTNO=20 AND
JOB=’ANALYST’
OR
(i) Write Python-MySQL connectivity code for following situation :
In a school, a database named “school” is created in mysql whose password is
“kvs”. Suman is trying to delete a record of student whose rollno is 10.

(ii) Write the code in python to write the following row contents in “student.csv”
file.
row = ['4', ' Danny', ' New York']

SECTION –D
5. (a) Which one of the following comes under Cyber Crime : 1
i) Murder
ii) Chain Snatching
iii) Fighting
iv) Online Scams
(b) Expand the term GNU. 1
(c) Define the term Plagiarism. 1
(d) Shyam has received an unknown call stating that he won prize money of Rs. 5 lacs, and
the caller saying to pay Rs. 5000/- as a processing fee to get this prize money.
You are requested to help him to deal with this situation. 2

(e) State one situation of using technology for each of following : 2


i) Way in which technology can harm society
ii) Way in which technology can be beneficial for society

(f) Name any three types of Cyber Crimes and give one point for each to protected. 3
OR
Sheela is not understanding difference between following :
i) Freeware software
ii) Open Source Software
iii) Proprietary Software
You are requested to help Sheela to get differences between these three.

********************

SUBJECT: ECONOMICS. CLASS -. XII D, E, F

1. SOLVE PRE BOARD QUESTION PAPER IN YOUR NOTEBOOK

2. PREPARE PRACTICAL FILE ON SUGGESTED TOPICS/ ANY OTHER TOPIC FOR PROJECT WORK

3. REVISE THE WHOLE SYLLABUS FOR PRE BOARD II.

MATHEMATICS
VECTOR
LEVEL 1
LEVEL 2
LINEAR PROGRAMMING
LEVEL 1
1 What do you understand by the term linear function ?
2 What is the mathematical meaning of programming ?

3 What do you understand by objective function?


4 What can you say about linear constraints ?
5 What do you understand by optimisation of a function ?
6 Objective - profit
Maximize Z=60X1 + 50X2
Subject to
Assembly 4X1 + 10X2 <= 100 hours
Inspection 2X1 + 1X2 <= 22 hours
Storage 3X1 + 3X2 <= 39 cubic feet
X1, X2 >= 0
7 One kind of cake requires 200gm of flour and 25gm of fat and another kind of vake
requires 100gm of flour and 50 gm of fat.find the maximum no of cakes which can be
made from 5 kg of flour and 1 kg of fat assuming that there is no shortage of other
ingredients used in making the cakes.
8. Maximise z =-x +2y subject to the constraints x≥3,x+y ≥ 5,x+2y ≥ 6,y ≥ 0

LEVEL 2
 1 What can you say about linear constraints ?

 2 What sign (≤ or ≥ ) do you use in conditions like atmost and atleast in the problem ?

 3 What is general form of objective function ?

 4 An aeroplane can carry a max of 200 passengers.A profit ofRs1000 is made on each
executive classticket and a profit of Rs.600 is made on economy class ticket .The airline
reserves atleast 20 seats for exec. Class.However atleast 4 times as many passengers
prefer to travel by economy class than by exec class.Formulate LPP to determine how
many tickets of each type must be sold in order to max profit for the airline?

 5. A dietician wishes to mix two types of foods in such a way that vitamin contents of the
mixture contain atleast 8 units of vitamin A and 10 units of vitamin C. Food ‘I’ contains 2
units/kg of vitamin A and 1 unit/kg of vitamin C. Food ‘II’ contains 1 unit/kg of vitamin A
and 2 units/kg of vitamin C. It costs Rs 50 per kg to purchase Food ‘I’ and Rs 70 per kg to
purchase Food ‘II’. Formulate this problem as a linear programming problem to minimise
the cost of such a mixture

 6. A manufacturing company makes two models A and B of a product. Each piece of Model
A requires 9 labour hours for fabricating and 1 labour hour for finishing. Each piece of
Model B requires 12 labour hours for fabricating and 3 labour hours for finishing. For
fabricating and finishing, the maximum labour hours available are 180 and 30 respectively.
The company makes a profit of Rs 8000 on each piece of model A and Rs 12000 on each
piece of Model B. How many pieces of Model A and Model B should be manufactured per
week to realise a maximum profit? What is the maximum profit per week?

 7. A factory makes tennis rackets and cricket bats. A tennis racket takes 1.5 hours of
machine time and 3 hours of craftman’s time in its making while a cricket bat takes 3 hour
of machine time and 1 hour of craftman’s time. In a day, the factory has the availability of
not more than 42 hours of machine time and 24 hours of craftsman’s time. What number
of rackets and bats must be made if the factory is to work at full capacity?

LEVEL WISE QUESTIONS:


LEVEL I:
1. show that the points A(2,3,-4), B(1,-2,3) and C(3,8,-11) are collinear.
2. What do you mean by direction cosines of a line in space?
3. what is the relation between d.r’s and d.c’s of a line?
4. How are d.c’s of a line related to each other?
5. what are the d.r’s of a line segment joining two points having coordinates (x 1,y1,z1)
and (x2,y2,z2)?
6. Find the d.c’s of a line making angles 60° ,120 ° , 90 ° with x, y and z axes resp.
7. If a line has d.r’s 2,-1,-2, then determine the d.c’s of the line.
8. find the d.c’s of the line joining two points (-2,4,-5) and (1,2,3)
9. find the d.c’s of i+^ ^j-2k^
10. show that the line segment joining P(1,2,3) and Q(4,5,7) is parallel to the line
segment joining the points R(-4,3,-6) and S(2,9,2).
11. Express the line r⃗ = (i^ -2 ^j +k^ )+λ ¿+ ^j +2k^ ) in Cartesian form.
x+2 y +2 3∧x +2 y−2 z
12. find the angle between the lines = =z− = = .
2 3 4 6 2
13. find the equation of the line passing through origin and the point (-2,0,4)
6
14. find the vector equation of the plane which is at a distance of from the origin and its
√ 29
normal vector from the origin is 2iˆ 3 ˆj 4kˆ . Also find its cartesian form.

15. Find the distance of the plane 2x – 3y + 4z – 6 = 0 from the origin.


16. Find the coordinates of the foot of the perpendicular drawn from theorigin to the plane 2x –
3y + 4z – 6 = 0.
17. Find the vector and cartesian equations of the plane which passes throughthe point (5, 2, – 4)
and perpendicular to the line with direction ratios 2, 3, – 1.
18. Find the equation of the plane with intercepts 2, 3 and 4 on the x, y and z-axis respectively.
19. Find the vector equation of a plane which is at a distance of 7 units from the
origin and normal to the vector 3 iˆ 5 ˆj 6 kˆ.
20 find the coordinates of the foot of the perpendicular
drawn from the origin to the planes
(a) 2x + 3y + 4z – 12 = 0 (b) 3y + 4z – 6 = 0

LEVEL 2:

2 −1 −2
1. if a line has d.c’s , , , then find the d.r’s.
3 3 3
2. find the d.r’s of vector 2i+ ^ 3 ^j−2 k^
3. Find the d.c’s of a line which is equally inclined to all the coordinate axes.
4. If α , β , γ be the direction angles of a line, then find the value of sin2α+sin2 β+sin2γ .
5. find the d.r’s of a line parallel to the line joining the points (1,2,3) and (-2,4,0).
6. Find the shortest distance between the lines l1 and l2 given by r⃗ = (i^ +2 ^j -4k^ )+𝜆(2i^ +3 ^j +6
k^ ) And r⃗ =¿+3 ^j -5k^ )+μ ¿+3 ^j +6k^ ).
x−1 y +1 x−2 y −4 z
7. for what value of k will the lines = =z and = = cut at right
2 k 3 −2 4
angles?
x y z
8. find whether the lines parallel or perpendicular to each other = = and
2 2 −3
x+1 y z +3
= = .
3 2 2
9. find the vector equation of a line passing through the points (2,-1,4) and (1,2,-1).
10. find the equation of a plane passing through (a,b,c) and parallel to the plane r⃗ .(i^ + ^j +k^¿ ¿=2.
11. If the points (1,1,p) and (-3,0,1) be equidistant from the plane r⃗ .(3 i^ +4 ^j -12k^ )+13=0, then find
the values of p.
12. find the equation of a plane passing through the intersection of the planes r⃗ .(i^ + ^j +k^ )=1 and
r .(2i^ +3 ^j -k^¿ ¿+4=0 and parallel to X axis.
a. ⃗
13. The vector equation of the plane is r⃗ .(2i^ - ^j +2k^ )=9.reduce it to the normal form and hence find
the length of perpendicular from the origin to the plane.
14. find the length and the coordinates of the foot of perpendicular from the point (7,14,5) to the
plane 2x+4y-z=2.
15. find the image of the point (1,2,3) in the plane x+2y+4z=38.

BIOLOGY
WINTER BREAK HOLIDAYS HOME WORK(2018-19)
CLASS : XII SUB: BIOLOGY
DATE HOLIDAY ASSIGNMENT
23.12.2019 Unit: REPRODUCTION IN ORGANISMS

1.Your younger sister has seen a banana tree in the backyard of a house. She
could see the fruit but no seed. She wants to know how a new plant of banana
will be produced without seed. What will you explain to your sister?

1. A male honey bee has 16 chromosomes whereas its female has 32


chromosomes. Give one reason.
2. Write the function of the following.
a) Myometrium b) Sertoli cells
3. What is Spermatogenesis? Briefly describe the process of Spermatogenesis
with the help of diagram/flow chart.

5.Suggest two advantages to a farmer for using apomictic seeds of hybrid varieties.

24.12.2019 6.Define spermiogenesis.


7.Describe the structure of microsporangium.
8.Draw diagram of human Sperm and label following parts.
(1) Acrosome (2) Mitochondria (3) Centriole
9. A bilobed, dithecous anther has 100 microspore mother cell per microsporangium. How many
male gametophyte this anther can produce?
10. With a neat diagram explain the 7 celled, 8-nucleate stage of the female gametophyte.
25.12.2019 11 Draw a longitudinal sectional view of a typical anatropous ovule to show the site where double
fertilization takes place. Label any four major parts of the ovule.

12 How do the male gametes that are present in the pollen grains reach the site mentioned by you
in part (a) to cause double fertilization?
13 What feature of flowers facilitates pollination by birds?
14 What is lactional amenorrhea?

15 Mention the unique flowering mechanism exhibited by Strobilanthus kunthiana.

26.12.2019 16 The flower of brinjal is referred to as chasmogamous while that of beans is cleistogamous, why?
17 Incompatibility is a natural barrier in fusion of gametes. Justify.
18 What is menstrual cycle? Which hormones regulate menstrual cycle?

19.What is placenta? Why placenta is called endocrine gland? What hormones are released by it during
pregnancy?

20 STD’S are a threat to reproductive health. Describe any two such diseases and suggest preventive
measures

21 Suggest some methods to assist infertile couples to have children

22 What is the importance of first and second resting stage in oogenesis?

27.12.2019 UNIT : ECOLOGY


1. What is biological magnification? Give one example.

2. BOD of two sample of water-A and B were 80 mg/ litre and 200 mg/ litre
respectively. Which sample is more polluted?
3. Name the interaction in each of the following-
(a) Cuckoo lays her eggs in the crow’s nest.
(b) Orchid grows on a mango tree.
(c) Ticks live on the skin of dog
(d) Mycorrhizae living on the roots of higher plants..

4.Study the population growth curve in the graph given below and answer the
questions which follow;-
(a) Identify the growth curves ‘a’ and ‘b’
(b) Which one of them is considered more realistic one and why?
(c) If dN/dt= rN (k-N/K) is the equation of the logistic growth curve, what
does k stands for?
4. Ornithologist observed decline in the bird population in an area near a lake
after the setting of an industrial unit in the same area? Explain the cause
responsible for the decline observe.

28.12.2019
6.a) If you had ever been to any high altitude place (>3500 m Rohtang Pass near
Manali and Mansarovar, in China occupied Tibet) you must have experienced
what is called altitude sickness.
(i) What are the symptoms of altitude sickness?
(ii) Why does altitude sickness occur?
(iii) How does your body solve this problem?
(b) Very small animals are rarely found in Polar Regions. Give reason.

7. i. “Alien species are highly invasive and a threat to species diversity.”


Substantiate this statement with one example each from plants and animals.
ii. List two criteria to determine a hotspot of biodiversity.
iii. Name two hotspots of biodiversity in India.
8.Why is Gambusia introduced into drains and ponds?

29.12.2019 UNIT: MOLECULAR BIOLOGY


1. Mention the polarity of the DNA strands a-b and c-d shown in the replication
fork given below.

2. i) Differentiate between the unambiguous and degenerate nature of the


Genetic code.
ii) Write down the machinery required for the replication of DNA.
3 . See the fig. given below and answer
30.12.2019

a) Name the molecule “X” synthesised by “i” gene. How does this molecule get
inactivated?
b) Which one of the structural genes codes for β-galactosidases?
c) When will the transcription of this gene will stop?
4.A woman with blood group O married a man with AB group. Show the possible
blood groups of the progeny. List the alleles involved in the inheritance.

5.State Hardy-weinberg Principle? Write and explain the equation of Hardy-


Weinberg Equilibrium. Name the factors which disturb this equilibrium. When
there is disturbance in hardy-Weinberg equilibrium, what would it result in?

31.12.2019 6. Explain the process of transcription in eukoryotes


7.Figure given below is of Darwinian Finches.

i) Mention the specific geographical area where these were found?


ii) Name and explain the phenomenon that has resulted in the evolution of
such diverse species in the region.
iii) How did Darwin visit the particular geographical area?
7. Write short notes on co dominance and incomplete dominance
8.If there is a history of haemophilia in a family ,the chances of male members
becoming haemophilic are more than that of female. Give reason.write the
symptoms of this disease

9. If a double stranded DNA have 20% of Cytosine calculate the %age of Adenine in the DNA.
State the underlying rule?

10 What is Down ‘s syndrome ? Give its symptoms and reason


01.01.2020 .
11. Define and design a TEST CROSS . What is its application
12. Name the Phenomenon that leads to situation like XO abnormality in humans. How do humans with
XO abnormality suffer? Explain
13Write short note on thalassemia? How does it differ from sickle cell anaemia
14Which cross is used to find the genotype of parents? What is ratio of that cross for a dihybrid
cross?
15 If ATGAUGGAGTTCTACGTGATT is the sequence of nucleotide bases on coding strand of DNA in 5’
to 3’ direction then,
i) Write down the sequence of nucleotide bases on mRNA.
ii) How many amino acids will it code for?
02.01.2020 16. Name the ancestors of modern day frog and salamanders?
17.Why histones are positively charged?
18.If two genes are located far apart from each other on a chromosome .What will be its effect on frequency
of recombination?
19. For which main technique an instrument is used to isolate DNA from a plant cell?
20 (a) What did Meselson and Stahl observe when
-They cultured E.coli In medium containing 15 NH4Cl for a few generations and centrifuge
the content.
-They transferred one such bacterium to the normal medium of NH4Cl and cultured for two
generations.
(b) What did Meselson and Stahl conclude from this experiment.

03.01.2020 UNIT: HUMAN HEALTH &DISEASES


1.Expand the following-
A) MALT B)ELISA C) SCP D) BOD
2.Name the Microorganism that produces cyclosporin A .
3.Name two high yielding ant disease resistant varieties of wheat grown in india.
4. Name the host and the site where the following occur in the life cycle of a malarial
Parasite :
a) formation of gametocytes b) fusion of gametocytes
5.Draw the structure of an antibody molecule.
04.01.2020 6. In animal husbandary if two closely related animals are mated for a few generations,
It results in loss of fertility and vigour .why?also suggest one method to overcome it .

7. Name a genus of baculovirus used as biocontrol agent. Why are they considered good
Bio agents ?
8. Mention one application of each of the following :
1) histamines 2) interferons 3) B- lymphocytes
9 Differentiate between benign and malignant tumours. (any 3 points)

10 a) What are methanogens ? how do they help in producing biogas .


b) Distinguish between primary and secondary treatment of sewage in sewage treatment
plant.
05.01.2020 11.Show replication of AIDS virus with the help of a diagram.

12.Name the blank spaces A,B,C,D given in the following table.


Type of microbe Name Commercial product
Bacterium A Lactic acid
Fungus B Cyclosporin A

C Monescus purpureous Statins


Fungus Penicillium notatum D
13.A Patient showed symptoms of sustained high fever,stomach pain and constipation but no blood clot in
stools. Name the diseases and its pathogen .write the diagnostic test for the disease. How does the disease
gets transmitte?

14 What is inbreeding depression and how is it caused in organisms? Write any one advantage of
inbreeding.

15 Name an opioid drug and its source plant. How does the drug effect the human body ?
06.2.2020 16 What are interferons ? Explain their role in providing immunity.? Also name the kind of immunity
provided by them ?
17 What are somaclones? How are they produced?
18 Define Biofortification and MOET .Write their importance .
19 a)Differentiated between out breeding and outcrossing

b)Mention the property of plant cells that help in growing crops by tissue culture .Also give two
advantages of micro propagation

20. In which part of the human body of the hosts do the following events in the life cycle of
plasmodium take place?

Name both, the body part and the host.


(a) Fertilization
(b) Development of gametocytes
(c) Release of sporozoites
(d) Asexual reproduction
07.01.2020 Unit : Biotechnology
1.Name the enzyme used to break cell wall during isolation of DNA.
2. Name the purpose for which the Indian government has setup GEAC.
3.Name the technique based on the principle of antigen-antibody interaction used in detection of
virus(HIV). Name one another application of this technique.
4. What is GMO? Give any two purposes for GMO are produced.
5.Why is proinsulin so called? How is insulin different from it?

08.01.2020 6.Why and how bacteria can be made ‘competent’?


7.Name the pest that destroys the cotton bolls.Explain the role of Bacillusthuringiensisin
protecting the cotton crop against the pest to increase the yield
8. How are the DNAfragments separated and isolated for DNAfingerprinting?Explain.
9.(a) Name the deficiency for which first clinical gene therapy was given.

(b)Mention the causes ofand one cure for this deficiency.


10. a) Explain the role of EcoRI in the formation of recombinant DNA.
(b)Explain insertional inactivation used in the selection of recombinants in
biotechnology experiments.

BUSINESS STUDIES
1. Practice latest three CBSE sample papers
2. Do follow up of first pre-board.
3. Complete your CBSE project file.

You might also like