Interview Questions

Q:

How do you parse/validate the XML document?

Answer

Parsing the XML document is the only way to validate the XML file. Validation is done by either DOM parser or the SAX parser. 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1880
Q:

How to determine the state of a checkbox using Javascript?

Answer

var checkedP = window.document.getElementById("myCheckBox").checked;

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1880
Q:

What is BCP ? When is it used ?

Answer

The Bulk Copy Program (BCP) is a command-line utility that ships with Microsoft SQL Server. It is a tool used to duplicate enormous quantity of information from tables and views. It does not facsimile the structures same as foundation to target.
BULK INSERT command helps to bring in a data folder into a record, table or view in a user-specific arrangement. With BCP, you can import and export large amounts of data in and out of SQL Server databases quickly and easily. Any DBA who has utilized this functionality will agree that BCP is an essential tool.

Report Error

View answer Workspace Report Error Discuss

6 1879
Q:

Who is contingent worker? can we run payroll for a contingent worker?

Answer

Contingent or temporary workers have little or no job security as their employment is based on a temporary
Contingent workers are not committed to the organization for a long run, as they know that they will be out of there in very short period of time

Report Error

View answer Workspace Report Error Discuss

0 1879
Q:

How will you launch an Activity within you application?

Answer

For launching an application, we will need to create an intent that explicitly defines the activity that we wish to start. For example:


Code


        Intent intent = new Intent(this, MyTestActivity.class);


        startActivity(intent);

Report Error

View answer Workspace Report Error Discuss

0 1878
Q:

You want only a vertical scrollbar and no horizontal scrollbar on your page. How would you do it?

Answer

- This can be done by defining the frame with SCROLLING = auto and having content to just fit into this frame. 


- SCROLLING="yes" gets the scroll bar on both the sides, even when not needed. 


- SCROLLING="no" doesn’t get the scrollbars at all, even when they are needed.


 

Report Error

View answer Workspace Report Error Discuss

0 1877
Q:

What is a Canvas?

Answer

Canvas is a rectangular area on a HTML page, specified with the tag <canvas>. 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1875
Q:

What does isNaN function do?

Answer

NaN stands for ‘not-a-number’. The function isNaN determines the argument or the value is a NaN. The function returns true if the argument is not a number, otherwise returns false.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1871