Keyword

Result: 108 questions

Explain the features of C#?

Answer:

Below are some of the features supported in C# -

  • Constructors and Destructors
  • Properties
  • Passing Parameters
  • Arrays
  • Main
  • XML Documentation and
  • Indexers

 

View

Explain the types of comments in C#?

Answer:

Below are the types of comments in C# -

  • Single Line Comment Eg : //
  • Multiline Comments Eg: /* */
  • XML Comments Eg : ///
View

What is XML?

Answer:

Extensible Markup Language
Used to structure and describe information

- Tag-based syntax like HTML
- You can make up your own tags

View

What is XML used for?

Answer:

- Intended for the Internet
- A way to interchange data between disparate systems
- Foundation for XTHML, RSS, AJAX
- Does not replace HTML; more of a way to create tag sets like HTML for specific purposes

View

What is Xpath?

Answer:

Extensible Path Language
- Used to extract data from inside an XML file
- Uses a path-like syntax

View

What is XQuery?

Answer:

Used to perform query functions on XML data, similar to SQL for databases

View

XPointer and XLink

Answer:

Used to create hyperlinks to XML documents and arbitrary points within XML documents

View

Some disadvantage of XML

Answer:

- Handling large amounts of data
- Difficult to read if a file has a large amount of information
- Images and binary data not well represented
- Simplicity makes it easy to get in over your head

View

XML Declaration

Answer:

<? xml version="1.0" encoding="utf-8" standalone="yes"?>

- Must be at the very start of the document, no white space
- Assumes encoding is UTF-8 if you don't set it otherwise
- Standalone declaration states whether the documents stands by itself, or references other markup

View

Tag naming conventions in XML

Answer:

<? xml version="1.0" encoding="utf-8" standalone="yes"?>

- Must be at the very start of the document, no white space
- Assumes encoding is UTF-8 if you don't set it otherwise
- Standalone declaration states whether the documents stands by itself, or references other markup

View

Attribute naming conventions in XML

Answer:

- Specified at the start tag of an element
- Must begin with underscore or letter, followed by letters, digits, periods, hyphens, or underscores
- Can't use "xml" in the name at all
- Attributes can only appear one time per element (invalid ex: <element attr="1" attr="2">

View

Character Data Sections in XML

Answer:

Used to contain character data that you don't want to be parsed 

<![CDATA[some text data]]>

- Aka CDATA sections
- Typically used when the character data contains a lot of characters like & or < that would be illegal in XML markup
- Cannot nest--no CDATA section inside of another

View

What is XML Namespaces?

Answer:

Provide a way for preventing tags with same names & different meanings from conflicting. 

Has the form: <html xmlns = "http://www.w3.org" >
Doesn't actually use the URLs

You must declare a namespace with a prefix; the XML namespace without colons and a prefix is the default namespace (in the case below, HTML):

<table xmlns="http://www.w3.org" xmlns:furn="http://www.furniture.org/tables" >
<tr><td><furn:table sku="12312">Table</td></tr>
<tr><td><furn:type>Coffee Table</td></tr>

View

What is the maximum number of URLs typically allowed in an XML sitemap file?

Quiz

The minimum REQUIRED tags in an XML sitemap include:

Quiz

What does XML stand for?

Quiz

How XML describe data

Quiz

What is a JSP Page ?

Answer:

A Java Server Page (JSP) is a text document that contains two types of text: static data and JSP elements. Static data can be expressed in any text-based format, such as HTML or XML. JSP is a technology that mixes static content with dynamically-generated content. See JSP example here.

View

What are the advantages of JSP ?

Answer:

The advantages of using the JSP technology are shown below:

  • JSP pages are dynamically compiled into servlets and thus, the developers can easily make updates to presentation code.
  • JSP pages can be pre-compiled.
  • JSP pages can be easily combined to static templates, including HTML or XML fragments, with code that generates dynamic content.
  • Developers can offer customized JSP tag libraries that page authors access using an XML-like syntax.
  • Developers can make logic changes at the component level, without editing the individual pages that use the application’s logic.
View

What are JSP actions ?

Answer:

JSP actions use constructs in XML syntax to control the behavior of the servlet engine. JSP actions are executed when a JSP page is requested. They can be dynamically inserted into a file, re-use JavaBeans components, forward the user to another page, or generate HTML for the Java plugin.Some of the available actions are listed below:

  • jsp:include – includes a file, when the JSP page is requested.
  • jsp:useBean – finds or instantiates a JavaBean.
  • jsp:setProperty – sets the property of a JavaBean.
  • jsp:getProperty – gets the property of a JavaBean.
  • jsp:forward – forwards the requester to a new page.
  • jsp:plugin – generates browser-specific code.
View

© 2017 QuizBucket.org