Interview Questions

Q:

How do you display last 5 records in DB2?

Answer

SELECT * FROM table_name ORDER BY column_name desc Fetch first 5 rows only;

Report Error

View answer Workspace Report Error Discuss

0 2914
Q:

Explain the process of creating a menu using the MainMenu component

Answer

MainMenu component is a component that allows the display of Menus at runtime on a form.


Process of creating Menu using MainMenu Component:


a. Add MainMenu component on Windows Form.


b. Menu designer allows deciding the structure of the main menu by selecting the Type Here area and adding the Menu Items to be displayed on the menu.


c. Add functionality to Menu Items as required

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

0 2913
Q:

Which of the following statements about minimum payments is incorrect?

A) If you send in the minimum payment, you will be charged a late fee B) Paying the minimum means you are only paying off a portion of your total debt
C) You will still pay interest on your balance if you submit the minimum payment D) Minimum payments are typically only 2-4% of your total debt
 
Answer & Explanation Answer: A) If you send in the minimum payment, you will be charged a late fee

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2911
Q:

What is reconciliation?

Answer

You should have recorded in your cash books all amounts you?ve actually received and payments you?ve actually made. However, the cash books may be incomplete as your bank may have put extra transactions through your account, such as:

bank fees or interest charges
direct debits (payments) and direct credits (receipts).
Doing a regular bank reconciliation will allow you to:

take into account any extra transactions your bank puts through your account, and
check and record any errors or omissions.
By regularly doing a bank reconciliation (say monthly) you can be more confident that your records contain all the information you need to prepare your income tax return and activity statements.

reconciliation- This is a statement prepared to find the reason for difference in any two balance.
eg 1)bank reconciliation is prepared to find the reason of difference between the passbook & cash book balance
2)Stock reconciliation is prepared to the reason of difference between the physical balance & book balance or to find the stock balance as on certain date.
etc

Report Error

View answer Workspace Report Error Discuss

1 2911
Q:

What is the difference between Cursor Stability and Repeatable Read isolation levels?

Answer

CURSOR STABILITY:


- CS is a row level locking


- Acquires an exclusive lock on the row that is to be updated


- When the control is moved to the next updatable row, the lock is released


REPEATABLE READ:


- RR is a page level locking


- Acquires an exclusive lock on the entire page which is the source of row availability


- When the control is moved to the next updatable page the lock is released

Report Error

View answer Workspace Report Error Discuss

0 2907
Q:

Explain the different types of errors in PHP.

Answer

Notices, Warnings and Fatal errors are the types of errors in PHP


Notices: 


Notices represents non-critical errors, i.e. accessing a variable that has not yet been defined. By default, such errors are not displayed to the user at all but whenever required, you can change this default behavior.


Warnings: 


Warnings are more serious errors but they do not result in script termination. i.e calling include() a file which does not exist. By default, these errors are displayed to the user.


Fatal errors: 


Fatal errors are critical errors i.e. calling a non-existent function or class. These errors cause the immediate termination of the script.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2905
Q:

A small text file on the client machine either in the client’s file system or memory of client browser session is called

A) View State B) Cookies
C) QueryString D) None
 
Answer & Explanation Answer: B) Cookies

Explanation:

A cookie is a small text file on the client machine either in the client’s file system or memory of client browser session.

Report Error

View Answer Report Error Discuss

Filed Under: .NET
Job Role: Software Architect

0 2904
Q:

What is UNION , UNION ALL?

Answer

Both these are used to combine the results of different SELECT statements.


    UNION       - Selects only distinct values 


    UNION ALL - Selects duplicate values also


 


Syntax:


    SELECT column_name(s) FROM table1


    UNION / UNION ALL


    SELECT column_name(s) FROM table2;


Notice that each SELECT statement within the UNION must have the same number of columns. The columns must also have similar data types. Also, the columns in each SELECT statement must be in the same order.


 

Report Error

View answer Workspace Report Error Discuss

0 2901