a text book on informatics practices ip intial... · 2017-07-13 · mukesh kumar, dps, rk puram,...
TRANSCRIPT
INFORMATICSPRACTICES
A Text Book on
Shiksha Kendra, 2, Community Centre, Preet Vihar, Delhi-110 092 India
CLASS XII
A text book on Informatics Practices, Class XII.
PRICE : Rs.
FIRST EDITION 2011 © CBSE, India
COPIES:
PUBLISHED BY : The Secretary, Central Board of Secondary Education, Shiksha Kendra, 2, Community Centre, Preet Vihar, Delhi-110092
DESIGN, LAYOUT : Multi Graphics, 5745/81, Reghar Pura, Karol Bagh,
New Delhi-110005, Phone : 25783846
PRINTED BY :
"This book or part thereof may not be reproduced byany person or agency in any manner."
Foreword Foreword Invention of Machines led to take up heavier, hazardous and heavy duty tasks beyond
limits of human capacity. With the advent of computer, imagination got expanded
networking worldwide. ICT (Information and Communication Technology) deals with
information to compute / process and to communicate to other users. The ICT policy in
School education aims at augmenting creativity and promoting global competitiveness.
With this backdrop care is to be taken to impart ICT instructions so as to promote critical
thinking, collaborative learning and multi discipline problem-solving skills.
The curriculum of "Informatics Practices" has been revised accordingly with focus on
rapid application development using IDE, data processing and domain-specific
applications, e.g. e-Governance, e-Business and e-Learning. Use of open source software
is encouraged.
In its first attempt, the text book of Informatics Practices for Class XI has been published.
The text book of Informatics Practices for Class XII is ready. I am happy to release the
same. In the Syllabus of IP for Class XII a unit on Networking and Open Standards has
been introduced.. RDBMS (Relational Database Management System)is dealt with
using MYSQL in place of SQL & PL/SQL using oracle. A new unit on IT Applications has
been added with three focused domains to enhance understanding the above tools and
techniques to solve real life problems by designing both front end and back end with
proper data connectivity.
The text book includes puzzles in the beginning of the chapters to motivate students for
collective and joyful learning of the subject. Cue to future trends may ignite curiosity.
My thanks are due to the text book development team aptly steered by Prof.Omvikas.
Appreciation is also due to Mrs. Chitralekha Gurumurthy, Director (Acad.) and Dr.
(Smt) Srijata Das, Education Officer, for Planning, coordinating and executing this
initiative resulting into this publication.
I hope that all students and teachers will benefit from this publication. Their feedback
will be highly appreciated for further improvement.
VINEET JOSHI
CHAIRMAN
Hkkjr dk lafo/ku
ewy dÙkZO;
mísf'kdk
Hkkx 4 d
51 d- ewy dÙkZO; & Hkkjr ds izR;sd ukxfjd dk ;g dÙkZO; gksxk fd og &
(d) lafo/ku dk ikyu djs vkSj mlds vkn'kksZa] laLFkkvksa] jk"Vªèot vkSj jk"Vªxku dk vknj djs_
([k)Lora=krk ds fy, gekjs jk"Vªh; vkanksyu dks izsfjr djus okys mPp vkn'kksZa dks ân; esa latks, j[ks vkSj mudk ikyu djs_
(x)Hkkjr dh izHkqrk] ,drk vkSj v[kaMrk dh j{kk djs vkSj mls v{kq..k j[ks_
(?k)ns'k dh j{kk djs vkSj vkg~oku fd, tkus ij jk"Vª dh lsok djs_
(Ä)Hkkjr ds lHkh yksxksa esa lejlrk vkSj leku HkzkrRo dh Hkkouk dk fuekZ.k djs tks /eZ] Hkk"kk vkSj izns'k ;k oxZ ij vk/kfjr lHkh
HksnHkko ls ijs gksa] ,slh izFkkvksa dk R;kx djs tks fL=k;ksa ds lEeku ds fo#¼ gSa_
(p)gekjh lkekfld laLÑfr dh xkSjo'kkyh ijaijk dk egÙo le>s vkSj mldk ijh{k.k djs_
(N)izkÑfrd i;kZoj.k dh ftlds varxZr ou] >hy] unh] vkSj oU; tho gSa] j{kk djs vkSj mldk lao/Zu djs rFkk izkf.kek=k ds izfr
n;kHkko j[ks_
(t)oSKkfud nf"Vdks.k] ekuookn vkSj KkuktZu rFkk lq/kj dh Hkkouk dk fodkl djs_
(>)lkoZtfud laifÙk dks lqjf{kr j[ks vkSj fgalk ls nwj jgs_
(×k)O;fDrxr vkSj lkewfgd xfrfof/;ksa ds lHkh {ks=kksa esa mRd"kZ dh vksj c<+us dk lrr iz;kl djs ftlls jk"Vª fujarj c<+rs gq, iz;Ru
vkSj miyfC/ dh ubZ mapkb;ksa dks Nw ysA
ge] Hkkjr ds yksx] Hkkjr dks ,d ¹lEiw.kZ izHkqRo&laiUu lektoknh iaFkfujis{k yksdra=kkRed x.kjkT;º cukus ds fy,] rFkk
mlds leLr ukxfjdksa dks%
lkekftd] vkfFkZd vkSj jktuSfrd U;k;]
fopkj] vfHkO;fDr] fo'okl] /eZ
vkSj mikluk dh Lora=krk]
izfr"Bk vkSj volj dh lerk
2izkIr djkus ds fy,] rFkk mu lc esa] O;fDr dh xfjek vkSj ¹jk"Vª dh ,drk vkSj v[k.Mrkº lqfuf'pr
djus okyh ca/qrk c<+kus ds fy, n<+ladYi gksdj viuh bl lafo/ku lHkk esa vkt rkjh[k 26 uoEcj] 1949 bZñ dks ,rn~}kjk bl
lafo/ku dks vaxhÑr] vf/fu;fer vkSj vkRekfiZr djrs gSaA
1-lafo/ku (c;kyhloka la'kks/u) vf/fu;e] 1976 dh /kjk 2 }kjk (3-1-1977) ls ¶izHkqRo&laiUu yksdra=kkRed x.kjkT; ds LFkku ij izfrLFkkfirA
2-lafo/ku (c;kyhloka la'kks/u) vf/fu;e] 1976 dh /kjk 2 }kjk (3-1-1977 ls)] ¶jk"Vª dh ,drk ds LFkku ij izfrLFkkfirA
THE CONSTITUTION OF INDIAPREAMBLE
1WE, THE PEOPLE OF INDIA, having solemnly resolved to constitute India into a SOVEREIGN SOCIALIST SECULAR DEMOCRATIC REPUBLIC and to secure to all its citizens :
JUSTICE, social, economic and political;
LIBERTY of thought, expression, belief, faith and worship;
EQUALITY of status and of opportunity; and to promote among them all
2FRATERNITY assuring the dignity of the individual and the [unity and integrity of the Nation];
IN OUR CONSTITUENT ASSEMBLY this twenty-sixth day of November, 1949, do HEREBY TO
OURSELVES THIS CONSTITUTION.
THE CONSTITUTION OF INDIA
Chapter IV A
Fundamental Duties
ARTICLE 51A
Fundamental Duties - It shall be the duty of every citizen of India-
(a) to abide by the Constitution and respect its ideals and institutions, the National Flag and the National Anthem;
(b) to cherish and follow the noble ideals which inspired our national struggle for freedom;
(c) to uphold and protect the sovereignty, unity and integrity of India;
(d) to defend the country and render national service when called upon to do so;
(e) To promote harmony and the spirit of common brotherhood amongst all the people of India transcending religious, linguistic and regional or sectional diversities; to renounce practices derogatory to the dignity of women;
(f) to value and preserve the rich heritage of our composite culture;
(g) to protect and improve the natural environment including forests, lakes, rivers, wild life and to have compassion for living creatures;
(h) to develop the scientific temper, humanism and the spirit of inquiry and reform;
(i) to safeguard public property and to abjure violence;
(j) to strive towards excellence in all spheres of individual and collective activity so that the nation constantly rises to higher levels of endeavour and achievement.
1. Subs, by the Constitution (Forty-Second Amendment) Act. 1976, sec. 2, for "Sovereign Democratic Republic (w.e.f. 3.1.1977)
2. Subs, by the Constitution (Forty-Second Amendment) Act. 1976, sec. 2, for "unity of the Nation (w.e.f. 3.1.1977)
Shri Vineet Joshi, Chairman, CBSE
Smt. Chitralekha Gurumurthy, Director (Academics)
•
•
•
•
•
•
•
•
Mukesh Kumar, DPS, RK Puram, Delhi
Mrs. Nancy Sehgal, Mata Jai Kaur Public School, Ashok Vihar, Delhi
Mrs. Gurpreet Kaur, GD Goenka School, Vasant Kunj, Delhi
Yogesh Kumar, Mira Model School, Janak Puri, New Delhi
Mrs. Ritu Arora, DPS, Gurgaon
Mrs. Divya Jain, Apeejay, Noida
DEVELOPMENT TEAM
CONVENOR & EDITOR
CBSE ADVISORS
Prof. Om Vikas, Former Director, IIITM, Gwalior•
MEMBER COORDINATOR
Dr. Srijata Das, Education Officer, CBSE, Delhi•
ACKNOWLEDGEMENTS ACKNOWLEDGEMENTS
COMPUTER NETWORKING
INFORMATICS PRACTICES
GUI PROGRAMMING -
A REVIEW
ADVANCED PROGAMMING
CONCEPTS
1
DATA CONNECTIVITY
150
39
56
103
122
191
244
270
315
362
334
OPEN SOURCE CONCEPTS
BASICS OF OBJECT
ORIENTED PROGRAMMING
CO
NT
EN
TS
1
2
3
4
5
6
WEB APPLICATIONS
MYSQL REVISION TOUR
7
8MORE ON DATABASES
AND SQL9
10 ADVANCED RDBMS
CONCEPTS
11 IT APPLICATIONS
APPENDIX