Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

I'm new to QTP, i facing a a problem in the script says"Object not found", "Browser("").page("").frame(Name:=fminfo).webtable(). the issue is, QTp is not able to identify the web table in run time.becuase in that fram"fminfo" there are "n"table and the table do not have the names,Html id. 1) i need to count the number webtables available on that page. 2)need to identify the webtable cell values. 3)How Loop the once i get the count and retrive the cell data of each webtable? Can anyone help on this, plz.. Thanks, Suresh

3 Answers  


How to write a general script which should does the following a). If a page object is given, it should identify the page object of the corresponding page(site). b). It should identify all the links of that particular page. in QTP tool?

2 Answers   IBM, Infosys, Wipro,


How to find a latest file from any folder

3 Answers   Ness Technologies,


what is the function to display current date?

4 Answers  


Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.

0 Answers  


How to load vbs functions in qtp

2 Answers  


Explain about scrrun.dll?

0 Answers  


When does ‘on click of button’ event gets triggered in the vbscript language?

0 Answers  


what is the standards used for writing the script in QTP

0 Answers  


What if you do not specify anything when you call a procedure?

0 Answers  


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

0 Answers  


write a vb script to rename a folder from tree4 to tree7

3 Answers  


Categories