Interview Question on Arrays in UFT

Please find some of the Questions related to Array’s in vbscripting :-


1. How many types of Array are there?

2. Can we redefine the index of an Array?


3. What is the difference between an Array and Dictionary Object?


4. How can we get lower index and upper index of an Array?


5. If Array is of index 10, how many variables it can store?


6. What will be the output of following code :-


Dim arr(3)
For i = 0 to 3
 arr(i) = i+1
Next
Msgbox arr(4)


7.Write a code for assigning values to a 2-D array?


8.Why we use “Preserve” keyword in Array?




More Interview Questions?

ufthelp

One thought on “Interview Question on Arrays in UFT”

Leave a Reply

Your email address will not be published. Required fields are marked *