Technology Questions

Q:

What is XML Namespace?

Answer

An XSL sheet or a document may have duplicate elements and attributes. Therefore, the XML namespaces define a way to distinguish between duplicate element types and attribute names.


An XML namespace is a collection of element type and attribute names. It is a URI due to which any element type or attribute name in an XML namespace can be uniquely identified. 


It consists of two parts : the name of the XML namespace and the local name.


e.g.: xmlns: h=”https://www.abc.com”


After this, you can write


<h:table>


……..


</h:table>


to associate the table with the declared namespace. 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2145
Q:

What is correlated query? Explain its uses.

Answer

In a correlated query, the outer query is related to the inner query. This means one or more columns in the outer query are referenced. It’s used when the outer queries value is being used by inner query. For example, we need to find which employee had more perks in the current month than they did in the previous month. The correlated subquery is executed for each row of perks information in the parent query to first determine what the perks were for each employee in the previous month. This data, in turn, is compared to perks for each employee in the current month, and only those employees whose perks in the current month were greater that their previous month's perks are returned.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2144
Q:

What is the difference between a regular bitmap and a nine-patch image?

Answer

In general, a Nine-patch image allows resizing that can be used as background or other image size requirements for the target device. The Nine-patch refers to the way you can resize the image: 4 corners that are unscaled, 4 edges that are scaled in 1 axis, and the middle one that can be scaled into both axes.


 

Report Error

View answer Workspace Report Error Discuss

0 2140
Q:

What is the argument of main() method?

Answer main() method accepts an array of String object as arguement.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2139
Q:

What is the purpose of canvas in HTML?

Answer

Canvas is an element that is used for the graphics for the web page. It uses JavaScript to bring the graphics functionality live. It allows easy way to draw the graphics and use different types of tools to create drawing on the web page. Canvas is just a rectangular area that controls the pixel of every element that is used in the web page. Canvas uses methods like paths, circles, etc. The canvas element will be used as follows:


<canvas id="can" width="200" height="100"></canvas>


The canvas element includes id, width and height settings and with the javascript it gets used like:


<script type="text/javascript">


var c=document.getElementById("can");


var ctx=c.getContext("2d");


ctx.fillStyle="#FF0000";


ctx.fillRect(0,0,150,75);


</script>

Report Error

View answer Workspace Report Error Discuss

3 2135
Q:

What is the advantage of using ADO?

Answer

ADO or Active X Data objects, allows developers to create applications that can interoperate well with other data application services.

Report Error

View answer Workspace Report Error Discuss

0 2135
Q:

What is ASP.NET?

Answer

ASP.NET is a specification developed by Microsoft to create dynamic Web applications, Web sites, and Web services. It is a part of .NET Framework. You can create ASP.NET applications in most of the .NET compatible languages, such as Visual Basic, C#, and J#. The ASP.NET compiles the Web pages and provides much better performance than scripting languages, such as VBScript. The Web Forms support to create powerful forms-based Web pages. You can use ASP.NET Web server controls to create interactive Web applications. With the help of Web server controls, you can easily create a Web application.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2133
Q:

In which namespace, all .NET collection classes are contained?

Answer

The System.Collections namespace contains all the collection classes.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2131