Interview Questions

Q:

How to create recursive query in SQL Server?

Answer

Recursive query can be create in SQL using stored procedure but you can also use CTE (Common table expression). It might be also worth asking about performance as CTE is not always very fast.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

0 3222
Q:

If you are current on the owner of a set, what is the difference between an obtain next and obtain first in IDMS?

Answer

No difference. There is a difference between obtain first and obtain next for an area sweep, but not when current on the owner in a set.

Report Error

View answer Workspace Report Error Discuss

0 3221
Q:

Galloping inflation is also known as

A) Hyperinflation B) Jumping inflation
C) Moderate inflation D) None
 
Answer & Explanation Answer: B) Jumping inflation

Explanation:

Galloping inflation is also known as jumping inflation.

 

It refers to a type of inflation that occurs when the prices of goods and services increase at the two-digit or three-digit rate per annum.

Report Error

View Answer Report Error Discuss

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

2 3218
Q:

What is exemption limit of gratuity

Answer

It is Rs. 10,00,000 now.

Report Error

View answer Workspace Report Error Discuss

0 3216
Q:

What is the difference between a JDK and a JVM?

Answer

JDK is Java Development Kit which is for development purpose and it includes execution environment also.


JVM is Java Virtual Machine which is a run time environment for the compiled java class files .Hence you will not be able to compile your source files using a JVM.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 3211
Q:

What are aggregate functions in SQL? What are those functions?

Answer

Aggregate functions in SQL are used to perform calculation on data. These functions are inbuilt in SQL and return a single value.

SUM( )



SUM function returns the sum or addition of all NOT NULL values of a column. For e.g. I have a Table employee with the fields id, name, salary and I want the sum of all salaries, I can use SUM function as shown
SELECT SUM(emp_salary) from employee;
Hence, if my column emp_salary has values 20,000, 22,000, 21,000; the output will be 63,000

AVG( )


 
AVG function returns the average of all NOT NULL values of a column. For e.g. I have a Table employee with the fields id, name, salary and I want the average of all salaries, I can use AVG function as shown
SELECT AVG(emp_salary) from employee;
Hence, if my column emp_salary has values 20,000, 22,000, 21,000; the output will be 21,000

COUNT( )



COUNT function returns the number of rows or values of a table. For e.g. I have a Table employee with the fields id, name, salary and I want the count of all rows, I can use COUNT function as shown
SELECT COUNT(*) from employee;

Max ( ) and Min ( )



MAX function returns the largest value of a column in a table. For e.g. I have a Table employee with the fields id, name, salary and I want the maximum salary of an employee, I can use MAX function as shown
SELECT MAX(emp_salary) from employee;
Hence, if my column emp_salary has values 20,000, 22,000, 21,000; the output will be 22,000



MIN function returns the smallest value of a column in a table. For e.g. I have a Table employee with the fields id, name, salary and I want the minimun salary of an employee, I can use MIN function as shown
SELECT MIN(emp_salary) from employee;
Hence, if my column emp_salary has values 20,000, 22,000, 21,000; the output will be 20,000

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 3209
Q:

What is the managed execution process?

Answer

Managed execution process is a process where CLR executes the managed code. The steps involved in this process are:



  1.  Choosing the right compiler

  2.  Compiling the code to MSIL. This also generates the required metadata.

  3.  Compile the MSIL ode to native machine code.

  4. Executing the code with the variety of services available

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 3208
Q:

What are the Golden Rules Of Accounting ?

Answer

Golden rules of accounting convert complex book-keeping rules into a set of well defined principles which can be easily studied and applied.



Real accounts involve machinery, land and building etc... Similarly when you credit what goes out, you are reducing the account balance when a tangible asset goes out of the organization. Debit All Expenses And Losses, Credit All Incomes And Gains. This rule is applied when the account in question is a nominal account.


Personal-Account


---Debit the receiver


---Credit the Giver


Real-Account


---Debit what comes in


---Credit what goes out


Nominal-Account


---Debit all expenses and losses


---Credit all income and gains

Report Error

View answer Workspace Report Error Discuss

Subject: Accounts Receivable Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

3 3200