Interview Questions

Q:

What is Dynamic Language Runtime (DLR)?

Answer

DLR is a runtime environment that allows you to integrate dynamic languages with the Common Language Runtime (CLR) by adding a set of services, such as expression trees, call site caching, and dynamic object interoperability to the CLR.

The System.Dynamic and System.Runtime.CompilerServices namespaces are used to hold the classes for DLR. It also provides dynamic features to statically-typed languages, such as C# and Visual Basic to enable their interoperation with dynamic languages.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2566
Q:

What is reconciliation ?

Answer

You should have recorded in your cash books all amounts you have actually received and payments you have 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.

Report Error

View answer Workspace Report Error Discuss

Subject: Accounts Payable Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

3 2565
Q:

Explain how to create random passwords.

Answer

Generating random passwords in PHP can be done in multiple ways depending on how much security the application demands:-


Md5 function can be passed one parameter as uniqid() function which in turn generates a random number. Passing the parameter as TRUE in uniqid() adds additional uniqueness.


<?php
   $passwd = md5(uniqid(rand(), true));
   Echo $passwd;
?>

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2565
Q:

The primary purpose of life insurance is to provide

A) Safe investment avenue B) financial protection to surviving dependents after the death of an insured
C) Tax rebates D) Wealth accumulation
 
Answer & Explanation Answer: B) financial protection to surviving dependents after the death of an insured

Explanation:

The primary purpose of life insurance is to provide financial protection to surviving dependents after the death of an insured.

Report Error

View Answer Report Error Discuss

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

4 2564
Q:

What is Thread?

Answer

A Thread is a block of code that can be executed in parallel with another block of code.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2563
Q:

What are the rules which should be followed while naming a variable in VB?

Answer

Some of the rules which should be followed while naming a variable in VB are as follows: 


1) Characters should be less than 255.


2) Space between characters should be allowed.


3) A variable should begin with a number.


4) Period may not be permitted.

Report Error

View answer Workspace Report Error Discuss

0 2561
Q:

What is IUnknown and what are its three parts?

Answer

IUnknown as an interface of a COM object. Every COM object has to support IUnknown, besides optionally adding other interfaces.


IUnknown is made of QueryInterface, AddRef and Release.

Report Error

View answer Workspace Report Error Discuss

0 2561
Q:

How to set cookies?

Answer

setcookie('variable','value','time');
variable - name of the cookie variable
value     - value of the cookie variable
time       - expiry time

Example:
<?php
setcookie('Test',$i,time()+3600);
?>
Test - cookie variable name
$i - value of the variable 'Test'
time()+3600 - denotes that the cookie will expire after an one hour

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2559