Interview Questions

Q:

You are scheduled to leave at 6 pm. Your replacement worker doesn't show up. What would you do?

Answer

If he was unable to make his shift, I would find a replacement, and stay until the replacement came in.

Report Error

View answer Workspace Report Error Discuss

2 3346
Q:

What does a deadlock mean in DB2?

Answer

When two independent processes contend for the same resource or the resources reserved by one another, it is called a deadlock. -911 and -913 are the SQLcode for a deadlock.

Report Error

View answer Workspace Report Error Discuss

1 3344
Q:

Which of the following is not used for commenting in java?

A) // B) /* */
C) /** */ D) /** **/
 
Answer & Explanation Answer: D) /** **/

Explanation:
  • //               is a single line comment
  • /*  */          is commenting on one or more lines
  • /** */         is documentation comment
Report Error

View Answer Report Error Discuss

Filed Under: Java

1 3344
Q:

Expand CAR, in Banking Terminology?

A) Current Applicable Ratio B) Capital Adequacy Ratio
C) Capital Available Request D) Compiled Acquired Ratio
 
Answer & Explanation Answer: B) Capital Adequacy Ratio

Explanation:

Capital Adequacy Ratio (CAR) is also known as Capital to Risk (Weighted) Assets Ratio (CRAR), is the ratio of a bank's capital to its risk.

 

1. The capital adequacy ratio (CAR) is a measure of a bank's capital.

2. It is used to protect depositors and promote the stability and efficiency of financial systems around the world.

3. National regulators track a bank's CAR to ensure that it can absorb a reasonable amount of loss and complies with statutory Capital requirements.

Report Error

View Answer Report Error Discuss

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

5 3343
Q:

Describe how to create a simple AD rotator script without using database in PHP.

Answer

Following are the steps to create a simple AD rotator script without using database in PHP:


- All the ad’s can be collected in one place and be displayed randomly.rand() function can be used for this purpose.


- In order to NOT use any database, a flat file can be used to store the ad’s.


- In order to store the Ad’s information (HTML code), a flat file say “ad.txt” can be created.


- The random number can be stored in a variable 


$result_random=rand(1, 100);


- Conditions can be checked to display the ad’s.


if($result_random<=70)


{


      echo "Display ad1";


}

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

1 3343
Q:

List different ways of deployment that are supported by .NET Framework 4.0.

Answer

       => Windows Installer

       => ClickOnce

       => XCOPY

       => Copy Web Site

       => Publish Web Site tool

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 3343
Q:

Explain about struts dispatch action in DHTML

Answer

DispatchAction is an action that comes with Struts 1.1 or later, that let us combine Struts actions into single class, each with their own method. The org.apache.struts.action.DispatchAction class allows multiple operations to map to the different functions in the same Action class.


For e:g; html:hidden property="dispatch" value="error"/>


<SCRIPT>function set(target) {document. forms[0].dispatch. value=target;}</SCRIPT>

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 3340
Q:

What do you mean by undeclared and undefined variables ?

Answer

Difference between undeclared and undefined variables is defined as


Undeclared variables are those that do not exist in a program and are not declared. If the program tries to read the value of an undeclared variable, then a runtime error is encountered.


Undefined variables are those that are declared in the program but have not been given any value. If the program tries to read the value of an undefined variable, an undefined value is returned.

Report Error

View answer Workspace Report Error Discuss

4 3339