Interview Questions

Q:

How do you handle error condition while writing stored procedure or accessing stored procedure from java ?

Answer

Stored procedure should return error code if some operation fails but if stored procedure itself fail than catching SQLException is only choice.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

1 4407
Q:

Explain CBA.

Answer

CBA – Collective Bargaining Agreement is the result of collective bargaining procedure. 


These agreements can be in one of the two forms: 


i.) Procedural agreement


ii.) Substantive agreement


Procedural agreements – They usually deal with the relationship between employees and employers to resolve individual and group issues. These are usually filed in the company’s rule book. 


Substantive agreements – This kind of an agreement deals with specific issues like basic pay, leave policy, bonus payment etc.

Report Error

View answer Workspace Report Error Discuss

Subject: Law

10 4407
Q:

Which small finance Bank is included in the second schedule of the Reserve Bank of India Act, 1934 ?

A) Janalakshmi B) Utkarsh
C) Suryoday D) None
 
Answer & Explanation Answer: C) Suryoday

Explanation:
Report Error

View Answer Report Error Discuss

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

4 4402
Q:

A check returned by the bank marked nsf means

A) Cheque has been forged B) Cheque can't be cashed being illegal
C) There are not sufficient funds in your accoun D) Bank can't verify your identity
 
Answer & Explanation Answer: C) There are not sufficient funds in your accoun

Explanation:

NSF means - Not Sufficient Funds.

Report Error

View Answer Report Error Discuss

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

0 4382
Q:

How to convert JSON Text to a JavaScript Object ?

Answer

One of the most common use of JSON is to fetch JSON data from a web server (as a file or as an HttpRequest), convert the JSON data to a JavaScript object, and then it uses the data in a web page.


The eval() function can compile and execute any JavaScript. This represents a potential security problem.


It is safer to use a JSON parser to convert a JSON text to a JavaScript object. A JSON parser will recognize only JSON text and will not compile scripts.

Report Error

View answer Workspace Report Error Discuss

2 4376
Q:

What are the different types of assemblies? Explain them in detail.

Answer

The following are the two types of assemblies:



          =>  Private Assembly - Refers to the assembly that is used by a single application. Private assemblies are kept in a local folder in which the client application has been installed.

          =>  Public or Shared Assembly - Refers to the assembly that is allowed to be shared by multiple applications. A shared assembly must reside in Global Assembly Cache (GAC) with a strong name assigned to it.


For example, imagine that you have created a DLL containing information about your business logic. This DLL can be used by your client application. In order to run the client application, the DLL must be included in the same folder in which the client application has been installed. This makes the assembly private to your application. Now suppose that the DLL needs to be reused in different applications. Therefore, instead of copying the DLL in every client application folder, it can be placed in the global assembly cache using the GAC tool. These assemblies are called shared assemblies.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 4376
Q:

How to call a constructor in java?

Answer

Constructor chaining is the process of calling one constructor from another constructor with respect to current object.





Within same class: It can be done using this() keyword for constructors in same class


From base class: by using super() keyword to call constructor from the base class.

Report Error

View answer Workspace Report Error Discuss

10 4370
Q:

If Average Total Cost is declining then

A) The Marginal Cost is Less than Average Cost B) The Total Cost must also be Declining
C) The Marginal Cost is Greater than Average Cost D) The Average Fixed Cost curve must lie above the average variable cost curve
 
Answer & Explanation Answer: A) The Marginal Cost is Less than Average Cost

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Marketing and Sales

4 4366