Interview Questions

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

What is the difference between finance and accounts? most of the companies having a different section like finance and accounts. why they aren't had only single section neither finance nor accounts?

Answer

Finance:It is the branch of economics that studies the management of money and other assets.In simpler terms it can be defined as the commercial activity of providing funds and capital.It addresses questions like -- what funds are required by the org & How they can be raised &  How they have to be allocated etc.


Accounts: It is the occupation of maintaining and auditing records and preparing financial reports for a business. Accounts provides quantitative information about finances. It addresses issues like what amount of funds have been allocated to various activities, how the book-keeping is being done etc.


Both functions are distinct but complimentary to each other.


Finance and accounts are highly specilized and distinct areas and hence most organizations have seperate sections of finance and accounts.

Report Error

View answer Workspace Report Error Discuss

0 3199
Q:

EXPLAIN has output with MATCHCOLS = 0. What does it mean?

Answer

a nonmatching index scan if ACCESSTYPE = 1


 

Report Error

View answer Workspace Report Error Discuss

0 3196
Q:

Does Java support multiple inheritance?

Answer Java doesn't support multiple inheritance.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 3194
Q:

Which of the following is not economic investment?

A) the piling up of inventories on a grocer's shelf B) the purchase of a drill press by the Ajax Manufacturing Company
C) construction of a suburban housing project D) the purchase of 100 shares of AT&T by a retired business executive
 
Answer & Explanation Answer: D) the purchase of 100 shares of AT&T by a retired business executive

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Accounts Receivable
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 3193
Q:

What’s the special meaning of __sleep and __wakeup?

Answer __sleep returns the array of all the variables than need to be saved, while __wakeup retrieves them.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 3193
Q:

Why SELECT * is not preferred in embedded SQL programs?

Answer

- If the table structure is changed ( a field is added ), the program will have to be modified.


- Program might retrieve the columns which it might not use, leading on I/O over head.


- The chance of an index only scan is lost.

Report Error

View answer Workspace Report Error Discuss

0 3192
Q:

What are trade receivables?

Answer

Trade receivables are amounts billed by a business to its customers when it delivers goods or services to them in the ordinary course of business. These billings are typically documented on formal invoices, which are summarized in an accounts receivable aging report. In the general ledger, trade receivables are recorded in a separate accounts receivable account, and are classified as current assets on the balance sheet if you expect to receive payment from customers within one year.


To record a trade receivable, the accounting software creates a debit to the accounts receivable account and a credit to the sales account when you complete an invoice. When the customer eventually pays the invoice, the accounting software records the cash receipt transaction with a debit to the cash account and a credit to the accounts receivable account.


Trade receivables vary from non trade receivables in that non trade receivables are for amounts owed to the company that fall outside of the normal course of business, such as employee advances or insurance reimbursements. Also, most or all of the transactions passing through the main accounts receivable account are generated by the accounting system, as you create customer invoices and credit memos, whereas the transactions recording non trade receivables nearly always involve journal entries.

Report Error

View answer Workspace Report Error Discuss

0 3189