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...


difference between do while and do until ?

Answers were Sorted based on User's Feedback



difference between do while and do until ?..

Answer / bhargavi

In both Do-until and Do-While,Code will be executed atleast once.
But,the difference is Do-until executes the code until the specified condition is reached.Once the condition is reached it stops executing the code inside the loop.

Do-While will execute the code till the specified condition is true. once the condition becomes false,it exits from loop.

Is This Answer Correct ?    2 Yes 0 No

difference between do while and do until ?..

Answer / viji

Do until will execute once when the condition is false whereas do while will execute only when condition is true

Is This Answer Correct ?    1 Yes 1 No

difference between do while and do until ?..

Answer / sarabjit

In do until , the code is run atleast once
eg: do
{
/// statement
} until i=0

whereas in while it checks whether condition is false/true , and then it executes the statement
while i=0 ******if i=0 is true*****
{
execute the statement
}

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

Pls explain me the difference between ........ Description.Create and CreateObject

5 Answers  


Among the 4 capture levels, Complete, Partial, Minimal, None. which one is mostly used?

1 Answers  


What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?

0 Answers  


What are the types of Object Repositories in QTP?

9 Answers  


What is the scripting language used in QTP?

11 Answers   IBM,


Hi can anyone pls suggest how to fetch username(system login name)and system name in to qtp.I am not using TD or QC.Thx

5 Answers  


I have given u a application.To automate it what are the things will u consider?

4 Answers   Wipro,


What is the difference between "call to action" and "call an existing action"

9 Answers   Accenture, Yana Software,


How did you resolve conflicts present in Object Repository?

0 Answers  


How can we do this one ? at runtime qtpwindow and browser aren't disply on monitor (or) aren't visible on desktop?how?

1 Answers  


I am using environment variable xml to give credenatials for login into unix. Is there any way we cam mask the password in the xml?

1 Answers  


I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?

0 Answers  


Categories