Technology Questions

Q:

Difference between Swing and Awt ?

Answer

AWT are heavy-weight componenets. Swings are light-weight components. Hence swing works faster than AWT.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2059
Q:

How to store the uploaded file to the final location?

Answer

move_uploaded_file( string filename, string destination)

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2057
Q:

What are the usages of the Command object in ADO.NET?

Answer

The following are the usages of the Command object in AD0.NET:

The Command object in AD0.NET executes a command against the database and retrieves a DataReader or DataSet object.

  =>  It also executes the INSERT, UPDATE, or DELETE command against the database.
  =>  All the command objects are derived from the DbCommand class.
  =>  The command object is represented by two classes: SqlCommand and OleDbCommand.
  =>  The Command object provides three methods to execute commands on the database:
  =>  The ExecuteNonQuery() method executes the commands and does not return any value.
  =>  The ExecuteScalar() method returns a single value from a database query.
  =>  The ExecuteReader() method returns a result set by using the DataReader object.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2054
Q:

What are the main attributes of test automation?

Answer

The main attributes are discussed below:


 


Maintainability: For each new release need to update the test automation suites.


Reliability: Accuracy and repeatability of the test automation.


Flexibility: Ease of working with all the different kinds of automation test ware. 


Efficiency: Total cost related to the effort needed for the automation.


Portability: Ability of the automated test to run on different environments.


Robustness: Effectiveness of automation on an unstable or rapidly changing system. 


Usability: Extent to which automation can be used by different types of user.

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

0 2053
Q:

What is encapsulation?

Answer

Encapsulation describes the ability of an object to hide its data and methods from the rest of the world 

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2053
Q:

Which class in .NET is used to install a Windows service?

Answer

The ServiceInstaller class, also known as the project installer class, is used to install a Windows service.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2052
Q:

How will u send data from a cobol file to db2 table?

Answer

USING HOST VARIABLE we can pass data from COBOL to DB2

Report Error

View answer Workspace Report Error Discuss

0 2052
Q:

What is the TTL (Time to Live)? Why is it required?

Answer

TTL is a value in data packet of Internet Protocol. It communicates to the network router whether or not the packet should be in the network for too long or discarded. Usually, data packets might not be transmitted to their intended destination within a stipulated period of time. The TTL value is set by a system default value which is an 8-bit binary digit field in the header of the packet. The purpose of TTL is, it would specify certain time limit in seconds, for transmitting the packet header. When the time is exhausted, the packet would be discarded. Each router receives the subtracts count, when the packet is discarded, and when it becomes zero, the router detects the discarded packets and sends a message, Internet Control Message Protocol message back to the originating host.

Report Error

View answer Workspace Report Error Discuss

0 2050