Interview Question on Arrays in UFT – User friendly Tech help
Please find some of the Questions related to Array’s in vbscripting :-
n
n
n1. How many types of Array are there?
n
n2. Can we redefine the index of an Array?
n
n3. What is the difference between an Array and Dictionary Object?
n
n4. How can we get lower index and upper index of an Array?
n
n5. If Array is of index 10, how many variables it can store?
n
n6. What will be the output of following code :-
n
n
Dim arr(3)
n
For i = 0 to 3
n
arr(i) = i+1
n
Next
n
Msgbox arr(4)
n
n7.Write a code for assigning values to a 2-D array?
n
n8.Why we use “Preserve” keyword in Array?
n
n
n
nMore Interview Questions?
n