Interview Questions

Q:

How could you have improved your career progress?

Answer

State that you are quite happy with your career progress barring few mistakes that could be avoided. Highlight some of mistakes you committed and how you have rectified them. While answering, you should take all responsibilities for where you are, how you’ve gotten there, where you are going…and you harbor no regrets.

Report Error

View answer Workspace Report Error Discuss

Subject: Human Resources

7 5673
Q:

Do you prefer to work on your own or as part of team?

Answer

Even if you like to work as a team or independent. Make sure you show interest in both, As most jobs require you to work both as part of team and independent.

In general, the idea is to say what you prefer without being negative about the thing you don’t.

Independently -
If you have done enough research on the job posting and mostly need to work independently then you can say something like “I prefer to work alone, but I find that occasionally working with a team feels creative and fun. Always felt, it is easy to solve problems being part of a team.

Work in a Team -
On the other hand, if your research says that your job requires working in a team then you can say something like "I like the dynamics of working in a team, but do like working independently when the assignment requires it.”

Report Error

View answer Workspace Report Error Discuss

Subject: Team Work

12 5652
Q:

Which of the following type casts will convert an Integer variable named amount to a Double type ?

A) (int to double) amount B) int (amount) to double
C) int to double(amount) D) (double) amount
 
Answer & Explanation Answer: D) (double) amount

Explanation:
Report Error

View Answer Report Error Discuss

6 5650
Q:

Which of the following are elements of SQL?

A) base-table-identifier ::= user-defined-name B) base-table-name ::= base-table-identifier
C) boolean-primary ::= comparison-predicate D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:
Report Error

View Answer Report Error Discuss

8 5628
Q:

How do we create a DHTML drop-down menu?

Answer

- In order to create a DHTML drop down menu we need JavaScript API. The API (Application Programming Interface) consists of core set of cross-browser JavaScript functions to make DHTML programming easy and quick. This API enables moving and hiding page elements as well as acts as getter and setter of page elements attributes.


- Second we define on image object and off image object and string containing the URL of the "off" version.


- Then we create the menu items, label items and sub-menu items. If we wish we can use images also.


- Then we need to define our own global variables that will be used by the menu. Using global goes against oops design but makes sharing data easier.


- Create the menubar object, adding the menu labels and writing menubars.


- Create menu object, adding menu items and writing menus.


- Hiding and displaying the menus and attaching stylesheet.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

5 5626
Q:

What is account payable? How we pass the entries in account payable and related all the question based on account payable?

Answer

Accounts Payable is a short term liability of an organization. It's a process by which a company buys goods and services on credit and is billed in the form of an invoice, which states the terms and conditions of the payment. Accounts Payable is recorded as a current liability in the balance sheet. All accounts paayble entries are to be coded under the right G/L accounts to have an accurate picture of the company's short term liability.

Report Error

View answer Workspace Report Error Discuss

Subject: Accounts Payable

4 5621
Q:

Give an example for the use of volatile keyword in c++ ?

Answer

Most of the times compilers will do optimization to the code to speed up the program. For example in the below code,


int k = 15;
while( k == 15)


{
// Do something
}


compiler may think that value of 'k' is not getting changed in the program and replace it with 'while(true)', which will result in an infinite loop. In actual scenario, the value of 'k' may be getting updated from outside of the program.


Volatile keyword is used to tell compiler that the variable declared using 'volatile' may be used from outside the current scope, so that compiler won't apply any optimization. This matters only in case of multi-threaded applications.


In the above example if variable 'k' was declared using volatile, compiler will not optimize it. In shot, value of the volatile variables will be read from the memory location directly.

Report Error

View answer Workspace Report Error Discuss

5 5618
Q:

How to identify a given positive decimal number as even/odd without using % or / operator ?

Answer

You may be very good at coding,but if you questioning how on earth you could solve this problem.Then here is a solution. If you remember the good old days of our primary school then the solution is easy,"division is a matter of iterative subtraction".


public class TestEvenOdd {
public static void main(String arg[ ]){
int num=6;
int result=num;
while(result>=2){
result=result-2;
}
if(result==1){
System.out.println("The number is odd");
}else{
System.out.print("The number is even");
}
}
}

Report Error

View answer Workspace Report Error Discuss

Subject: Java

3 5612