Technology Questions

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 1865
Q:

In a class if private data member is declared then how to set data to that private data member?

Answer

By using method.


The method used to set the data is called setter method.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1864
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 1863
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 1862
Q:

What is the use of Name based hosting?

Answer

- Name based is the virtual hosting that allows the virtual hosts to serve multiple hostnames that runs on single machine and having only one IP address.


- This is used when the web browser is used to request the resource from the server then the server respond using the hostname. 


- Web server uses HTTP protocol to respond to the requested hostname as the part of the request. 


- The server contains all the information of the website and the user that requests for the resources given. 


- Name based web hosting includes the resources and services that need to be given at the time of client’s request.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1862
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 1861
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 1860
Q:

What is COM?

Answer

COM is short for Component Object Model. It is a Microsoft technology that allows developers to make use of reusable components and services provided by Microsoft. COM technology includes COM+, DCOM and ActiveX.

Report Error

View answer Workspace Report Error Discuss

0 1860