Cs Tutorial (1)

Embed Size (px)

Citation preview

  • 8/13/2019 Cs Tutorial (1)

    1/77

    CERTIFICATE OF TRAINING

    This is to certify that Mr. Ramit Kumar student of Bachelor of Technology in

    (Computer Science Engineering) of Gulzar Institute of ngineering ! Technology"

    #udhiana $un%a& has successfully com'leted her i Months Industrial Trainingfrom *+,+*,-+* to -+,+/,-+*.

    0uring this training" he 1or2ed on 3s Tutorials in Training 0e'artment under the

    guidance of r. 4idhi harma. 5is o6erall 'erformance during the training 'eriod 1as

    Good.

    (ignature)

    4ame7 r. 4idhi harma 0ate7 *8,+/,-+*

    0esignation7 9a6a Trainer (:'tech 3om'uter ducation)

    ;eroz Gandhi Mar2et (#udhiana)

    0e'artment7 Training 0e'artment

    (:uthorized ignatory 1ith com'any seal)

    *

  • 8/13/2019 Cs Tutorial (1)

    2/77

    ACKNOWLEDGEMENT

    Technology is li2e an ocean and an engineer is li2e a 'earl di6er in search of treasure

    li2e &eneath the sea. There is no end to technical studies &ut an engineer tries to get as

    much as 'ossi&le.

    I feel immense 'leasure in su&mitting this re'ort on 3s Tutorials. ;or me it is indeed a

    great 'leasure and a matter of immense satisfaction to e'ress out dee' sense of

    'rofound gratitude and inde&tedness to1ard my faculty mem&ers 1ho guided me

    to1ards the successful com'letion of my 'ro%ect.

    :t the outset of su&mission of this $ro%ect re'ort" I e'ress my dee' sense of gratitude

    to1ards Dr. M.P.Kaushal $rinci'al Gulzar Grou' of Institute(Khanna) for allo1ing me

    the o''ortunity to e'erience dynamic 'rofessional en6ironment during my si months

    Industrial Training.

    My s'ecial than2s to Er. ANKIT BANSAL (5.

  • 8/13/2019 Cs Tutorial (1)

    3/77

    PREFACE

    This 'ro%ect CS TUTORIALS is an attem't to sim'lify the 'rocess of

    do1nloading 6arious 2ind of material li2e 4otes" Boo2s" =uestion 'a'ers and

    to learn the conce'ts of %a6a. This 'ro%ect is 'rimarily &ased on the sylla&us of>thsemester 1hich is &eing taught in Apt!h C"#putr E$u!at%"& under si

    month?s industrial training. The language of the re'ort is @uite sim'le.

    ufficient num&er of the sna'shots has &een included.

    :lthough e6ery care has &een ta2en to chec2 the content of the 'ro%ect" stillthere might &e certain mista2es or mis'rints. $lease forgi6e for that.

  • 8/13/2019 Cs Tutorial (1)

    4/77

    INDE'

    SR NO. CONTENTS PAGE

    I $rofile of Industry /

    II Introduction to :ssigned 9o& 8,A

    III Modular descri'tion of the 9o& >,

    I( Materials and Methods *+,-+

    ( Main menu of out'ut screens -*,C8

    (I 3oding of different 'ages CA,AC

    (II 3onclusion A/

    (III Bi&liogra'hy and References A8

    C

  • 8/13/2019 Cs Tutorial (1)

    5/77

    PROFILE OF INDUSTR)

    :'tech 3om'uter ducation is a 'remier IT education Institute. sta&lished in *>8":'tech is a 'ioneer in IT soft1are ! hard1are training. The Institute has successfully

    trained more than 8/ la2h (8./ million) students through its 1ide net1or2 of education

    centres located in o6er C+ countries.

    :'tech 3om'uter ducation 're'ares students to &e a 'art of this gro1ing industry

    through its courses" alliances 1ith com'anies li2e Microsoft" Red 5at"

  • 8/13/2019 Cs Tutorial (1)

    6/77

    INTRODUCTION TO PRO*ECT

    8

  • 8/13/2019 Cs Tutorial (1)

    7/77

    INTRODUCTION

    EelcomeF

    3 Tutorials is a tutorial to hel' our users 1ith easy access to the material 'ro6ided &y

    our 1e&site. This 1e&site is an effort to 'ro6ide hel'ful ad6ice to enhance 2no1ledge of

    students. Most of these materials are recommended for tudents of Athsemester. They

    also find some useful things in our site.

    This 1e&site is an integrated site 1here our users or students can find

    and do1nload useful material for them. They can do1nload 4otes" =uestion 'a'ers

    &oo2s and find many more things 1hich are &eneficial for them.

    A

  • 8/13/2019 Cs Tutorial (1)

    8/77

    PROBLEMS IN E'ISTING S)STEM

    0o1nloading 1as not 'ossi&le.

    Boo2s 1ere not a6aila&le online.

    4otes 1ere not a6aila&le online 1ithout registration.

    =uestion 'a'ers 1ere not a6aila&le.

    $ro&lem in getting latest u'dations.

    $ro%ect ideas 1ere not a6aila&le.

    'loading of notes 1as not a6aila&le.

    >

  • 8/13/2019 Cs Tutorial (1)

    9/77

    MODULAR DESCRIPTION OF T+E PRO*ECT

    In this 'ro%ect" 1e are going to de6elo' 6arious modules that are descri&ed as &elo17

    ONLINE AUT+ORIT) FOR T+E USERS,

    Eith the hel' of this module" it 1ill &e easy for the user to ha6e their login accounti.e. username" 'ass1ord and registration account i.e. username" e,mail and 'ass1ord.

    ONLINE DOWNLOADING OF T+E BOOKS-UESTION

    PAPERS-NOTES,

    In this customers 1ill &e a&le to do1nload the &oo2s.

    TO CONFIRM T+E REGISTRETION ,

    In this module" user 1ill ha6e to 6erify their accounts first to do1nload &oo2s"

    @uestion 'a'ers" notes.

    TO GET LATEST UPDATIONS /NEWS0 ,

    In this" 1e&site 1ill 'ro6ide latest u'dating ne1s of the 1or2 for the &enefits of the

    user.

    TO S+ARE CUSTOMER1S (IEWS ONLINE,

    sers 1ill &e a&le to share their 6ie1s 1ith the e'erts using comment &o.

  • 8/13/2019 Cs Tutorial (1)

    10/77

    UPLOADING OF NOTES,

    In this module any user and admins can u'load notes 1hich are &eneficial for others.

    +ARDWARE2SOFTWARE REUIREMENTS

    +ARDWARE REUIREMENTS,

    3$ Ty'e , Intel 3ore i

    Main Memory , -8MB

    $hysical Memory , -+ GB

    0is'lay Ty'e , H0

    $rinter , - 'ins

    Key&oard , *+* 2eys

    Mouse , T1o &uttons

    SOFTWARE REUIREMENTS,

  • 8/13/2019 Cs Tutorial (1)

    11/77

    'articular$5$"3J3 and 5TM#/. It is also an a''lication frame1or2 for 9a6a

    des2to' a''lications and others.

    BACK END,

    Ora!l, :n

  • 8/13/2019 Cs Tutorial (1)

    12/77

    Ro&otics

    Games

    T)PES OF *A(A APPLICATIONS,

    There are mainly four ty'es of a''lications that can &e created using %a6a7

    STANDALONE APPLICATION,

    It is also 2no1n as des2to' a''lication. :n a''lication that 1e need to install one6ery machine such as media 'layer" anti6irus etc.

    WEB APPLICATION,

    :n a''lication that runs on the ser6er side creates dynamic 'age is called 1e&

    a''lication. 3urrently er6lets" 9$ etc technologies are used for creating 1e&

    a''lications in 9:H:.

    ENTERPRISE APPLICATION,

    :n a''lication that is distri&uted in the nature" such as &an2ing a''lications etc.It has the ad6antage of high le6el security.

    MOBILE APPLICATION,

    :n a''lication that is distri&uted in the nature" such as &an2ing a''lications etc.

    It has the ad6antage of high le6el security.

    *-

  • 8/13/2019 Cs Tutorial (1)

    13/77

    FEATURES OF *A(A,

    There are gi6en many features of %a6a. They are also called %a6a &uzz1ords.

    im'le

  • 8/13/2019 Cs Tutorial (1)

    14/77

    *DK/*A(A DE(ELOPMENT KIT0,

    The 9a6a 0e6elo'ment Kit (90K) is an im'lementation of either one of the 9a6a " 9a6a

    or 9a6a M'latforms released &y May -++A" 1hen un contri&uted the source code to the

  • 8/13/2019 Cs Tutorial (1)

    15/77

    SETTING PERMANENT PAT+ OF *DK IN WINDOWS,

    ;or setting the 'ermanent 'ath of the 90K" you need to follo1 these ste's7

    Go to my com'uter 'ro'erties , ad6anced ta& , en6ironment 6aria&les, ne1

    ta& of user 6aria&le, 1rite 'ath in 6aria&le name,1rite 'ath of &in folder in

    6aria&le 6alue , o2 , o2 , o2

    *A(A OOPS CONCEPTS,

    In this" 1e 1ill learn a&out o&%ect and classes. In o&%ect,oriented 'rogramming" 1e

    design a 'rogram using o&%ects and classes.

  • 8/13/2019 Cs Tutorial (1)

    16/77

    CLASS,

    : class is a grou' of o&%ects that ha6e common 'ro'erty. It is a tem'late or &lue'rintfrom 1hich o&%ects are created.

    ;or am'le7 If fruit has &een defined as a class then the statement ;ruit, mango" 1ill

    create an o&%ect mango &elonging to the class fruit.

    IN+ERITANCE,

    Inheritance is a mechanism in 1hich one o&%ect ac@uires all the 'ro'erties and &eha6ior

    of 'arent o&%ect.

    The idea &ehind the inheritance is that you can create ne1 classes that are &uilt u'oneisting classes. Ehen you inherit from an eisting class" you inherit methods and fields

    and you add ne1 methods and fields to ada't your ne1 class to the ne1 situations.

    ABSTRACTION,

    :&straction is a 'rocess of that in6ol6es identifying the essential features 1ithout

    including the internal details.

    3onsider an eam'le of a tele6ision 1hich consists of features such as changing the

    channel" 6olume" control"

  • 8/13/2019 Cs Tutorial (1)

    17/77

    In o&%ect oriented 'rogramming" com'leity is managed &y using the conce'ts of

    a&straction. It is easier to understand the conce't of a&straction through a real 1orld

    analogy.

    ENCAPSULATION,

    It 2ee's the data safe from any eternal interference and misuse. In other 1ords"

    enca'sulation is 1ra''ing u' of data and related functions in a single unit called o&%ect.

    The only 1ay to access the data of an o&%ect is through the function 1hich is 1ra''ed in

    the class. These functions 're'are the interfaces of the class through 1hich the outside

    1orld (other classes) can access it.

    3onsider t1o classes" li&rary class and a student class. The li&rary class enca'sulates

    data and functions" status and descri'tion into a single unit. In similar manner the student

    class enca'sulates data and function.

    3#: #IBR:RN 3#: T04T

    *A

    Roll no

    4ame

    3lass

    In'ut()

    ho1()

    Boo2 id

    Boo2 author

    Boo2 title

    4o of co'ies

    Issue()

    tatus()

    0escri'tion()

  • 8/13/2019 Cs Tutorial (1)

    18/77

    The t1o classes are inde'endent of each other. The student class has no details a&out

    li&rary class" so it cannot access the details of a &oo2 directly. 5o1e6er if a student 1ant

    to access some information a&out a &oo2 from li&rary class then it can access it indirectly

    using a''ro'riate functions of the li&rary class.

    CONSTRUCTOR,

    3onstructor is a s'ecial ty'e of method that is used to initialize the state of an o&%ect.3onstructor is in6o2ed at the time of o&%ect creation. It constructs the 6alues i.e. data for

    the o&%ect that is 1hy it is 2no1n as constructor.

    3onstructor is %ust li2e the instance method &ut it does not ha6e any e'licit return ty'e.

    T)PES OF CONSTRUCTORS,

    0efault constructor

    $arameterized constructor

    DEFAULT CONSTRUCTOR,

    : constructor that has no 'arameter is 2no1n as default constructor. It 'ro6ides default6alues to the constructor.

    S)NTA' OF DEFAULT CONSTRUCTOR,

    OclassPname ()Q

    *>

  • 8/13/2019 Cs Tutorial (1)

    19/77

    PARAMETERI9ED CONSTRUCTOR,

    : constructor that has 'arameter is 2no1n as default constructor. It 'ro6ides different6alues to the constructor.

    ACCESS MODIFIERS,

    There are t1o ty'es of modifiers access modifier and non,access modifier. The access

    modifier s'ecifies sco'e of the data mem&er" method" constructor or class. There are Cty'es of access modifiers7

    $ri6ate

    0efault

    $rotected

    $u&lic

    PRI(ATE,

    The 'ri6ate access modifier is accessi&le only 1ithin class.

    DEFAULT,

    If you don?t use any modifier" it is treated as default modifier &y default. The default

    modifier is accessi&le only 1ithin the 'ac2age.

    PROTECTED,

    The 'rotected access modifier is accessi&le 1ithin the 'ac2age and outside the 'ac2age

    &ut only through inheritance. The 'rotected access modifier can &e a''lied on the datamem&er" method and constructor. It can?t &e a''lied on the class.

    *

  • 8/13/2019 Cs Tutorial (1)

    20/77

    PUBLIC,

    The 'u&lic access modifier is accessi&le e6ery1here. It has the 1idest sco'e among all

    the modifiers.

    TR) AND CATC+ BLOCK,

    TR) BLOCK,

    nclose the code that might thro1 an ece'tion in try &loc2. It must &e used 1ithin the

    method and must &e follo1ed &y either catch or finally &loc2.

    S)NTA' OF TR) WIT+ CATC+ BLOCK,

    try Q

    SS

    catch Q

    S)NTA' OF TR) WIT+ FINALL) BLOCK,

    try Q

    SS finally Q

    -+

  • 8/13/2019 Cs Tutorial (1)

    21/77

    CATC+ BLOCK,3atch &loc2 is used to handle the ece'tion. It must &e used after the try &loc2.

    DETALED ANAL)SIS OF T+E INDI(IDUAL MODULE

    -*

  • 8/13/2019 Cs Tutorial (1)

    22/77

    .* (5ome 'age)

    This is layout of 5ome 'age of 1e&site 1hich is easy to access.

    --

  • 8/13/2019 Cs Tutorial (1)

    23/77

    .- (#ogin $age)

    This is layout of login 'age 1hich is a scroll &ar 'resent on home 'age 1hen 1e clic2 onlogin then it 1ill &e scroll do1n and user can register them and they can login also in this

    'art.

    -

  • 8/13/2019 Cs Tutorial (1)

    24/77

    . (=uestion 'a'ers)

    This field is only access a&le 1hen user is logged in only 1hen heJshe can use this 'art.

    In this 'art 1e ha6e @uestion 'a'ers of all su&%ects 1hich are studied in A thsemester.

    -C

  • 8/13/2019 Cs Tutorial (1)

    25/77

    .C (=uestion 'a'ers do1nload)

    This is the section 1here after selection of one of the su&%ect from 're6ious 'age user

    can do1nload @uestion 'a'ers of gi6en years.

    -/

  • 8/13/2019 Cs Tutorial (1)

    26/77

    ./ (ylla&us of 3)

    This field is also only access a&le 1hen user is logged in only 1hen heJshe can use this'art. ser can do1nload sylla&us of their &ranch or the res'ecti6e year li2e -++A or-+**.

    -8

  • 8/13/2019 Cs Tutorial (1)

    27/77

    .8 (Boo2s for students)

    This is im'ortant section for students here students can do1nload &oo2s regarding their

    su&%ects &ut again this feature is only a6aila&le if user is logged in.

    -A

  • 8/13/2019 Cs Tutorial (1)

    28/77

    .A (#ogin chec2 screen)

    If user is not logged in or heJshe is not registered to our site the heJshe ha6e to registerthem first only then they can use some useful material on our site.

    ->

  • 8/13/2019 Cs Tutorial (1)

    29/77

    .> (Ehy Industrial Training Is im'ortant)

    This ection is telling a&out the im'ortance of industrial training as 1hy industrialtraining is im'ortant for students.

    -

  • 8/13/2019 Cs Tutorial (1)

    30/77

    . (3om'anies for training)

    These are some national and international com'anies for training 1hich are &eneficial

    for student 1ho are in Athsemester. They can choose any good com'any for training f as1ell as for good %o&.

    +

  • 8/13/2019 Cs Tutorial (1)

    31/77

    .*+ (3om'arison &et1een 3om'uter languages)

    This section is sho1ing com'arison &et1een com'uter 'rogramming languages and is

    hel'ful for students as they can understand the logic &ehind all 'rogramming languages.

    *

  • 8/13/2019 Cs Tutorial (1)

    32/77

    .** (3om'arison 3ontinued)

    -

  • 8/13/2019 Cs Tutorial (1)

    33/77

    .*- ($ro%ect ideas)

    In this section 1e are 'ro6iding some 'ro%ect ideas for students for their ma%or 'ro%ect inAthsemester.

  • 8/13/2019 Cs Tutorial (1)

    34/77

    .* (9o&s column)

    This is the column 1here students can 2no1 a&out latest go6ernment %o&s through the

    'ro6ided lin2s

    C

  • 8/13/2019 Cs Tutorial (1)

    35/77

    .*C (Menu Items)

    These are contents of our site 1here all su&%ects are 'resents and regarding these su&%ects1e ha6e notes" lectures and 'resentations.

    /

  • 8/13/2019 Cs Tutorial (1)

    36/77

    .*/ (5el')

    5el'FFF ser can 'ost their @ueries for hel' and 1e are here to hel' them.

    8

  • 8/13/2019 Cs Tutorial (1)

    37/77

    .*8 (3ontact s)

    This form contains the contact us form 1here user enter their details and they can contact

    us any time.

    A

  • 8/13/2019 Cs Tutorial (1)

    38/77

    .*A (#ogout)

    :t last after all 1or2 #ogout screen.

    >

  • 8/13/2019 Cs Tutorial (1)

    39/77

    .*> (#ogin data&ase)

  • 8/13/2019 Cs Tutorial (1)

    40/77

    .* (#ogin :ttri&utes)

    C+

  • 8/13/2019 Cs Tutorial (1)

    41/77

    .-+ (4otes ta&le)

    C*

  • 8/13/2019 Cs Tutorial (1)

    42/77

    .-* (4otes ta&le attri&utes)

    C-

  • 8/13/2019 Cs Tutorial (1)

    43/77

    .-- (4e1s Ta&le)

    C

  • 8/13/2019 Cs Tutorial (1)

    44/77

  • 8/13/2019 Cs Tutorial (1)

    45/77

    .-C (3ontact us attri&utes)

    C/

  • 8/13/2019 Cs Tutorial (1)

    46/77

    .-/ (5el' data&ase)

    C8

  • 8/13/2019 Cs Tutorial (1)

    47/77

    .-8 (5el' attri&utes)

    CA

  • 8/13/2019 Cs Tutorial (1)

    48/77

    CODING OF T+E PRO*ECT

    C"$%&: "; ;%rst pa: +"# pa:.

    OU'age contentTy'eLVtetJhtmlVOU'age 'agencodingLVT;,>V

    Ohtml

    Ohead

    Ometa htt',e@ui6LV3ontent,#anguageV contentLVen,usVOmeta htt',e@ui6LV3ontent,Ty'eV contentLVtetJhtmlW charsetL1indo1s,*-/-V

    Ometa nameLVG4R:T

  • 8/13/2019 Cs Tutorial (1)

    49/77

    Odi6 idLVd1ndimgV

    Oimg srcLVimagesJBlac2Button.'ngV heightLV+V 1idthLV++V

    OJdi6 Odi6 classLVd1nldcontentV

    Odi6 classLVdlcntntV

    Ocenter Oa hrefLV#oginchec2.%s'V =uestion $a'ersOJaOJcenter OJdi6

    Odi6 classLVdlimgV Oimg srcLVimagesJdo1n:rro1.'ngV heightLV+V 1idthLV+V

    OJdi6

    OJdi6 Odi6 classLVd1nldcontentV

    Odi6 classLVdlcntntV

    Ocenter Oa hrefLV#oginchec2.%s'V ylla&usOJaOJcenter

    OJdi6

    Odi6 classLVdlimgV Oimg srcLVimagesJdo1n:rro1.'ngV heightLV+V 1idthLV+V

    OJdi6

    OJdi6

    Odi6 classLVd1nldcontentVOdi6 classLVdlcntntV

    Ocenter Oa hrefLV#oginchec2.%s'V Boo2sOJaOJcenter

    OJdi6

    Odi6 classLVdlimgV Oimg srcLVimagesJdo1n:rro1.'ngV heightLV+V 1idthLV+VOJdi6

    OJdi6

    OJdi6O,,nd of login di6 ,,

    Odi6 idLVne1sV Odi6 idLVf&,rootVOJdi6

    Oscri't(function(d" s" id) Q

    6ar %s" f%s L d.getlementsByTag4ame(s)X+YW if (d.getlementById(id)) returnW

    %s L d.createlement(s)W %s.id L idW

    %s.src L VJJconnect.face&oo2.netJenPJall.%sZf&mlL*VW

    f%s.'arent4ode.insertBefore(%s" f%s)W

    C

  • 8/13/2019 Cs Tutorial (1)

    50/77

    (document" [scri't[" [face&oo2,%ssd2[))WOJscri't

    Odi6 classLVf&,li2e,&oV data,hrefLVhtt's7JJ111.face&oo2.comJ'agesJ3,

    TtorialsJ-A*C>A//->/+/CV data,1idthLV++V data,heightLV++V data,sho1,

    facesLVtrueV data,streamLVfalseV data,headerLVtrueVOJdi6

    OJdi6Odi6 idLV&ottomV

    Oa hrefLVhtt's7JJt1itter.comJ3stutorials+88V targetLVP&lan2V styleLVtet,

    decoration7 noneWVOimg srcLVimagesJt1itter,8C'.'ngV heightLV/+V

    1idthLV/+VJ!n&s'W!n&s'WOJa Oa hrefLVhtt's7JJ111.face&oo2.comJ'agesJ3,TtorialsJ-A*C>A//->/+/CV

    targetLVP&lan2V styleLVtet,decoration7 noneWVOimg srcLVimagesJface&oo2,icon.'ngV

    heightLV/+V 1idthLV/+VJ!n&s'W!n&s'WOJa

    Oa hrefLVZV targetLVP&lan2V styleLVtet,decoration7 noneWVOimgsrcLVimagesJlin2edin,icon.'ngV heightLV/+V 1idthLV/+VJ!n&s'W!n&s'WOJa

    Oa hrefLVZV targetLVP&lan2V styleLVtet,decoration7 noneWVOimgsrcLVimagesJGoogle.'ngV heightLV/+V 1idthLV/+VJOJa

    OJdi6

    OJdi6

    Odi6 idLVright*V

    Odi6 idLVcolsV

    Odi6 classLVrVOdi6 classLVr*V

    Oa hrefLVIndustrialTraining.%s'VO& Ehy Industrial Training isIm'ortantOJ&OJaOJdi6

    OJdi6

    Odi6 classLVrV

    Odi6 classLVr*V Oa hrefLVtreams.%s'VO&: com'arison of 'rogramming languagesOJ& OJa

    OJdi6

    OJdi6 Odi6 classLVrV

    Odi6 classLVr*V

    Oa hrefLV3om'anies.%s'VO&3om'anies for trainingOJ&OJa OJdi6

    OJdi6

    Odi6 classLVrV Odi6 classLVr*V

    Oa hrefLV$ro%ectIdeas.%s'V O&$ro%ect IdeasOJ&OJa

    OJdi6

    OJdi6

    /+

  • 8/13/2019 Cs Tutorial (1)

    51/77

    Odi6 classLVrV

    Odi6 classLVr*V

    Oa hrefLVRecruitment.%s'VO&Recruitments in Go6t.ectorOJ&OJa OJdi6

    OJdi6

    OJdi6O,,nd of cols di6 ,, Odi6 idLV6edioareaV

    Odi6 idLV6edioV

    Oa

    hrefLVEhy 3om'uter cience.m'CV autostartLVfalseV

    styleLVdis'lay7&loc2W1idth78>+'Wheight7++'VidLV'layerV

    OJa

    OF,, this 1ill install flo1'layer inside 're6ious :, tag. ,,Oscri't

    flo1'layer(V'layerV" Vflo1'layer,.-.*8.s1fV)WOJscri't

    OJdi6O,,nd of 6edio di6 ,,

    Odi6 idLVcontentsV Odi6 idLVne1zV

    Odi6 idLV4e14e1sV

    Oh4e1sOJh OJdi6

    Odi6 styleLVmargin,left7 /'WV OUinclude fileLVne1z.%s'V

    OJdi6

    OJdi6

    Odi6 idLVdo1nloadV

    Oiframe 1idthLV/V heightLV*//V frame&orderLV+V scrollingLVnoV

    marginheightLV+V margin1idthLV+V srcLVhtt'7JJma's.google.co.inJma's\fL@!am'WsourceLsP@!am'WhlLen!am'WgeocodeL!am'W@L:'tech3om'uterducati

    on"

    ;erozGandhiMar2et!am'Wa@L!am'WsllL+.>8C/*"A8.C8C>CC!am'Wss'nL*+.8>*-A"-*.8C+88!am'WieLT;>!am'Wh@L:'tech3om'uterducation"

    ;erozGandhiMar2et!am'WllL+.+*8"A/.>>/!am'Ws'nL+.+-+>A"+.+C--A-!a

    m'WtLm!am'WzL*C!am'Wi1locL:!am'WcidL*/*//+A8>+-**-AA!am'Wout'utLem&edVOJiframeO&r JOsmallOa hrefLVhtt'7JJma's.google.co.inJma's\

    fL@!am'WsourceLem&ed!am'WhlLen!am'WgeocodeL!am'W@L:'tech3om'uterduc

    ation"

    ;erozGandhiMar2et!am'Wa@L!am'WsllL+.>8C/*"A8.C8C>CC!am'Wss'nL*+.8>*-

    /*

  • 8/13/2019 Cs Tutorial (1)

    52/77

    A"-*.8C+88!am'WieLT;>!am'Wh@L:'tech3om'uterducation"

    ;erozGandhiMar2et!am'WllL+.+*8"A/.>>/!am'Ws'nL+.+-+>A"+.+C--A-!a

    m'WtLm!am'WzL*C!am'Wi1locL:!am'WcidL*/*//+A8>+-**-AAVstyleLVcolor7Z++++;;Wtet,align7leftVHie1 #arger Ma'OJaOJsmall

    OJdi6

    OJdi6O,,nd of contents di6 ,,

    OJdi6O,,nd of 6edioarea di6 ,,

    OJdi6O,,nd of right ,,

    OJdi6O,,nd of middle di6 ,,Odi6 idLVfooterV

    OcenterO'] 3o'yright -+* 3s TutorialsOJ'OJcenter

    OJdi6

    OJdi6O,,nd of home di6 ,,

    OJ&ody

    OJhtml

    /-

  • 8/13/2019 Cs Tutorial (1)

    53/77

    CODING OF LOGIN PAGE

    OF0V J

    OF,, stylesheets ,, Olin2 relLVstylesheetV hrefLVcssJstyle.cssV ty'eLVtetJcssV mediaLVscreenV J

    Olin2 relLVstylesheetV hrefLVcssJslide.cssV ty'eLVtetJcssV mediaLVscreenV J

    OF,, %=uery , the core ,, Oscri't srcLV%sJ%@uery,*..-.min.%sV ty'eLVtetJ%a6ascri'tVOJscri't

    OF,, liding effect ,,

    Oscri't srcLV%sJslide.%sV ty'eLVtetJ%a6ascri'tVOJscri't

    OJhead

    O&ody OF,, $anel ,,

    Odi6 idLVto''anelV

    Odi6 idLV'anelV Odi6 classLVcontent clearfiV

    Odi6 classLVleftV

    Oh*Eelcome to 3 TutorialOJh*O&r Oh-The tutorials for 3om'uter cience tudentsOJh-O&r

    O' classLVgreyVNou can do1nload 74otes"=uestion $a'ers"$'ts"

    6ideo lectures" audio lectures.OJ'

    Oh-;irst you ha6e to RegisterOJh-

    /

  • 8/13/2019 Cs Tutorial (1)

    54/77

    OJdi6

    Odi6 classLVleftV OF,, #ogin ;orm ,,

    Oform classLVclearfiV actionLV3onnect9s'ToMys@l.%s'VmethodLV'ostV

    Oh*Mem&er #oginOJh*

    Ola&el classLVgreyV forLVlogVsername7OJla&el Oin'ut classLVfieldV ty'eLVtetV nameLVlogV idLVlogV 6alueLVV

    sizeLV-V re@uiredJ

    Ola&el classLVgreyV forLV'1dV$ass1ord7OJla&el

    Oin'ut classLVfieldV ty'eLV'ass1ordV nameLV'1dV idLV'1dVsizeLV-V re@uired J

    Ola&elOin'ut nameLVremem&ermeV idLVremem&ermeV

    ty'eLVchec2&oV chec2edLVchec2edV 6alueLVfore6erV J !n&s'WRemem&er meOJla&el

    Odi6 classLVclearVOJdi6

    Oin'ut ty'eLVsu&mitV nameLVsu&mitV 6alueLV#oginVclassLV&tPloginV J

    Oa classLVlost,'1dV hrefLVZV#ost your 'ass1ord\OJa

    OJform

    OJdi6

    Odi6 classLVleft rightV OF,, Register ;orm ,,

    Oform actionLVinsert.%s'V methodLV'ostV Oh*4ot a mem&er yet\ ign 'FOJh* Ola&el classLVgreyV forLVsignu'Vsername7OJla&el

    Oin'ut classLVfieldV ty'eLVtetV nameLVsignu'V idLVsignu'V

    6alueLVV sizeLV-V re@uired J

    Ola&el classLVgreyV forLVemailVmail7OJla&el Oin'ut classLVfieldV ty'eLVemailV nameLVemailV idLVemailV

    sizeLV-V re@uiredJ

    Ola&el classLVgreyV forLVemailV$ass1ordOJla&el Oin'ut classLVfieldV ty'eLV'ass1ordV nameLV'ass1ordV

    idLV'ass1ordV sizeLV-V re@uired J

    Oin'ut ty'eLVsu&mitV nameLVsu&mitV 6alueLVRegisterVclassLV&tPregisterV J

    OJform

    OJdi6 OJdi6

    OJdi6 OF,, Jlogin ,,

    OF,, The ta& on to' ,,

    /C

  • 8/13/2019 Cs Tutorial (1)

    55/77

    Odi6 classLVta&V

    Oul classLVloginV

    Oli classLVleftV!n&s'WOJli

    Oli5ello GuestFOJli

    Oli classLVse'V^OJli

    Oli idLVtoggleV

    Oa idLVo'enV classLVo'enV hrefLVZV#og In ^ RegisterOJa

    Oa idLVcloseV styleLVdis'lay7 noneWV classLVcloseV

    hrefLVZV3lose $anelOJa

    OJli

    Oli classLVrightV!n&s'WOJli

    OJulOJdi6 OF,, J to' ,,

    OJdi6 OF,,'anel ,,

    OJ&ody

    OJhtml

    //

  • 8/13/2019 Cs Tutorial (1)

    56/77

    CODING OF UESTION PAPER PAGE

    OU'age contentTy'eLVtetJhtmlV 'agencodingLVT;,>V

    OF0V

    Ometa htt',e@ui6LV3ontent,Ty'eV contentLVtetJhtmlW charsetL1indo1s,*-/-V

    Ometa nameLVG4R:T

  • 8/13/2019 Cs Tutorial (1)

    57/77

    Oa hrefLV4H=uestions.%s'V targetLVP&an2V4HOJa

    OJdi6

    OJdi6 Odi6 idLV@uesV

    Oimg srcLVimagesJdocument.'ngV

    Odi6 classLVs6gVOa hrefLV=uestions.%s'V targetLVP&an2VOJa

    OJdi6

    OJdi6 Odi6 idLV@uesCV

    Oimg srcLVimagesJdocument.'ngV

    Odi6 classLVs6gV

    Oa hrefLV;#:T=uestions.%s'V targetLVP&an2V;#:TOJaOJdi6

    OJdi6

    Odi6 idLV@ues/V

    Oimg srcLVimagesJdocument.'ngV Odi6 classLVs6gV

    Oa hrefLV$MT=uestions.%s'V targetLVP&an2V$MTOJaOJdi6

    OJdi6

    Odi6 idLV@ues8V

    Oimg srcLVimagesJdocument.'ngV Odi6 classLVs6gV

    Oa hrefLV

  • 8/13/2019 Cs Tutorial (1)

    58/77

    CODING OF BOOKS PAGE

    OU'age contentTy'eLVtetJhtmlVOU'age 'agencodingLVT;,>V

    OhtmlOhead

    Ometa htt',e@ui6LV3ontent,#anguageV contentLVen,usV

    Ometa htt',e@ui6LV3ontent,Ty'eV contentLVtetJhtmlW charsetL1indo1s,*-/-VOmeta nameLVG4R:T

  • 8/13/2019 Cs Tutorial (1)

    59/77

    Oimg srcLVimagesJdo1n:rro1.'ngV heightLV+V 1idthLV+V

    OJdi6

    OJdi6

    Odi6 classLVd1nldcontentV

    Odi6 classLVdlcntntV Ocenter Oa hrefLVylla&us.%s'V targetLVP&lan2V ylla&usOJaOJcenter

    OJdi6

    Odi6 classLVdlimgV

    Oimg srcLVimagesJdo1n:rro1.'ngV heightLV+V 1idthLV+V

    OJdi6

    OJdi6

    Odi6 idLV;rgt'sV

    OJdi6

    OJdi6O,,end of login di6,, Odi6 idLVne1sV

    Odi6 idLVf&,rootVOJdi6

    Oscri't(function(d" s" id) Q

    6ar %s" f%s L d.getlementsByTag4ame(s)X+YW if (d.getlementById(id)) returnW

    %s L d.createlement(s)W %s.id L idW

    %s.src L VJJconnect.face&oo2.netJenPJall.%sZf&mlL*VW f%s.'arent4ode.insertBefore(%s" f%s)W

    (document" [scri't[" [face&oo2,%ssd2[))WOJscri't

    Odi6 classLVf&,li2e,&oV data,hrefLVhtt's7JJ111.face&oo2.comJ'agesJ3,

    TtorialsJ-A*C>A//->/+/CV data,1idthLV++V data,heightLV++V data,sho1,

    facesLVtrueV data,streamLVfalseV data,headerLVtrueVOJdi6OJdi6

    Odi6 idLV&ottomV

    Oa hrefLVhtt's7JJt1itter.comJ3stutorials+88V targetLVP&lan2V styleLVtet,decoration7 noneWVOimg srcLVimagesJt1itter,8C'.'ngV heightLV/+V

    1idthLV/+VJ!n&s'W!n&s'WOJa

    Oa hrefLVhtt's7JJ111.face&oo2.comJ'agesJ3,TtorialsJ-A*C>A//->/+/CVtargetLVP&lan2VstyleLVtet,decoration7 noneWVOimg srcLVimagesJface&oo2,icon.'ngV

    heightLV/+V 1idthLV/+VJ!n&s'W!n&s'WOJa

    Oa hrefLVZV targetLVP&lan2VstyleLVtet,decoration7 noneWVOimgsrcLVimagesJlin2edin,icon.'ngV heightLV/+V 1idthLV/+VJ!n&s'W!n&s'WOJa

    Oa hrefLVZV targetLVP&lan2VstyleLVtet,decoration7 noneWVOimg

    srcLVimagesJGoogle.'ngV heightLV/+V 1idthLV/+VJOJa

    OJdi6

    /

  • 8/13/2019 Cs Tutorial (1)

    60/77

    OJdi6

    Odi6 idLVright*V Odi6 classLV$r%ctidaV

    Oh alignLVcenterV3om'uter cience Boo2sOJh

    Odi6 classLV5o6erV Odi6 classLVa&-V

    O&rOa hrefLVBoo2sJIntroduction,to,:utomata,Theory,#anguages,and,

    3om'utation &y llman.'dfV styleLVtet,decoration7noneW color7Z+A&e*W font,size7*/+V:utomata theory language and com'utation &y ##M:4Oimg

    srcLVimagesJleather,&oo2,'re6ie1.'ngV heightLV/+'V 1idthLV/+'VOJa

    OJdi6 OJdi6

    Odi6 classLV5o6erV

    Odi6 classLVa&-V

    O&rOa hrefLVBoo2sJBoo2s.rarV styleLVtet,decoration7noneW color7Z+A&e*Wfont,size7 */+V;ormal :utomata By K#$ mishraOimg srcLVimagesJleather,&oo2,

    're6ie1.'ngV heightLV/+'V 1idthLV/+'VOJa OJdi6

    OJdi6

    Odi6 classLV5o6erV Odi6 classLVa&-V

    O&rOa hrefLVBoo2sJ:utomataTheory.'dfVstyleLVtet,decoration7noneW

    color7Z+A&e*W font,size7 */+Vn6ironment tudiesOimg srcLVimagesJleather,&oo2,'re6ie1.'ngV heightLV/+'V 1idthLV/+'VOJa

    OJdi6 OJdi6

    Odi6 classLV5o6erV

    Odi6 classLVa&-V

    O&rOa hrefLVBoo2s.%s'V styleLVtet,decoration7noneW color7Z+A&e*W font,size7 */+V'ert ystemsOimg srcLVimagesJleather,&oo2,'re6ie1.'ngV

    heightLV/+'V 1idthLV/+'VOJa

    OJdi6

    OJdi6

    OJdi6O,,end of 'r%ct,, OJdi6O,,nd of right* di6 ,,

    OJdi6O,,nd of middle di6 ,,

    Odi6 idLVfooterV Ocenter O'] 3o'yright -+* 3s TutorialsOJ' OJcenter

    OJdi6

    OJdi6O,,nd of home di6 ,,

    8+

  • 8/13/2019 Cs Tutorial (1)

    61/77

    OJ&ody

    OJhtml

    CODING OF CONTACT US PAGE

    OU'age contentTy'eLVtetJhtmlV

    OU'age 'agencodingLVT;,>V

    OhtmlOhead

    Ometa htt',e@ui6LV3ontent,#anguageV contentLVen,usV

    Ometa htt',e@ui6LV3ontent,Ty'eV contentLVtetJhtmlW charsetL1indo1s,*-/-V

    Ometa nameLVG4R:T

  • 8/13/2019 Cs Tutorial (1)

    62/77

    OJdi6

    Odi6 classLVdlimgV Oimg srcLVimagesJdo1n:rro1.'ngV heightLV+V 1idthLV+V

    OJdi6

    OJdi6

    Odi6 classLVd1nldcontentV

    Odi6 classLVdlcntntV Ocenter Oa hrefLVylla&us.%s'V targetLVP&lan2V ylla&usOJaOJcenter

    OJdi6

    Odi6 classLVdlimgV Oimg srcLVimagesJdo1n:rro1.'ngV heightLV+V 1idthLV+V

    OJdi6

    OJdi6

    Odi6 classLVd1nldcontentVOdi6 classLVdlcntntV

    Ocenter Oa hrefLV3seBoo2sV targetLVP&lan2V Boo2s(3)OJaOJcenter OJdi6

    Odi6 classLVdlimgV

    Oimg srcLVimagesJdo1n:rro1.'ngV heightLV+V 1idthLV+VOJdi6

    OJdi6

    Odi6 idLV;rgt'sVOJdi6

    OJdi6O,,end of login di6,,

    Odi6 idLVne1sV Odi6 idLVf&,rootVOJdi6

    Oscri't(function(d" s" id) Q

    6ar %s" f%s L d.getlementsByTag4ame(s)X+YW if (d.getlementById(id)) returnW

    %s L d.createlement(s)W %s.id L idW

    %s.src L VJJconnect.face&oo2.netJenPJall.%sZf&mlL*VW f%s.'arent4ode.insertBefore(%s" f%s)W

    (document" [scri't[" [face&oo2,%ssd2[))WOJscri't

    8-

  • 8/13/2019 Cs Tutorial (1)

    63/77

    Odi6 classLVf&,li2e,&oV data,hrefLVhtt's7JJ111.face&oo2.comJ'agesJ3,

    TtorialsJ-A*C>A//->/+/CV data,1idthLV++V data,heightLV++V data,sho1,

    facesLVtrueV data,streamLVfalseV data,headerLVtrueVOJdi6

    OJdi6 Odi6 idLV&ottomV

    Oa hrefLVhtt's7JJt1itter.comJ3stutorials+88V targetLVP&lan2V styleLVtet,

    decoration7 noneWVOimg srcLVimagesJt1itter,8C'.'ngV heightLV/+V1idthLV/+VJ!n&s'W!n&s'WOJa

    Oa hrefLVhtt's7JJ111.face&oo2.comJ'agesJ3,TtorialsJ-A*C>A//->/+/CV

    targetLVP&lan2VstyleLVtet,decoration7 noneWVOimg srcLVimagesJface&oo2,icon.'ngV

    heightLV/+V 1idthLV/+VJ!n&s'W!n&s'WOJa Oa hrefLVZV targetLVP&lan2VstyleLVtet,decoration7 noneWVOimg

    srcLVimagesJlin2edin,icon.'ngV heightLV/+V 1idthLV/+VJ!n&s'W!n&s'WOJa

    Oa hrefLVZV targetLVP&lan2VstyleLVtet,decoration7 noneWVOimg

    srcLVimagesJGoogle.'ngV heightLV/+V 1idthLV/+VJOJa OJdi6

    OJdi6

    Odi6 idLVright*V

    Odi6 idLV&ac2lin2sV

    Oa hrefLV5ome.%s'VBac2 to 5omeOJaOhr OJdi6

    Odi6 classLVc*V

    Os'an classLVs&V3ontact ;ormOJs'an Oform actionLV3ontactus0B.%s'V methodLV'ostV

    Ota&le OtrOtdNour nameOJtdOJtr OtrOtdOin'ut ty'eLVtetV nameLVnameVJOJtdOJtr

    OtrOtdmail addressOJtdOJtr

    OtrOtdOin'ut ty'eLVemailV nameLVemail-VJOJtdOJtr

    OtrOtdTele'hone 4um&erOJtdOJtrOtrOtdOin'ut ty'eLVtetV nameLVnum&erVJOJtdOJtr

    OtrOtdu&%ectOJtdOJtr

    OtrOtdOin'ut ty'eLVtetV nameLVsu&%ectVJOJtdOJtr OtrOtd3ommentsJ=ueriesOJtdOJtr

    OtrOtd classLVt*VOtetarea nameLV3ommentBoVOJtetareaOJtdOJtr

    OtrOtdOin'ut ty'eLVu&mitV nameLVsu&mitVJOJtdOJtr OJta&le

    OJform

    OJdi6

    Odi6 classLVc-V

    Odi6 classLVc-leftV

    Os'an classLVs&V$ostal :ddressOJs'an

    8

  • 8/13/2019 Cs Tutorial (1)

    64/77

    Os'an classLVscVZ *+C"OJs'an

    Os'an classLVscVt.4o. C"OJs'an

    Os'an classLVscVMau%i 3olony(0a&a Hillage)OJs'an

    Os'an classLVscV#udhianaOJs'an

    Os'an classLVscV$un%a&OJs'anOJdi6

    Odi6 classLVc-rightV Os'an classLVs&V3ontact 4um&ersOJs'an

    Os'an classLVscVTel7 *,C*A-/>AOJs'an

    Os'an classLVs&Vmail :ddressOJs'an

    Os'an classLVscVramit.+88Ugmail.comOJs'an

    OJdi6

    Odi6 classLVma'V

    Os'an classLVs&V;ind sOJs'an Oiframe 1idthLVCA+V heightLV++V frame&orderLV+V scrollingLVnoV

    marginheightLV+V margin1idthLV+V srcLVhtt'7JJma's.google.co.inJma's\fL@!am'WsourceLsP@!am'WhlLen!am'WgeocodeL!am'W@La'techcom'utereducation

    !am'Wa@L+!am'Wo@L:'tech!am'WsllL+.+*A>"A/.>+88!am'Wss'nL+.+*+/>A"+.+

    *-!am'WieLT;>!am'Wh@La'techcom'utereducation!am'WhnearL!am'WllL+.

    +*8"A/.>>/!am'Ws'nL+.+*+/>A"+.+*-!am'WtLm!am'WzL*C!am'Wi1locL:!am'WcidL*/*//+A8>+-**-AA!am'Wout'utLem&edVOJiframeO&r JOsmallOa

    hrefLVhtt'7JJma's.google.co.inJma's\

    fL@!am'WsourceLem&ed!am'WhlLen!am'WgeocodeL!am'W@La'techcom'utereducation!am'Wa@L+!am'Wo@L:'tech!am'WsllL+.+*A>"A/.>+88!am'Wss'nL+.+*+/>A"

    +.+*-!am'WieLT;>!am'Wh@La'techcom'utereducation!am'WhnearL!am'WllL+.+*8"A/.>>/!am'Ws'nL+.+*+/>A"+.+*-!am'WtLm!am'WzL*C!am'Wi1locL:!am'WcidL*/*//+A8>+-**-AAV styleLVcolor7Z++++;;Wtet,

    align7leftVOJaOJsmall

    OJdi6

    OJdi6 OJdi6O,,nd of right* di6 ,,

    OJdi6O,,nd of middle di6 ,,Odi6 idLVfooterV

    OcenterO'] 3o'yright -+* 3s TutorialsOJ'OJcenter

    OJdi6

    8C

  • 8/13/2019 Cs Tutorial (1)

    65/77

    OJdi6O,,nd of home di6 ,,

    OJ&ody

    OJhtml

    CODING OF ERROR PAGE

    OU'age contentTy'eLVtetJhtmlV

    OU'age 'agencodingLVT;,>V

    Ohtml

    OheadOmeta htt',e@ui6LV3ontent,#anguageV contentLVen,usV

    Ometa htt',e@ui6LV3ontent,Ty'eV contentLVtetJhtmlW charsetL1indo1s,*-/-V

    Ometa nameLVG4R:T

  • 8/13/2019 Cs Tutorial (1)

    66/77

    Oimg srcLVimagesJdo1n:rro1.'ngV heightLV+V 1idthLV+V

    OJdi6

    OJdi6

    Odi6 classLVd1nldcontentV

    Odi6 classLVdlcntntV Ocenter Oa hrefLVylla&us.%s'V targetLVP&lan2V ylla&usOJaOJcenter

    OJdi6

    Odi6 classLVdlimgV

    Oimg srcLVimagesJdo1n:rro1.'ngV heightLV+V 1idthLV+V

    OJdi6

    OJdi6 Odi6 classLVd1nldcontentV

    Odi6 classLVdlcntntV

    Ocenter Oa hrefLV3seBoo2s.%s'V targetLVP&lan2V

    Boo2s(3)OJaOJcenter OJdi6

    Odi6 classLVdlimgV

    Oimg srcLVimagesJdo1n:rro1.'ngV heightLV+V 1idthLV+V

    OJdi6

    OJdi6

    Odi6 idLV;rgt'sV

    OJdi6

    OJdi6O,,end of login di6,, Odi6 idLVne1sV

    Odi6 idLVf&,rootVOJdi6

    Oscri't(function(d" s" id) Q 6ar %s" f%s L d.getlementsByTag4ame(s)X+YW

    if (d.getlementById(id)) returnW

    %s L d.createlement(s)W %s.id L idW %s.src L VJJconnect.face&oo2.netJenPJall.%sZf&mlL*VW

    f%s.'arent4ode.insertBefore(%s" f%s)W

    (document" [scri't[" [face&oo2,%ssd2[))WOJscri't

    88

  • 8/13/2019 Cs Tutorial (1)

    67/77

    Odi6 classLVf&,li2e,&oV data,hrefLVhtt's7JJ111.face&oo2.comJ'agesJ3,

    TtorialsJ-A*C>A//->/+/CV data,1idthLV++V data,heightLV++V data,sho1,

    facesLVtrueV data,streamLVfalseV data,headerLVtrueVOJdi6

    OJdi6 Odi6 idLV&ottomV

    Oa hrefLVhtt's7JJt1itter.comJ3stutorials+88V targetLVP&lan2VstyleLVtet,decoration7

    noneWVOimg srcLVimagesJt1itter,8C'.'ngV heightLV/+V1idthLV/+VJ!n&s'W!n&s'WOJa

    Oa hrefLVhtt's7JJ111.face&oo2.comJ'agesJ3,TtorialsJ-A*C>A//->/+/CV

    targetLVP&lan2VstyleLVtet,decoration7 noneWVOimg srcLVimagesJface&oo2,icon.'ngV

    heightLV/+V 1idthLV/+VJ!n&s'W!n&s'WOJa Oa hrefLVZV targetLVP&lan2VstyleLVtet,decoration7 noneWVOimg

    srcLVimagesJlin2edin,icon.'ngV heightLV/+V 1idthLV/+VJ!n&s'W!n&s'WOJa

    Oa hrefLVZV targetLVP&lan2VstyleLVtet,decoration7 noneWVOimg

    srcLVimagesJGoogle.'ngV heightLV/+V 1idthLV/+VJOJa OJdi6

    OJdi6

    Odi6 idLVright*V

    Odi6 classLVerrorV

    OhNou ha6e to login firstOJh Oa hrefLV5ome.%s'V styleLVtet,align7 centerWV3lic2 here to go to 5ome 'age

    for loginOJa

    OJdi6

    OJdi6O,,nd of right* di6 ,,

    OJdi6O,,nd of middle di6 ,,Odi6 idLVfooterV

    OcenterO'] 3o'yright -+* 3s TutorialsOJ'OJcenter

    OJdi6

    OJdi6O,,nd of home di6 ,,

    OJ&ody

    OJhtml

    8A

  • 8/13/2019 Cs Tutorial (1)

    68/77

    CODING OF LOGOUT PAGE

    OU'age contentTy'eLVtetJhtmlV

    OU'age 'agencodingLVT;,>V

    Ores'onse.set5eader(V3ache,3ontrolV"Vno,cacheV)W JJ;orces caches to o&tain a ne1 co'y

    of the 'age from the origin ser6er

    res'onse.set5eader(V3ache,3ontrolV"Vno,storeV)W JJ0irects caches not to store the 'age

    under any circumstanceres'onse.set0ate5eader(V'iresV" +)W JJ3auses the 'roy cache to see the 'age as

    VstaleVres'onse.set5eader(V$ragmaV"Vno,cacheV)W JJ5TT$ *.+ &ac21ard com'ati&ility

    tring user4ame L (tring) session.get:ttri&ute(VserIdV)W

    if (null LL user4ame) Q

    [email protected]:ttri&ute(VrrorV" Vession has ended. $lease login.V)W Re@uest0is'atcher rd L [email protected]@uest0is'atcher(V5ome.%s'V)W

    rd.for1ard(re@uest" res'onse)W

    Ohtml Ohead

    Ometa htt',e@ui6LV3ontent,#anguageV contentLVen,usV

    Ometa htt',e@ui6LV3ontent,Ty'eV contentLVtetJhtmlW charsetL1indo1s,*-/-V

    Ometa nameLVG4R:T

  • 8/13/2019 Cs Tutorial (1)

    69/77

    Odi6 idLVlogoutV

    Oa hrefLV5ome.%s'V#ogoutOJa

    OJdi6Odi6 idLVhomeV

    Odi6 idLVheaderVOU include fileLVheader.%s'V

    OJdi6

    Odi6 idLVmiddleV

    Odi6 idLVleft*V

    Odi6 idLVloginV

    Odi6 idLVd1ndimgV Oimg srcLVimagesJBlac2Button.'ngV heightLV+V 1idthLV++V

    OJdi6

    Odi6 classLVd1nldcontentV

    Odi6 classLVdlcntntV Ocenter Oa hrefLV=uestion.%s'V =uestion $a'ersOJaOJcenter

    OJdi6

    Odi6 classLVdlimgV

    Oimg srcLVimagesJdo1n:rro1.'ngV heightLV+V 1idthLV+V

    OJdi6

    OJdi6

    Odi6 classLVd1nldcontentVOdi6 classLVdlcntntV

    Ocenter Oa hrefLVylla&us.%s'V ylla&usOJaOJcenter OJdi6

    Odi6 classLVdlimgV

    Oimg srcLVimagesJdo1n:rro1.'ngV heightLV+V 1idthLV+V

    OJdi6 OJdi6

    Odi6 classLVd1nldcontentV

    Odi6 classLVdlcntntV Ocenter Oa hrefLV3seBoo2s.%s'V Boo2s(3)OJaOJcenter

    OJdi6

    Odi6 classLVdlimgV

    Oimg srcLVimagesJdo1n:rro1.'ngV heightLV+V 1idthLV+V

    OJdi6

    OJdi6

    8

  • 8/13/2019 Cs Tutorial (1)

    70/77

    OJdi6O,,nd of login di6 ,, Odi6 idLVne1sV

    Odi6 idLVf&,rootVOJdi6

    Oscri't(function(d" s" id) Q 6ar %s" f%s L d.getlementsByTag4ame(s)X+YW

    if (d.getlementById(id)) returnW

    %s L d.createlement(s)W %s.id L idW %s.src L VJJconnect.face&oo2.netJenPJall.%sZf&mlL*VW

    f%s.'arent4ode.insertBefore(%s" f%s)W

    (document" [scri't[" [face&oo2,%ssd2[))WOJscri't

    Odi6 classLVf&,li2e,&oV data,hrefLVhtt's7JJ111.face&oo2.comJ'agesJ3,

    TtorialsJ-A*C>A//->/+/CV data,1idthLV++V data,heightLV++V data,sho1,

    facesLVtrueV data,streamLVfalseV data,headerLVtrueVOJdi6

    OJdi6

    Odi6 idLV&ottomV

    Oa hrefLVhtt's7JJt1itter.comJ3stutorials+88V targetLVP&lan2V styleLVtet,

    decoration7 noneWVOimg srcLVimagesJt1itter,8C'.'ngV heightLV/+V1idthLV/+VJ!n&s'W!n&s'WOJa

    Oa hrefLVhtt's7JJ111.face&oo2.comJ'agesJ3,TtorialsJ-A*C>A//->/+/CV

    targetLVP&lan2V styleLVtet,decoration7 noneWVOimg srcLVimagesJface&oo2,icon.'ngVheightLV/+V 1idthLV/+VJ!n&s'W!n&s'WOJa

    Oa hrefLVZV targetLVP&lan2V styleLVtet,decoration7 noneWVOimgsrcLVimagesJlin2edin,icon.'ngV heightLV/+V 1idthLV/+VJ!n&s'W!n&s'WOJa Oa hrefLVZV targetLVP&lan2V styleLVtet,decoration7 noneWVOimg

    srcLVimagesJGoogle.'ngV heightLV/+V 1idthLV/+VJOJa

    OJdi6

    OJdi6

    Odi6 idLVright*V

    Odi6 idLVcolsV

    Odi6 classLVrV

    Odi6 classLVr*V Oa hrefLVIndustrialTraining.%s'V styleLVtet,decoration7 noneW color7Z+A&e*F

    im'ortantWVO& Ehy Industrial Training is Im'ortantOJ&OJa

    OJdi6 OJdi6

    Odi6 classLVrV

    Odi6 classLVr*V

    A+

  • 8/13/2019 Cs Tutorial (1)

    71/77

    Oa hrefLVtreams.%s'V styleLVtet,decoration7 noneW color7Z+A&e*F

    im'ortantWVO&: com'arison of 'rogramming languagesOJ& OJa

    OJdi6 OJdi6

    Odi6 classLVrV

    Odi6 classLVr*V Oa hrefLV3om'anies.%s'VstyleLVtet,decoration7 noneW color7Z+A&e*F

    im'ortantWVO&3om'anies for trainingOJ&OJa

    OJdi6 OJdi6

    Odi6 classLVrV

    Odi6 classLVr*V

    Oa hrefLV$ro%ectIdeas.%s'V styleLVtet,decoration7 noneW color7Z+A&e*Fim'ortantWV O&$ro%ect IdeasOJ&OJa

    OJdi6

    OJdi6

    Odi6 classLVrV Odi6 classLVr*V

    Oa hrefLVRecruitment.%s'VstyleLVtet,decoration7 noneW color7Z+A&e*Fim'ortantWVO&Recruitments in Go6t.ectorOJ&OJa

    OJdi6

    OJdi6

    OJdi6O,,nd of cols di6 ,, Odi6 idLV6edioareaV

    Odi6 idLV6edioV

    Oa

    hrefLVEhy 3om'uter cience.m'CV autostartLVfalseVstyleLVdis'lay7&loc2W1idth78>+'Wheight7++'VidLV'layerV

    OJa

    OF,, this 1ill install flo1'layer inside 're6ious :, tag. ,,Oscri't

    flo1'layer(V'layerV" Vflo1'layer,.-.*8.s1fV)W

    OJscri't OJdi6O,,nd of 6edio di6 ,,

    Odi6 idLVcontentsV Odi6 idLVne1zV

    Odi6 styleLVmargin,left7 /'WV

    OUinclude fileLVne1z.%s'V OJdi6

    OJdi6

    Odi6 idLVdo1nloadV

    A*

  • 8/13/2019 Cs Tutorial (1)

    72/77

    Oiframe 1idthLV/V heightLV*//V frame&orderLV+V scrollingLVnoV

    marginheightLV+V margin1idthLV+V srcLVhtt'7JJma's.google.co.inJma's\

    fL@!am'WsourceLsP@!am'WhlLen!am'WgeocodeL!am'W@L:'tech3om'uterducation"

    ;erozGandhiMar2et!am'Wa@L!am'WsllL+.>8C/*"A8.C8C>CC!am'Wss'nL*+.8>*-

    A"-*.8C+88!am'WieLT;>!am'Wh@L:'tech3om'uterducation";erozGandhiMar2et!am'WllL+.+*8"A/.>>/!am'Ws'nL+.+-+>A"+.+C--A-!a

    m'WtLm!am'WzL*C!am'Wi1locL:!am'WcidL*/*//+A8>+-**-AA!am'Wout'utLe

    m&edVOJiframeO&r JOsmallOa hrefLVhtt'7JJma's.google.co.inJma's\fL@!am'WsourceLem&ed!am'WhlLen!am'Wgeocod

    eL!am'W@L:'tech3om'uterducation";erozGandhiMar2et!am'Wa@L!am'WsllL+.>8C/*"A8.C8C>CC!am'Wss'nL*+.8>*-

    A"-*.8C+88!am'WieLT;>!am'Wh@L:'tech3om'uterducation"

    ;erozGandhiMar2et!am'WllL+.+*8"A/.>>/!am'Ws'nL+.+-+>A"+.+C--A-!a

    m'WtLm!am'WzL*C!am'Wi1locL:!am'WcidL*/*//+A8>+-**-AAVstyleLVcolor7Z++++;;Wtet,align7leftVHie1 #arger Ma'OJaOJsmall

    OJdi6 OJdi6O,,nd of contents di6 ,,

    OJdi6O,,nd of 6edioarea di6 ,,

    OJdi6

    OJdi6O,,nd of middle di6 ,,

    Odi6 idLVlgtfooterV

    OcenterO'] 3o'yright -+* 3s TutorialsOJ'OJcenter

    OJdi6

    OJdi6O,,nd of home di6 ,,OJ&ody

    OJhtml

    A-

  • 8/13/2019 Cs Tutorial (1)

    73/77

  • 8/13/2019 Cs Tutorial (1)

    74/77

    OJdi6

    Odi6 classLVd1nldcontentV

    Odi6 classLVdlcntntV Ocenter Oa hrefLV#oginchec2.%s'V =uestion $a'ersOJaOJcenter

    OJdi6

    Odi6 classLVdlimgV

    Oimg srcLVimagesJdo1n:rro1.'ngV heightLV+V 1idthLV+V

    OJdi6

    OJdi6

    Odi6 classLVd1nldcontentV

    Odi6 classLVdlcntntV Ocenter Oa hrefLV#oginchec2.%s'V ylla&usOJaOJcenter

    OJdi6

    Odi6 classLVdlimgV Oimg srcLVimagesJdo1n:rro1.'ngV heightLV+V 1idthLV+V

    OJdi6 OJdi6

    Odi6 classLVd1nldcontentV

    Odi6 classLVdlcntntV

    Ocenter Oa hrefLV#oginchec2.%s'V Boo2sOJaOJcenter OJdi6

    Odi6 classLVdlimgV Oimg srcLVimagesJdo1n:rro1.'ngV heightLV+V 1idthLV+V

    OJdi6OJdi6

    OJdi6O,,nd of login di6 ,, Odi6 idLVne1sV

    Odi6 idLVf&,rootVOJdi6

    Oscri't(function(d" s" id) Q 6ar %s" f%s L d.getlementsByTag4ame(s)X+YW

    if (d.getlementById(id)) returnW

    %s L d.createlement(s)W %s.id L idW %s.src L VJJconnect.face&oo2.netJenPJall.%sZf&mlL*VW

    f%s.'arent4ode.insertBefore(%s" f%s)W

    (document" [scri't[" [face&oo2,%ssd2[))WOJscri't

    AC

  • 8/13/2019 Cs Tutorial (1)

    75/77

    Odi6 classLVf&,li2e,&oV data,hrefLVhtt's7JJ111.face&oo2.comJ'agesJ3,

    TtorialsJ-A*C>A//->/+/CV data,1idthLV++V data,heightLV++V data,sho1,facesLVtrueV data,streamLVfalseV data,headerLVtrueVOJdi6

    OJdi6

    OJdi6 Odi6 idLVright*V

    Odi6 classLV5o6erV

    Oh alignLVcenterV;eel free for any 2ind of hel'OJh

    Odi6 classLVhel'a&-V

    Oform actionLV5el'd&.%s'V methodLV'ostV Ota&le

    OtrOtdNour nameOJtdOJtr OtrOtdOin'ut ty'eLVtetV nameLVnameVJOJtdOJtr

    OtrOtdmailOJtdOJtr

    OtrOtdOin'ut ty'eLVtetV nameLVemailVJOJtdOJtr

    OtrOtd$honeOJtdOJtr OtrOtdOin'ut ty'eLVtetV nameLV'honeVJOJtdOJtr

    OtrOtd3ommentsJ=ueriesOJtdOJtr

    OtrOtd classLVt*VOtetarea nameLV3ommentBoVOJtetareaOJtdOJtr OtrOtdOin'ut ty'eLVu&mitV nameLVsu&mitVJOJtdOJtr

    OJta&le OJform

    O'If u need any 2ind of notes"$re6ious years @uestion 'a'ers"Boo2s

    regarding your su&%ect feel free to contact us 1e 1ill al1ays here to hel' you.OJ'

    OJdi6 Odi6 classLVhel'imgV

    Oimg srcLVimagesJhel'.%'gV heightLV/+VJ

    OJdi6 OJdi6

    OJdi6O,,nd of right* di6 ,,

    OJdi6O,,nd of middle di6 ,,

    A/

  • 8/13/2019 Cs Tutorial (1)

    76/77

    Odi6 idLVfooterV

    O'Ocenter] 3o'yright -+* 3s TutorialsOJcenterOJ'

    OJdi6

    OJdi6O,,nd of home di6 ,,

    OJ&ody

    OJhtml

    CONCLUSION

    3 Tutorials is a 6ery easy 'ro%ect to understand. Eith the hel' of this 'ro%ect 1e can

    do1nload &oo2s" @uestion 'a'ers" notes" 'resentations for the su&%ects of the Ath

    semester. sers can also find 6arious latest go6ernment %o&s. To hel' others user can

    also u'load notes or some im'ortant stuff 1hich is &eneficial for others. This is the most

    rele6ant method of the coming era to e'lore the different 2no1ledge?s and study online

    1ith e'erts 6ie1.

    NEED

    It can hel' the users to do1nload &oo2s" @uestion 'a'ers" 'resentations" notes.

    It can ma2e the 1or2 easy as its less time consuming.

    It can e6en reduce the

    BENEFITS

    Eith this users can do1nload useful material from site.

    It sa6es the time and money.

    It hel's users to get their registration in an easy 1ay.

    The &enefit of our site is that user can find e&oo2s regarding their su&%ects.

    A8

  • 8/13/2019 Cs Tutorial (1)

    77/77