Interview Questions

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 3144
Q:

Market survey means...........

A) Market Research B) Market Planning
C) Marketing Strategies D) Market Monitoring
 
Answer & Explanation Answer: A) Market Research

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Marketing and Sales

0 3143
Q:

What is factory method in AngularJS ?

A) It generates the facts and figures B) It is used to create the service
C) It is used to calculate the factorial of a number D) All the above
 
Answer & Explanation Answer: B) It is used to create the service

Explanation:

In general, Services are Javscript functions and are responsible to do a specific tasks. Factories implements module pattern in which we use a factory method to generate an object which is use for building models.

It's syntax is
module.factory('factoryName', function);

Report Error

View Answer Report Error Discuss

Filed Under: Web Technology
Job Role: Analyst , Software Architect

1 3142
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 3140
Q:

How To Open Outlook Explorer in VB Code?

Answer

Once can use the Shell function to call any Aplication in VB 6.0. For Outlook Express one can use, Shell (msimn.exe)

Report Error

View answer Workspace Report Error Discuss

0 3133
Q:

Which of the following investment choices is least risky?

A) Renting B) Bonds
C) Flipping D) CD's
 
Answer & Explanation Answer: D) CD's

Explanation:

CDs are the least risky investment choice when compared to flipping, renting and bonds.

A certificate of deposit (CD) is a savings certificate with a fixed maturity date, specified fixed interest rate and can be issued in any denomination aside from minimum investment requirements. A CD restricts access to the funds until the maturity date of the investment. CDs are generally issued by commercial banks.

CDs are issued by the bank and are guaranteed by the government. So even if the bank goes bankrupt the investor's money is guaranteed to a certain extent.

Flipping and renting are subjected to market fluctuations while bonds are not insured.

 

Report Error

View Answer Report Error Discuss

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

0 3131
Q:

What is Ribbon ?

Answer

Ribbon is the term used as a replacement to the menu bar and toolbars in the older Microsoft Office versions. Under the ribbon, file menu items and toolbar buttons were grouped according to their functionality. It made these functions much accessible on the main interface, with the most commonly used buttons being shown instantly.

Report Error

View answer Workspace Report Error Discuss

9 3128
Q:

Write code snippet to retrieve IMEI number of Android phone?

Answer

TelephonyManager class can be used to get the IMEI number. It provides access to information about the telephony services on the device.


Code


        TelephonyManager mTelephonyMgr = (TelephonyManager)


        getSystemService(Context.TELEPHONY_SERVICE);


        String imei = mTelephonyMgr.getDeviceId();

Report Error

View answer Workspace Report Error Discuss

0 3127