Interview Questions

Q:

void waitForSignal() {

Object obj = new Object();

synchronized (Thread.currentThread()) {

obj.wait();

obj.notify();

}

}

Which statement is true?

A) This code can throw an InterruptedException. B) This code can throw an IllegalMonitorStateException.
C) This code can throw a TimeoutException after ten minutes D) All the above
 
Answer & Explanation Answer: B) This code can throw an IllegalMonitorStateException.

Explanation:

It will throw  IllegalMonitorStateException.

Report Error

View Answer Workspace Report Error Discuss

Filed Under: Java - Technology
Job Role: IT Trainer

5 8932
Q:

The total sum of the goods and services produced in a country in a year, minus depreciation is called as ________.

A) Net Domestic Product B) Gross National Income
C) Gross Domestic Product D) Net National Product
 
Answer & Explanation Answer: A) Net Domestic Product

Explanation:

Gross Domestic Product : 

It is the total value of all final goods and services produced within the boundary of country during the given period of time. 

Gross National Product :

It is the total value of the total output or production of final goods and services produced by the nationals of a country during a given period of time. 

Gross National Income : 

It is the total domestic and foreign output claimed by residents of a country, consisting of gross domestic product (GDP) plus factor incomes earned by foreign residents, minus income earned in the domestic economy by non-residents.

Net National Product :

The total value of goods produced and services provided in a country during one year, after depreciation of capital goods has been allowed for.

Report Error

View Answer Workspace Report Error Discuss

Filed Under: Bank Interview - Accounting and Finance
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

18 8891
Q:

What is meaning of following declaration?
int(*p[5])();

A) p is pointer to function. B) p is array of pointer to function.
C) p is pointer to such function which return type is array. D) p is pointer to array of function.
 
Answer & Explanation Answer: B) p is array of pointer to function.

Explanation:
Report Error

View Answer Workspace Report Error Discuss

Filed Under: C++ - Technology

5 8758
Q:

What is capital structure? What are the principles of capital structure management?

Answer

Capital structure is a term which is referred to be the mix of sources from which the long term funds are required for business purposes which are raised to improve the capital of the company. To fund an organization plan this capital structure is required which is the combination of debt and equity. The management ensures the capital structure accesses which are needed to fund future growth and enhance financial performance. The principles of capital structure management which are essentially required are as follows:-


 


1) Cost Principle


2) Risk Principle


3) Control Principle


4) Flexibility Principle


5) Timing Principle

Report Error

View answer Workspace Report Error Discuss

Subject: Finance

12 8681
Q:

Tell us about a time when you missed a significant deadline

Answer

Tell us about a time when you missed a deadline.


(or)


Let's discuss a time when you missed a significant deadline.


If you answer something like "You never missed a deadline". Most interviewers will immediately conclude you are not experienced and may also feel you are lying. 


Approach - It is absolutely necessary to accept that you have missed a deadline and give reasons how you resolved and what you learned from it. This will demonstrate your experience.


You could say in one of the first projects earlier in your career you missed an important deadline and made the boss very upset. It was a great learning experience and after doing some introspection, you realized, you could have done better planning, prioritization and communication. Now, you use special tools, processes and methods to address these issues. Now your team, colleagues and management are always up to date so no surprises arise on meeting deadlines. 


Below are few things you may emphasize on in your response...


Effective planning


Procedural Improvements


Better Prioritization


Open communication


Better Status reporting

Report Error

View answer Workspace Report Error Discuss

6 8543
Q:

Difference between %TYPE and %ROWTYPE.

Answer

%type is used to declare a field of a table while %rowtype is used to declare a record with the same type as specified in that table, view or cursor.


Example of %type:


DECLARE


         v_EmployeeName emp.ename%TYPE


 


Example of %rowtype


DECLARE


          v_empployee emp%ROWTYPE;

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle - Technology

7 8535
Q:

Why was PHP developed, what it is used for, and where can you get it?

Answer

PHP developed for less script, time saving, Free Open Source Software and runs on different platforms such as Windows, Linux, Unix, etc. PHP compatible with almost all servers used today such as Apache, IIS, etc.

The PHP scripting language resembles JavaScript, Java, and Perl, These languages all share a common ancestor, the C programming language. PHP has full access to the information that the server has, and very little access to information that the client has. In fact, it only has information that the client tells the server and that the server passes on to PHP. Because it is on the server, however, PHP cannot be modified by the client. While you cannot necessarily trust the information that the client gives to PHP, you can trust that your PHP is doing what you told it to do. Because PHP is on the server end, your PHP scripts can affect your server -- such as by keeping an activity log or updating a database.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP - Technology

2 8530
Q:

What is STPI ? why STPI knowledge required in Accounts Payable?

Answer

Software Technology Parks of India (STPI).Some of the software service providers will get exemption from STPI for their software exports. In accounts payable may be we need to define the vendor STPI location wise.


In India we have different STPI location. If one vendor supplying services or materials to all OR some of the STPI locations we need to maintain the same vendor STPI wise.  

Report Error

View answer Workspace Report Error Discuss

7 8368