Interview Questions

Q:

What is the difference between a Hub and a Switch?

Answer

Hub is device to connect two devices, switch is a network bridge which processes and routes data approirately over network layer of OSI Reference model

Report Error

View answer Workspace Report Error Discuss

0 2850
Q:

Write the basic syntax of a LINQ query in Visual Basic as well as in C#.

Answer

In Visual Basic, the basic syntax of a LINQ query starts with the From clause and ends with the Select or Group By clause. In addition, you can use the Where, Order By, and Order By Descending clauses to perform additional functions, such as filtering data and generating the data in a specific order.

In C#, the basic syntax of a LINQ query starts with the From clause and ends with the Select or group by clause. In addition, you can use the where, orderby, and Orderby descending clauses to perform additional functions, such as filtering data and generating the data in a specific order.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2850
Q:

What does destination scan mean?

A) The shipment has arrived at a UPS facility. B) The shipment has departed a UPS facility and is on its way to the next UPS facility.
C) The shipment has arrived at the local UPS facility responsible for final delivery. D) UPS has received the shipment.
 
Answer & Explanation Answer: C) The shipment has arrived at the local UPS facility responsible for final delivery.

Explanation:

Shipment movement information is captured each time a tracking label is scanned in the UPS delivery system. There may be several days between scans if the shipment is going cross-country or moving between countries.

 

Destination Scan: The shipment has arrived at the local UPS facility responsible for final delivery.

Arrival Scan: The shipment has arrived at a UPS facility.

Departure Scan: The shipment has departed a UPS facility and is on its way to the next UPS facility.

Origin Scan: UPS has received the shipment.

Report Error

View Answer Report Error Discuss

Filed Under: Marketing and Sales

0 2848
Q:

How do you eliminate duplicate values in DB2 SELECT?

Answer

Use SELECT DISTINCT ..... in DB2 query


 


The DISTINCT keyword can be used to return only distinct (different) values.


Syntax:


     SELECT DISTINCT column1,column2


      FROM table_name;


 

Report Error

View answer Workspace Report Error Discuss

0 2848
Q:

Why static method can not call non static method of the same class?

Answer

bcoz the static method does not contains the 'this' reference.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2847
Q:

What is ODBC SQLPASSTHROUGH option?

Answer

We use SQLPASSTHROUGH options when we need applications to access data both in the front-end and back-end data servers with a single connection. SQL statements that cannot be executed in the solidDB front-end server are passed over to the back end. 


SQLPASSTHROUGH mode can be set as per session or per transaction. The connection between the front end and back end is made with a back-end compatible ODBC driver which is loaded dynamically in solidDB server.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2847
Q:

What is the difference between Cursor Stability and Repeatable Read isolation levels?

Answer

CURSOR STABILITY:


- CS is a row level locking


- Acquires an exclusive lock on the row that is to be updated


- When the control is moved to the next updatable row, the lock is released


REPEATABLE READ:


- RR is a page level locking


- Acquires an exclusive lock on the entire page which is the source of row availability


- When the control is moved to the next updatable page the lock is released

Report Error

View answer Workspace Report Error Discuss

0 2844
Q:

What is Cascade and Drill Through? What is the difference between them?

Answer

Cascade:


- Cascade process involves taking values from various other prompts.


- The result is a single report.


- The result is used when a criteria is to be implemented.


 


Drill Through:


- Drill Through process is implemented when navigation from summary to detailed information.


- Drill Through has a parent and a child report.


- Data of another report can be seen based on the current details of data.

Report Error

View answer Workspace Report Error Discuss

0 2844