Can anybody code this problem for me in VB script -
Create an array of 4 elements, increase its size to 7
elements and then find out which of the elements are prime
(use functions)

Answers were Sorted based on User's Feedback



Can anybody code this problem for me in VB script - Create an array of 4 elements, increase its siz..

Answer / sadashivbyagi

we should use the dynamic array to resize the array then we
can change the size of the array

Is This Answer Correct ?    2 Yes 0 No

Can anybody code this problem for me in VB script - Create an array of 4 elements, increase its siz..

Answer / sadashivbyagi

using dynamic array

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More VB Script Interview Questions

Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?

0 Answers  


What are the advantages of vbscript?

0 Answers  


How to generate 3 digit random number?

3 Answers   IBM, Virtusa,


. Program for sorting of numbers in vb script?

2 Answers   Talent Sprint,


compare the string without using stringcomp function?

1 Answers   CSS Corp,






How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.

0 Answers  


Consider there are objects in a webapp which are identified by QTP. Suppose you know only the logical name of a object(absolutely nothing else about it). Which approach will you take to find the "micClass" of the object(You can't use Object Spy, or can't add the object in repository)?

2 Answers   HCL,


Diff between web table ,datatable and data base (QTP)

2 Answers   TCS,


What are class variables?

0 Answers  


Which is the default Data types in VBScript?

5 Answers  


How to get 120 using 5 zeroes, you can use any operator(+, *, /...) in qtp.

2 Answers   Cognizant,


Hi, I need to accept user inputs for login at runtime.I know i can use Inputbox but how to proceed further that i dont know. Thanks in advance

2 Answers  


Categories