Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
9. DTD includes the specifications about the markup that can be used within the document, the
specifications consists of all EXCEPT
A. the browser name
B. the size of element name
C. entity declarations
D. element declarations
Ans: A
13. The XSL formatting object which formats the data in a table
A. table
B. table-body
C. title
D. table-content
Ans: A
14. To match the specific XML elements child like of parent element is the syntax will be
A. <xsl:template match=PLANET_NAME>
B. <xsl:template match= PLANET/NAME >
C. <xsl:template match= /NAME>
D. <xsl:template match= //>
Ans: B
16. Which of the following XSLT Patterns is used to match any descendant nodes
A. /
B. //
C. .
D. ..
Ans: B
17. Which of the following instruct the browser which stylesheet to use
A. <xml-stylesheet type="text/xsl" href="cd.xsl">
B. <xml-stylesheet type="text/xsl" xsl="cd.xsl">
C. <?xml-stylesheet type="text/xsl" href="cd.xsl"?>
D. <?xml-stylesheet type="text/xsl" xsl="cd.xsl"?>
Ans: C
21. An .................... block can be to embed a CSS style sheet within an XML document.
A) <bk:Book>
B) <Element Type>
C) <HTML:STYLE>
D) <XML:STYLE>
24. The XML format has a simpler set of ........................ than HTML.
A) loader rule
B) parsing rules
C) generator rule
D) logical rule
25. In XML the attribute value must always be quoted with .................
A) double quotes
B) single quotes
C) both a and b
D) name of attributes
4. To bind the HTML element <INPUT> Type in text with the datasource dsoCustomer we use
A. <INPUT TYPE=TEXT DATAFIELD=#dsoCustomer>
B. <INPUT TYPE=TEXT DATASRC= dsoCustomer>
C. <INPUT TYPE=TEXT DATASRC= #dsoCustomer >
D. <INPUT TYPE=TEXT DATAFLD= #dsoCustomer>
Ans: C
8. The transformation of XML document in to another type of document by XSLT can be done by
(i)In the server
(ii)In the client
(iii)With a separate program
A. only(i) & (ii)
B. only (ii) & (iii)
C. all are correct
D. only (i) & (iii)
Ans: C
A. XML developed from HTML because WEB browsers became more powerful.
B. XML is designed as a replacement because SGML can not be used for document development.
C. XML builds on HTMLs ability to provide content to virtually any audience by adding the power of
intelligent content.
D. XML is the modern replacement for HTML and SGML, taking the good points from each, making both
of those languages obsolete.
Ans: C
10. To add the attribute named Type to the <customer> tag the syntax will be
A. <customer attribute Type=exelent>
B. <customer Type attribute =exelent>
C. <customer Type attribute_type=exelent>
D. <customer Type= exelent >
Ans: D
11. Which of the following statements is true:
A. XML is a direct subset of SGML
B. SGML is an application of HTML
C. XML is a kind of dynamic HTML
D. XHTML is XML rewritten in HTML
5. SGML and XML are the same thing
Ans: A
14. You are creating an XML Web service named InventoryService for a Gsoft Ltd. Each branch of Gsoft Ltd.
will build its own client application to consume InventoryService. Each branch connects to the main
office of the dealership by using a virtual private network (VPN). All computers in the dealership run on
Microsoft Windows operating systems. You need to ensure that callers of InventoryService are
authenticated based on their Windows logon name and password. You configure Internet Information
Services (IIS) according to your security needs. You need to configure the authentication type in the
Web.config file. Which code segment should you use?
A. <authentication mode=Basic />
B. <authentication mode=Forms />
C. <authentication mode=Integrated />
D. <authentication mode=Windows />
15. You create an XML Web service named PostalCode. Your project source includes a code-behind file and a
file named PostalCode.asmx. During implementation, you use the Debug class to record debugging log
messages, to verify values, and to report debugging failures. You want to deploy PostalCode to a
production computer. You do not want any of the debugging code to execute on the production
computer. What should you do?
A. Set the projects active configuration to Release and rebuild the DLL.
B. Modify the trace element of the Web.config file by setting the enabled attribute to false.
C. Modify the compilation element of the Web.config file by setting the debug attribute to false.
D. Add code to the constructor of the PostalCode class to set the AutoFlash property of the Debug
class to false
2. What do you mean by DTD? How elements and attributes are specified in DTD? Explain with examples.
3. What is XML::Parser? Give an overview of the same. Write a PERL program that demonstrate any one of
XML::Parsers capabilities.
4. Exemplify DOM to present an XML document as a tree-structure.
5. What is the role of XPATH in an Internet Explorer? How it works with a Name space Resolver?
6. Design a XML DTD for displaying student details?
7. Summarize the presentation technologies of XML.
8. Explain the following terms in XML: (i) Prolog (ii) Entity (iii) Parser
9. Give an example which shows XML document has a reference to an XML Schema.
10. What is XML and describe its utility? Design an XML page showing current date and time.