Thursday 5 February 2015

21 TOP Vb Script Basic interview questions with answers

Below are some important VBScript interview questions which are asked in most MNC company interviews for beginners or professionals.

1. What are the different types of operators and their order of precedence?
Order of evaluation of operators is, first arithmetic operators are evaluated, and comparison operators are evaluated next and at the last logical operators are evaluated at the last. In arithmetic operators negation, Exponentiation, multiplication and division, integer division, modulus arithmetic, addition and subtraction and string concatenation are provided.

2. Explain about operator precedence in VB Script?
In operator precedence expressions are evaluated and resolved in a predetermined order. The order of evaluation can be modulated if you use parenthesis. Expressions present in parenthesis are evaluated first.

3. Explain about Tristate constants in VBScript?
Tristate constants can be used with functions which allow formatting of numbers. These constants can be used with VB Script without defining them. It can be used anywhere in the code to reflect and represent the values.

4. Explain about constants in VBScript?
There are many useful constants present in Visual basic script which you can use in your code. They ease your work load by remembering value and implementing in the code. Maintenance is easy with VB Script because it can easily change the feature of constants.

5. Explain about filter expression?
Filter expression returns an array based on a specific filter search condition and it returns a zero based array. Arguments included in the filter array are Input strings, value, include and compare. If there is no match for the value it returns an empty string.
More Questions & Answers :-

No comments:

Post a Comment