Select chapter



basics (7.papers)
constructors (1.papers)
packages (1.papers)
inheritance (7.papers)
misc (3.papers)
exceptions (5.papers)
threads (4.papers)
overloading (1.papers)
jsp (3.papers)
servlets (9.papers)
jdbc (2.papers)
util (1.papers)
xml (2.papers)
IO stream (3.papers)
Hide

Sponsored Links


  

java interview questions and answers

Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
4
Which of the following specify  that the element can contain any data but it should be well-formed xml data?
  1. <!ELEMENT membership MIXED>
     
  2. <!ELEMENT membership WELLFORMED>
    
  3. <!ELEMENT membership ANY>
    
  4.  <!ELEMENT membership ALL>
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
7
Technology that allows you to navigate to a particular node in XML is called
  1. Xquery
  2. Xpath
  3. Xpointer
  4. XSLT stylesheets should be used to convert between database definitions.
Show Answer
Share Facebook gmail Twitter
8
<!ELEMENT person (name,address)+> 
The above declarartion implies that
  1. person element can have name and address element in any numbers and any order
  2. person element should atleast one name and one address element in any order
  3. person element can have one or more name and one or more address element but all name elements must appear first before address elements
  4. person element can have one or more name and one or more address element but after every name element address element must follow
Show Answer
Share Facebook gmail Twitter
9
 To add the attribute named Type to the <customer> tag the syntax will be
  1. <customer attribute Type=”excellent”>
    
  2. <customer Type attribute =”excellent”>
    
  3. <customer Type attribute_type=”excellent”>
    
  4. <customer Type='excellent'>
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
12
In  <?xml version="1.0"?>  
what does the '?' Indicate?
  1. It indicates that XML version is not known
  2. It is used for documentation
  3. It provides  information to the application about XML
  4. It indicatres that the document can contain XML and non-XML content
Show Answer
Share Facebook gmail Twitter
13
Which one of the following zodiac_sign elements could be valid?
  1. <zodiac_sign type=animal>Leo</zodiac_sign>
  2. <zodiac_sign type="animal">Aries</zodiac_sign>
  3. <zodiac_sign type=animal name=Taurus/>
  4. <zodiac_sign "life class"="animal">Cancer<zodiac_sign>
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
15
Which of the following strings are a correct XML name?
  1. _firstName
  2. First Name
  3. #firstName
  4. first-name
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
17
Which one of the following statement is true?
  1. All XML elements must have attributes
  2. XML documents must have a XML Schema or a DTD
  3. All XML elements must be lower case
  4. XML element could have mixed data
Show Answer
Share Facebook gmail Twitter
18
XML tag name conflicts are resolved using
  1. XPath
    
  2. packages
  3. namespace
  4. using unicode names
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
20
<? Sometext ?> What does this mean?
  1. This is PI tag in XML
  2. This is comment tag in XML
  3. This is the way tag is defined in XML
  4. This is an invlid tag
Show Answer
Share Facebook gmail Twitter
Read more papers :