Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following...

22
Date: WORKSHEET Subject: Chemistry Class: XII Ch: Chemistry in everyday life Max. Marks: 1: What are the main constituents of dettol? 2: Define Antihistamine with an example. 3: Describe the following giving one example for each: Cationic detergents (b) Antacids (c) Food preservatives 4: How do antiseptics differ from disinfectants? Give one example for each. 5: Answer the following questions: a) Why is use of aspartame limited to cold food and drink? b) Soaps do not work in hard water. Why? c) Why is bithional added to soap? 6: What is meant by the term broad spectrum antibiotics? Explain. 7: What is meant by the following: a) Antipyretics b) Tranquilizer c) Antioxidants 8: Explain the term drug targets as used in medicinal chemistry. 9: Name the macromolecules that are chosen as drug targets. 10: Why should not medicines be taken without consulting doctor? 11 : Define the term chemotherapy. 12: Which forces are involved in holding the drugs to the active sites of enzymes? 13 : Why are cimetidine and rantidine better antacids than sodium bicarbonate or magnesium hydroxide? 14: Name a substance that can be used as an anticeptic as well as disinfectant. 15 : What is tincture of iodine? What is its use? 16: What are food preservatives? 17: What are artificial sweetening agents? 18: How are synthetic detergents better than soaps? 19: What are biodegradable and non biodegradable detergents? Give one example of each. 20: Explain the cleansing action of soap. 21: What are analgesics? How do they differ from antipyretics? 22: Which substance can act both as analgesic and antipyretic ? 23: How do tranquilizers act? Give two eg. 24: How is acidity caused? What is the role of antacid?

Transcript of Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following...

Page 1: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide

Date: WORKSHEET Subject: Chemistry

Class: XII Ch: Chemistry in everyday life Max. Marks:

1: What are the main constituents of dettol? 2: Define Antihistamine with an example. 3: Describe the following giving one example for each: Cationic detergents (b) Antacids (c) Food preservatives 4: How do antiseptics differ from disinfectants? Give one example for each. 5: Answer the following questions: a) Why is use of aspartame limited to cold food and drink? b) Soaps do not work in hard water. Why? c) Why is bithional added to soap? 6: What is meant by the term broad spectrum antibiotics? Explain. 7: What is meant by the following: a) Antipyretics b) Tranquilizer c) Antioxidants 8: Explain the term drug targets as used in medicinal chemistry. 9: Name the macromolecules that are chosen as drug targets. 10: Why should not medicines be taken without consulting doctor? 11 : Define the term chemotherapy. 12: Which forces are involved in holding the drugs to the active sites of enzymes? 13 : Why are cimetidine and rantidine better antacids than sodium bicarbonate or magnesium hydroxide? 14: Name a substance that can be used as an anticeptic as well as disinfectant. 15 : What is tincture of iodine? What is its use? 16: What are food preservatives? 17: What are artificial sweetening agents? 18: How are synthetic detergents better than soaps? 19: What are biodegradable and non biodegradable detergents? Give one example of each. 20: Explain the cleansing action of soap. 21: What are analgesics? How do they differ from antipyretics? 22: Which substance can act both as analgesic and antipyretic ? 23: How do tranquilizers act? Give two eg. 24: How is acidity caused? What is the role of antacid?

Page 2: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide

25: In what way prolonged use of antacid is harmful? 26: Why is the use of pencillin usually discouraged? 27: What is antibiotic? Give the name of the first antibiotic discovered. 28: Why is it preferable to take antacids after meals? 29: What are antifertility drugs? Give example. 30: How can phenol behave both as antiseptic as well as disinfectant? L-10 HALOALKANES AND HALOARENE 1. Arrange the following compounds in increasing order of SN1 reactivity. ClCH2CH=CHCH2CH3, CH3C(Cl) =CHCH2CH3, CH3CH=CHCH2CH2Cl 2. Arrange the following compounds in increasing order of SN2 reactivity. 2-bromo-2-methylbutane, 1-bromopentane, 2-bromopentane 3. Why the presence of EWG at ‘O’ and ‘P’ positions increases the reactivity of haloarenes towards NSR? 4. Why aryl halides are less reactive towards NSR? 5. Why the dipole moment of chlorobenzene is lower than that of cyclohexyl chloride? 6. Why Grignard’s reagents should be prepared under anhydrous condition? 7. Why P-nitrochlorobenzene undergoes NSR faster than chlorobenzene? 8. Primary alkyl halide (A) C4H9Br reacted with alc.KOH to give compound ‘B’.Compound ‘B’ reacted with HBr to give ‘C’ which is an isomer of ‘A’. When ‘A’ was reacted with Na metal, it gave a compound’A’ C8H18 that was different than the compound when n-butyl was reacted with sodium. Give the structural formula of ‘A’ and write the equation for all the reactions. 9. Write a short note on the following: i) Sandmeyer’s reaction ii) Wurtz reaction iii) Dow’s process iv) Finkelestein reaction v) Swart’s reaction vi) Wurtz-Fittig reaction 10. How will you bring out the following conversions? i) Chlorobenzene to phenol ii) Isopropyl bromide to n-propyl bromide iii) Aniline to Iodobenzene 10. Give the mechanism for the following reaction:

Page 3: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide

( CH3)3CBr+OH------(CH3)3COH+Br-

11. Distinguish between the following pairs: a. Bromobenzene and benzyl bromide b. n-Propyl alcohol and isopropyl alcohol 12. Write the structural formula and IUPAC name of DDT. 13. What are ambient nucleophiles? Explain with an example.

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

Page 4: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide

Date: WORKSHEET HOLIDAY ASSIGNMENT 2017:

Subject: BIOLOGY

Class: XII Ch: REPRODUCTION - UNIT 1;

Max. Marks:

Q1.When will Stobilanthus kunthiana flower for the next time in future Q2.Name a marine plant pollinated by means of hydrophil. Q3..Why is it important to feed the newborn babies on colostrum? Q4. Acouple where both are producing functional gametes ,but the wife is still unable to conceive ,is seeking medical aid .Name any two methods that you can suggest to this couple to become happy parents. Q5.Differentiate between albuminous and non-albuminous seeds ,giving one example of each. Q6.In haploid organisms that undergo sexual reproduction ,name the stage in the life cycle when meiosis occurs.Give reasons for your answer Q7. Explain the structure of a human sperm? Q8Explain the process of parturition? Q9.Why is it important to feed the new born babies on colostrum? Q10.Draw a labeled sectional view of semineferous tubules of a human male. Q11. Draw a labeled figure of an Ovum with its protective coverings. Q12.What are major functions of male accessory ducts and glands ? Q13. How does microspore mother cell develop into mature pollen grain in angiosperm? Q14Describe the structure of a mature pollen grain and draw a labeled diagram of its two- celled stage. Q15. Explain the changes the primary oocyte undergoes while in different follicular stages before ovulation.

Page 5: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide

Date: WORKSHEET HOLIDAY ASSIGNMENT 2017:

Subject: PHYSICS

Class: XII CHAPTER 1 & 2 Max. Marks:

Page 6: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide
Page 7: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide
Page 8: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide
Page 9: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide
Page 10: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide
Page 11: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide

Date: WORKSHEET HOLIDAY ASSIGNMENT 2017:

Subject:

MATHEMATICS

Class: XII CHAPTER 1, 2, 3 & 4 Max. Marks:

Answer the following. CHAPTERS - 1

Let f and g be two real functions defined as f(x) = 3x-2 and g(x) = 2+𝑥

3.

Find fog and gof. Can we say that one is inverse of the other? Consider f : R+ → [-9,∞) given by f(x) = 5x2 + 6x – 9. Prove that f is invertible. Also, find 𝑓−1. On the set R-{-1} a binary operation * is defined by a * b = a + b + ab for all a,b ∈ R-{-1}. Prove that * is commutative as well as associative on R-{-1}. Find the identity element, if exist. Also, prove that every element of R-{-1}is invertible.

If f(x) = 𝑥2 + 1 and g(x) = 1

𝑥−1 , find gof (5).

Let A = WxW and * be the binary operation on A defined by (a,b)*(c,d) = (a+c, b+d). Show that * is commutative and associative. Find the identity element for * on A, if any. Let N be the set of all natural numbers and R be the relation on N x N defined by (a,b)R(c,d) iff ad (b+c) = bc (a+d). Show that R is an equivalence relation. If the binary operation * on the set of integers is defined as a * b = a+3b 2, find the value of 8 * 3 .

If the function f: RR is given by f(x)= x 2 + 3x + 1 and g: R R is given by g(x) = 2x – 3 ,find fog and gof . Let Z be the set of integers and R be the relation on Z defined as

R = {(a,b): a – b is divisible by n, a,b Z}. Prove R is an equivalence relation.

Let * be a binary operation on Q defined by a* b =3𝑎𝑏

5. Show that * is commutative as well as

associative. Also find the identity element if it exists.

Show that the relation S on the set of real numbers, defined as S = {(a,b) : a ≤ b 3 , a,b R } is neither reflexive nor symmetric nor transitive .

Show that the relation R in the set A = {x: x Z ,0 ≤ x ≤ 12 } given by R = {(a,b) : |a – b | is divisible by 4 } is an equivalence relation . Find the set of all elements related to 1. Let A = Q x Q .Let * be a binary operation on A defined by (a , b) * (c , d ) = (ac , ad + b). Check if * is associative. Find identity element and invertible elements of (A,*). Find the number of relations from A to B ,if n(A) = 3 and n (B) = 2 . Let X be a non-empty set. P ( X ) be its power set. Let be an operation defined

on elements of P ( X ) by , A B = A B XPBA , . (i) Prove that is a binary operation in

P ( X ). ( ii) Is commutative? ( iii) Is associative? (iv) Find the identity element in P ( X ) w.r.t (v) Find all the invertible elements of P (X ).

Find the inverse of the function f: NN defined by f(x)= x 2 + x + 1, x N, if it exists.

If f: R R and g : R R defined by f(x)= 2x2 +3x + 5 and g(x) = 4x – 5 ,find (g f )(-3).

Let A = R – {2} and B = R – {1} .If f: A B is a function defined by 𝑓(𝑥) = 𝑥−1

𝑥−2 ,show that f is

bijective. Hence find f - 1. If A = N X N and * on A is defined by (a , b)*(c,d)= (ad+ bc , bd) for all (a,b),(c,d) 𝜖 A, then show that * is (i) commutative (ii) associative (iii) find identity element if any.

Page 12: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide

(iv) find inverse. CHAPTERS – 2

Simplify: tan[1

2cos−1 √5

3].

Simplify: tan−1 (3 𝑠𝑖𝑛2𝑥

5 + 3 𝑐𝑜𝑠2𝑥) + tan−1 (

𝑡𝑎𝑛𝑥

4).

𝐼𝑓 cos−1 (𝑥

𝑎) + cos−1 (

𝑦

𝑏) = ∝ , Prove that

𝑥2

𝑎2 −2𝑥𝑦

𝑎𝑏cos ∝+

𝑦2

𝑏2 = 𝑠𝑖𝑛2 ∝

Solve for x : sin−1(1 − 𝑥) − 2 sin−1 𝑥 = 𝜋

2

Prove : tan−1 (1

4) + tan−1 (

2

9) =

1

2cos−1 (

3

5)

Write the principal value of cos – 1 (cos 7𝜋

6).

Prove that sin -1 3/5 - sin -1 8/17 = cos -1 84/85 .

If tan - 1 x + tan - 1 y =𝜋

4 ,where xy < 1, find the value of x+y+ xy .

Find x , if tan – 1 3 + cot - 1 x = 𝜋

2 .

Prove: 135

6

2

3cot

5

3sincos 11

.

Solve for x : 2 tan – 1 (sin x)= tan – 1 (2 sec x), 0 < x <𝜋

2.

Solve for x : cos - 1 x + sin – 1 𝑥

2 =

𝜋

6 .

Show that : tan – 1 1+ tan – 1 2 + tan – 1 3 = 2 (tan – 1 1 + tan – 1 ½ + tan – 1 1/3 )

If cos – 1 x + cos – 1 y + cos – 1 z = , 0 <x , y , z <1,show that x 2 + y 2 + z 2 +2xyz = 1. Evaluate sin - 1 ( cos (- 105 0 ) ).

Solve for x : 𝑠𝑖𝑛−1 2𝑎

1+𝑎2 + 𝑠𝑖𝑛−1 2𝑏

1+𝑏2 = 2𝑡𝑎𝑛−1𝑥, 𝑎𝑏 < 1

Prove: sin−1 ( 12

13) + cos−1 (

4

5)+ tan−1 (

63

16) = π

Write the principal value of tan−1 √3 − sec−1(−2).

Solve for x: 2tan−1(𝑠𝑖𝑛𝑥) = tan−1 (2

𝑐𝑜𝑠𝑥) , x ≠

𝜋

2 .

Prove: sin−1 ( 12

13) + cos−1 (

4

5)+ tan−1 (

63

16) = π

Prove: tan−1 (1

8) + tan−1 (

1

5) + tan−1 (

1

2) =

𝜋

4

Find the principal value of cot - 1 ( - 1

√3 )

If tan – 1 x + tan – 1 y + tan – 1 z = 𝜋

2 , prove that xy + yz + zx = 1.

Solve for x: cos−1 (𝑥2−1

𝑥2+1) + tan−1 (

2𝑥

𝑥2−1) =

2𝜋

3

Prove : tan[𝜋

4+

1

2cos−1 (

𝑎

𝑏)] + tan[

𝜋

4 ‒

1

2cos−1 (

𝑎

𝑏)] =

2𝑏

𝑎

CHAPTERS – 3 and 4

Page 13: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide

If A = [0 −𝑡𝑎𝑛

𝜃

2

𝑡𝑎𝑛𝜃

20

] and I is the identity matrix of order 2, show that (I +A) = (I – A)

[𝑐𝑜𝑠𝜃 −𝑠𝑖𝑛𝜃𝑠𝑖𝑛𝜃 𝑐𝑜𝑠𝜃

].

Express (i) A = [3 3 −1

−2 −2 1−4 −5 2

] (ii) A = [3 −2 −43 −2 −5

−1 1 2] as the sum of a symmetric and a skew

symmetric matrix.

Using elementary transformation, find the inverse of (i) [2 −1 44 0 23 −2 7

] (ii) [1 −1 20 2 −33 −2 4

].

If A = [0 1

−1 0] , find x , y such that (x I + y A ) 2 = A.

Given A = [2 2 −4

−4 2 −42 −1 5

] , B = [1 −1 02 3 40 1 2

] , find BA and use this to solve the system of

equations y + 2z = 7 ; x – y =3 and 2x + 3y + 4z = 17.

If A= [0 𝑖𝑖 1

] and B = [0 11 0

], then find the value of |2A| + |3B|.

For the matrix A = [2 −1 1

−1 2 −11 −1 2

] Verify that A3−6A2 + 9A −4I = O. hence find 𝐴−1.

Using properties of determinants, prove the following

|a2 + 1 ab ac

ab b2 + 1 bcca cb c2 + 1

| = ( 1 + a2 + b2 + c2).

|a2 bc ac + c2

a2 + ab b2 acab 𝑏2 + 𝑏𝑐 c2

| = 4 a2 b2 c2

|

(𝑏 + 𝑐)2 𝑎2 𝑎2

𝑏2 (𝑐 + 𝑎)2 𝑏2

𝑐2 𝑐2 (𝑎 + 𝑏)2

| = 2abc(𝑎 + 𝑏 + 𝑐)3

|a + b + 2c a b

c b + c + 2a bc a c + a + 2b

| = 2(a+b+c) 3 .

|1 1 1𝑎 𝑏 𝑐𝑎3 𝑏3 𝑐3

|= (a-b)(b-c)(c-a)(a+b+c)

Page 14: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide

|𝑥 𝑥2 1 + 𝑎𝑥3

𝑦 𝑦2 1 + 𝑎𝑦3

𝑧 𝑧2 1 + 𝑎𝑧3

|=(x-y)(y-z)(z-x)(1+a xyz).

If A= [2 1 34 −1 0

−7 2 1], find A-1 and hence solve the following system of equations:

2x + y + 3z = 3 , 4x – y = 3 , -7x +2y + z = 2 The management committee of a residential colony decided to award some of its members for honesty, some for helping others and some others for supervising the workers to keep the colony neat and clean. The sum of all the awardees is 12. Three times the sum of awardees for cooperation and supervision added to two times the number of awardees for honesty is 33. If the sum of the number of awardees for honesty and supervision is twice number of awardees for helping others. Using matrix method , find the number of awardees of each category. Apart from these 3 values , suggest one more value which the management committee of the colony must include for awards. Two factories decided to award their employees for 3 values of resourcefulness, competence and determination in the form of Rs x, Rs y and Rs z respectively. The first factory decided to award 4,3 and 2 employees with a prize money of Rs 37,000 and the second factory decided to award 5,3 and 4 employees with a total prize money of Rs 47000. If all the 3 prizes per person together amount to Rs 12000, then using matrix method find x , y and z. Two Trusts A and B receive Rs. 70,000 and Rs. 55,000 respectively from Central Government to award prize to persons of district in three fields agriculture, education and social service. Trust A awarded 10, 5 and 15 persons in the field of agriculture, education and social service respectively while trust B awarded 15, 10 and 5 persons respectively. If all three prizes together amount to Rs. 6000, then find the amount of each prize by matrix method. What field do you prefer most for award for development of society? Give one reason with justification.

If A = [𝑐𝑜𝑠 ∝ −𝑠𝑖𝑛 ∝𝑠𝑖𝑛 ∝ 𝑐𝑜𝑠 ∝

], then for what value of ∝ is A an identity matrix?

If 𝐴𝑇= [3 4

−1 20 1

] and B = [−1 2 11 2 3

], then find 𝐴𝑇 − 𝐵𝑇.

Find the values of x,y,z, if A = [0 2𝑦 𝑧𝑥 𝑦 −𝑧𝑥 −𝑦 𝑧

] satisfies the equation A’A = I.

Solve for x, when |15 − 2𝑥 11 1011 − 3𝑥 17 16

7 − 𝑥 14 13|= 0.

Using determinant, find the area of the triangle whose vertices are (3,8),(-4,2) and (5,-1).

Given A = [3 −41 −1

]. Using mathematical induction, prove that 𝐴𝑛= [1 + 2𝑛 −4𝑛

𝑛 1 − 2𝑛].

Page 15: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide

Using matrix method, solve : x−y+2z =1, 2y−3z =1, 3x−2y+4z =2

Find a matrix X ,such that : X

642

987

654

321.

Find the equation of the line joining A ( 1 , 3 ) and B ( 0 , 0 ) using determinants and find k if

D ( k , 0 ) is a point such that area of ABD is 3 sq. units. *********************************************************************************

Page 16: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide

Date: WORKSHEET HOLIDAY ASSIGNMENT 2017:

Subject: ENGLISH

Class: XII Max. Marks:

Q1. Answer the following questions in about 150 words: a) How is the sense of national pride and importance of education highlighted in the story ‘The Last Lesson’? b) Anees Jung portrays a gloomy sketch of the life of Saheb and Mukesh, condemned to a life of exploitation. Enumerate with evidences how the writer highlights the existence of contrasting worlds in the same society. c) Discuss the theme of the poem ‘My Mother at Sixty-Six’ elaborating on the feelings of the poet. d) How does Stephen Spender describe the children of the slum school? What kind of education is provided to these children? How does the poet hope to bring a change in the lives of these children? e) Do you agree that the predictions of the chief astrologer stand vindicated? Substantiate with evidence from the story ‘The Tiger King’. f) Draw a pen portrait of Silas Marner on the basis of your reading of the first two chapters. g) Who is Sally Oates? Narrate the incident related to Sally Oates. How does this incident affect Silas’s life in Raveloe? *******************************************************

Page 17: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide

APRIL- 2017 HOLIDAY HOME-WORK Subject: Graphic Design

Class: XII CHAPTERS -3,4 & 8

Chapter 3 In your sketch book do studies of plants and its sections of plants and leaves. Make onefinal composition in ¼ imperial sheet in water colours. Take the reference of anatomy books and make 20 sketches of different parts of body, positions of head and complete human figures. Use the crockery, water bottle, furniture available in your home / kitchen and arrange them for still life study. Do at least 3 line studies, evaluate each shortly and choose the best composition for final work on ¼ imperial sheet in water colours. Chapter 4 Select two paintings of contemporary artists based on the colour scheme analyse the mood of the paintings. Chapter 8 Compose a image with using two or more images/photographs in digitally, with help of add-layer musk techniques. Corporate Design (research project)Find a your Favorite Brand, select a product. Collect ‘logo’ image of your Favorite Brand and two similar brands, Collect images of your selected products images and two similar brands, Collect Advertises of your Favorite Brand 1 print media, 1 video advertise Create your own logo for your selected Brand - select one best out of three. Create your own colour scam for your selected Brand - select one best out of three.

Page 18: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide

APRIL- 2017 HOLIDAY HOME-WORK Subject: Computer Science

Class: XII CHAPTERS -3,4,5

Q1.a)What is the purpose of using typedef command in C++? Explain with suitable example. b) Name the header files required to execute the following program: void main () { char name[20],name1[30]; char ch; strcpy(name, "I Revision 2015"); puts(name); strcpy(name1,”I Revision 2016”); strcat(name,name1); puts(name1); } c) Rewrite the following program after removing syntactical error(s) if any. Underline each correction. #include<iostream.h> #define SIZE =10 VOID Main() { int a[SIZE]={1,2,3,4,5}; float x=2; SIZE=5; for(int i=0;i<SIZE;i++) cout<<a[i]%x; } d) What are preprocessor directives? Explain with examples. e) Write the Header files to run the following code. void main() { cout<<”Election 2014”; cout<<setw(9)<<”AAP”; } f) Find the output of the following program #include<iostream.h> #include <ctype.h> void Modify (char Text[], char C) { for (int K=0;Text [K]!='\0' ;K++) { if (Text[K] >='F' && Text[K] <='L') Text[K]=tolower(Text[K]);

Page 19: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide

else if (Text[K]=='E' || Text[K]=='e') Text[K]=C; else if (K%2==0) Text[K]=toupper(Text[K]); else Text[K]=Text[K-1]; } } void main( ) { char oldText[ ]= "RIFLESHOOT " ; Modify(oldText,'%'); cout <<"New TEXT:"<<oldText<<endl; } g) Find the Output of the following - #include<iostream.h> class alpha { static int count; public: alpha() { count++; cout<<”n No. of object created”<<count; } ~alpha() { cout<<”\n No. of object destroyed”<<count; count--; } }; int alpha:: count=0; void main() { cout<<”\n \n ENTER MAIN \n”; alpha A1,A2,A3,A4; {cout<<”\n\n ENTER BUILDING 1 \n”; Z alpha A5;} { cout<<”\n\n ENTER BUILDING 2 \n”; alpha A6; } cout<<”\n\n RE-ENTER MAIN \n”; } (h) Observe the following program SCORE.CPP carefully, if the value of Num entered by the user is 5, choose the correct possible output(s) from the options from (i) to (iv), and justify your option. //program : SCORE.CPP #include<stdlib.h> #include<iostream.h> void main() { randomize ();

Page 20: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide

int Num, Rndnum; cin>>Num; Rndnum = random (Num) + 5; for (int N = 1; N<=Rndnum; N++) cout<<N<<“ “; } Output Options: (i) 1 2 3 4 (ii) 1 2 (iii) 1 2 3 4 5 6 7 8 9 (iv) 1 2 3 Q2.(a)Differentiate between private and protected members of a class in context of Inheritance (b)Answer the question (i) and (ii) after going through the following class: class computer_science { char chapter[20]; int Weightage; public: computer_science( ) //Function1 { strcpy(chapter,”POINTERS”); Weightage=10; cout<<”function1 Activated”; } ~computer_science( ) //Function 2 { cout<<”function2 Deactivated”} }; i) Name the specific feature of class shown by function1 and function 2 in the above example. ii) How would function1 and function2 get executed? (c)Define a class ELECTION with the following specifications. Private members: Data : candidate_name, party, vote_received Public members: Functions : enterdetails ( ) – to input data Display ( ) – to display the details of the winner Winner ( ) – To return the details of the winner through the object after comparing the votes received by three candidates. d) Consider the following declarations and answer the questions given below : class WORLD {int H; protected : int S; public : void INPUT(int); void OUTPUT(); };

Page 21: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide

class COUNTRY : private WORLD {int T; protected : int U; public : void INDATA( int, int) void OUTDATA(); }; class STATE : public COUNTRY {int M; public : void DISPLAY (void); }; (i) Name the base class and derived class of the class COUNTRY. (ii) Name the data member(s) that can be accessed from function DISPLAY(). (iii) Name the member function(s), which can be accessed from the objects of class STATE. (iv) Which type of inheritance is shown in the above example. e)Answer the questions (i) to (iv) based on the following : class Chairperson { long CID ; //Chairperson Identification Number char CName[20] ; protected : char Description[40] ; void Allocate( ) ; public : Chairperson( ) ; void Assign( ) ; void Show( ) ; } ; class Director { int DID ; //Director ID char Dname[20] ; protected : char Profile[30] ; public : Director( ) ; void Input( ) ; void output( ) ; } ; class Company : private Chairperson, public Director { int CID ; //Company ID char City[20] , Country[20] ; public : Company( ) ;

Page 22: Date: WORKSHEET Subject: Chemistry Class: XII Ch ... · Give the mechanism for the following reaction ... Distinguish between the following pairs: a. Bromobenzene and benzyl bromide

void Enter( ) ; void Display( ) ; } ; (i) Which type of Inheritance is illustrated in the above C++ code ? (ii) Write the names of data members, which are accessible by objects of class Company. (iii) Write the name of all the member functions, which are accessible by objects of class Company. (iv) What is the size(in bytes) of an object of class company?