www.psgtech.edu PSG College Of Technology MCA : Model Question Paper

+ Ask Question / Post resume
Results 1 to 1 of 1
  1. Post Count Number #1
    IJT addict
    Join Date
    February 14th, 2012
    Location
    Tuticorin
    Posts
    9,712

    www.psgtech.edu PSG College Of Technology MCA : Model Question Paper

    PSG COLLEGE OF TECHNOLOGY, COIMBATORE - 641 004
    SEMESTER EXAMINATIONS, OCT / NOV 2008
    MCA Semester : V
    05MXOD WEB TECHNOLOGY


    Time : 3 Hours Maximum Marks : 60

    INSTRUCTIONS:
    1.Answer ALL questions from PART - A and Answer any FIVE questions from PART - B.

    http://www.psgtech.edu/department/mc...20Kumaran.html
    http://www.psgtech.edu/department/mc...SK_WebTech.doc

    PART - A Marks : 10 x 2 = 20
    1.What is the power of Web Services being exposed through technologies like SOAP and REST?

    2.What is the difference between a URI, a URL and a URN? Give an example for each.

    3.Model the following information as XML document.

    Name Email Phone Affiliation
    John Doe john@doe.com 0621 /2040503 Doe Inc.
    Jane Doe jane@doe.com 0621 /2040502 Doe Inc.
    Kelly Edwards Kelly@abc.com +85 544 /1211245 MaryLand Inc.

    Company Customer since Customer until
    Doe Inc 10/2001 2/2005
    MaryLand Inc. 2/2002 ---

    4.Explain the concept of XML Namespaces. How are namespaces declared and used in XML?

    5.Is the following schema legal? Why and why not?
    <xsd:complexType name="book">
    <xsd:sequence>
    <xsd:all>
    <xsd:element name="title" type="Titles"/>
    <xsd:element name="author" type="Names"/>
    <xsd:element name="isbn" type="isbns"/>
    </xsd:all>
    <xsd:sequence>
    <xsd:element ref="comment" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:sequence>
    <xsd:attribute name="publishDate" type="xsd:date"/>
    </xsd:complexType>

    6.What is understood by "validating" and "static typechecking" in XML processing? Give an example for each technique.

    7.Consider the following XML document
    <?xml version="1.0" ?>
    <sales periods="2000 2001 2002 2003">
    <country name="Germany">
    <s>30</s>
    <s>35</s>
    <s>37</s>
    <s>44</s>
    </country>
    <country name="France">
    <s>21</s>
    <s>24</s>
    <s>23</s>
    <s>19</s>
    </country>
    <country name="Italy">
    <s>17</s>
    <s>19</s>
    <s>17</s>
    <s>20</s>
    </country>
    </sales>
    Write an XSLT stylesheet that renders the data in an HTML table as follows:

    2000 2001 2002 2003
    Germany 30 35 37 44
    France 21 24 23 19
    Italy 17 19 17 20
    Last edited by hemalathaijt; March 17th, 2012 at 10:37 AM.