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

What is the difference between Private bank and Nationalized bank?

Answer

Nationalized banks are also known as public sector banks where the government is responsible for the deposition of money in these banks while in a private bank money is deposited by the person who owns the bank.

Report Error

View answer Workspace Report Error Discuss

Subject: Bank Interview

0 3162
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 3161
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 3161
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 3160
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 3158
Q:

When an account becomes uncollectible and must be written off

A) Accounts Receivable should be credited B) Sales Revenue should be debited
C) Allowance for Doubtful Accounts should be credited D) Bad Debt Expense should be credited
 
Answer & Explanation Answer: A) Accounts Receivable should be credited

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 3154
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 3151