Home | Contact Us | Log In | Help
HOME NEW LISTING MOST POPULAR HIGHEST RATED SCRIPTS ADD SCRIPT DOWNLOADS FORUM
Tutorials
  ASP.Net & C#
  ASP
  Perl and PHP
  Java Scripts
  C and C++
  Ajax Tutorials
  J2ee, J2Me, Java
  Python & Ruby Rail
  Crystal Report
  Sap
  CGI
  XML
  Cold Fusion & CFML
  HTML, DHTML & CSS
  Dreamweaver
  FLASH
  Photoshop/Web Designing
  Tools & Utilities
  Oracle/D2K
  Sql Server
  MySql
  Domain Name Registration
  Remotely Hosting
  Web/Server Application
  Hotel Marketing
  Internet and Law
   Search Engine Optimization/SEO
E-Commerce
Interview Questions

< 1 2 3 4 5 6 7 > Next

XML (INTERVIEW QUESTIONS) 1
  What is XML?

 XML is a markup language for documents containing structured information.
Structured information contains both content (words, pictures, etc.) and some indication of what role that content plays (for example, content in a section heading has a different meaning from content in a footnote, which means something different than content in a figure caption or content in a database table, etc.). Almost all documents have some structure.
A markup language is a mechanism to identify structures in a document. The XML specification defines a standard way to add markup to documents.

  • XML stands for EXtensible Markup Language
  • XML is a markup language much like HTML
  • XML was designed to describe data
  • XML tags are not predefined. You must define your own tags
  • XML uses a Document Type Definition (DTD) or an XML Schema to describe the data
  • XML with a DTD or XML Schema is designed to be self-descriptive
  • XML is a W3C Recommendation
   
  What is a schema? What are the limitations of a DTD?

 Schema represents the Grammar of XMl document instanace used by Parser to check the well formed ness and validition of XML document instance with respect to schema we defined.In case of DTD it wont allow us to define our own datatype mean creating our own datatype based on the primitive types.In case of XSD(XML Schema Language ) is used to define elements based on primitive types and complex types.Simple Types - Based on the language supporting types.Complex Types - Refering user define data type with set of Primitive typessay,, for example as give below we can refer this complex type element as element type as,we can in the above that we are refering the element "location' with our userdefined type "Address"This kind of support we dont have in DTD's it only supports PCDATA and CDATA sections with primitive data type support.

   
  What are the differences between SAX and DOM parsers?

 Both SAX and DOM are used to parse the XML document. Both has advantages and disadvantages and can be used in our programming depending on the situation
SAX:
 1. Parses node by node
 2. Doesnt store the XML in memory
 3. We cant insert or delete a node
 4. Top to bottom traversing
DOM:
 1. Stores the entire XML document into memory before processing
 2. Occupies more memory
 3. We can insert or delete nodes
 4. Traverse in any direction.
If we need to find a node and doesnt need to insert or delete we can go with SAX itself otherwise DOM provided we have more memory. Prasanna Balaraman.

 
  What are Schema Objects?

 Schema objects are the logical structures that directly refer to the database's data. Schema objects include tables, views, sequences, synonyms, indexes, clusters, database triggers, procedures, functions packages and database links.

 
  What parser would you use for searching a huge XML file?

  SAX, event based XML parser is probably what is needed to search huge file. DOM store the whole content on memory which is in huge file is not good since it uses a lot of memory. SAX is event based that handle XML elements when it find it.

 
  Can objects of the same Schema reside in different tablespaces?

  Yes , it can .
For example if you specify a different tablepace (B) for indexes, the indexes of the tables that the user create would be residing in B , and the table would reside in the user's default tablespace A.

 
  What is tablespace?

 Any database contain one or more Table spaces. Each Table space is devided into pages of size 4kb or 32kb. Each table psace can have one or more tables. TABLE SPACE SPACE IS UNIT OF RECOVERY OR REORGANIZATION.
There are 3 types of Table Spaces
  a) Simple
  b) Segmented
  c) Partitioned

 
  What parser would you use for searching a huge XML file?

 SAX, event based XML parser is probably what is needed to search huge file. DOM store the whole content on memory which is in huge file is not good since it uses a lot of memory. SAX is event based that handle XML elements when it find it.

 
  What is an intent lock?

  An intent lock is at the table level for a segmented tablespace or at the tablespace level for a nonsegmented tablespace. They indicate at the table or tablespace level the kinds of locks at lower levels.

 

< 1 2 3 4 5 6 7 > Next

  Copyright 2000-2006 © SoloScript.com, All rights reserved.