Interview Questions

Q:

Which utility allows you to reference an assembly in an application?

Answer

An assembly can be referenced by using the gacutil.exe utility with the /r option. The /r option requires a reference type, a reference ID, and a description.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

1 3531
Q:

What is a Wrapper class?

Answer

Wrapper classes wrap primitive values in a class and offers utility to access them through objects. Some of the primitive wrapper data types are:


Byte, short, int, long, float, double, char, Boolean.


Example: 


Create a class name VectorAdd to populate it with integer values using the add(int, object) method.


public class VectorAdd


{


       public static void main(String argv[])


       {


             Vector v = new Vector();


             v.add(0,new Integer(10));


             v.add(1,new Integer(20));


             v.add(2,new Integer(30));


             for(int i=0; i < v.size();i ++)


             {


                  Integer iw =(Integer) v.get(i);


                  System.out.println(iw);


             }


       }


}

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 3529
Q:

How effective is online advertising? Which type of products should be advertised online?

Answer

Today, internet plays a pivotal role in both B2B and B2C space. Internet advertising helps the company to reach a large target audience in a small budget and also is easily measurable. It’s highly effective in creating and increasing brand awareness on a whole for any product/service.


The following are the various ways to measure the effectiveness of online advertising:



  •      Downloading of brochures/contact forms

  •      Completing a transaction on Shopping cart section of the website

  •      Subscription to newsletter/webinars

  •      Online enquiry about the product/service through company’s email address

  •      Google analytics

  •      Web analytics  

Report Error

View answer Workspace Report Error Discuss

2 3528
Q:

Which Bank has obtained RBI approval to open representative offices in Kuwait and Singapore?

A) SBI B) Federal Bank
C) HDFC D) ICICI
 
Answer & Explanation Answer: B) Federal Bank

Explanation:

Federal Bank has obtained RBI approval to open representative offices at Kuwait and Singapore.

The bank has been the preferred banker for NRI's and the NRI friendly measures have resulted in increasing inflow of foreign remittances.

The bank already has its representative offices in Abu Dhabi and Dubai and it has tied up with 110+ overseas banks/remittance partners.

Report Error

View Answer Report Error Discuss

Filed Under: Bank Interview
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

6 3526
Q:

What is WATER MARK in oracle? Explain the significance of High water mark.

Answer

WATER MARK is a divided segment of used and free blocks. Blocks which are below high WATER MARK i.e. used blocks, have at least once contained some data. This data might have been deleted later. Oracle knows that blocks beyond high WATER MARK don’t have data; it only reads blocks up to the high WATER MARK during a full table scan. 

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

3 3525
Q:

How are ip addresses available to the internet classified?

A) Static B) Public
C) Private D) None of the above
 
Answer & Explanation Answer: B) Public

Explanation:

An IP address (internet protocol address) is a numerical representation that uniquely identifies a specific interface on the network. Addresses in IPv4 are 32-bits long. This allows for a maximum of 4,294,967,296 (2^32) unique addresses. Addresses in IPv6 are 128-bits, which allows for 3.4 x 1038 (2^128) unique addresses.

 

IP addresses available to the internet are classified as Public.

Report Error

View Answer Report Error Discuss

2 3523
Q:

Why static methods cannot access non static variables or methods?

Answer

A static method cannot access non static variables or methods because static methods doesnt need the object to be accessed. So if a static method has non static variables or non static methods which has instantiated variables they will no be intialized since the object is not created and this could result in an error.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

9 3523
Q:

What is RUNSTATS?

Answer

A DB2 utility used to collect statistics about the data values  in tables which can be used   by the optimizer to decide the access path. It also collects statistics used for space   management. These statistics are stored in DB2 catalog tables.

Report Error

View answer Workspace Report Error Discuss

0 3522