Difference between Do While and Do Until?

Answers were Sorted based on User's Feedback



Difference between Do While and Do Until?..

Answer / scott77

Do while tests at the start of the loop.
Do until tests at the end of the loop then executes at least once

Is This Answer Correct ?    1 Yes 0 No

Difference between Do While and Do Until?..

Answer / scott77

Do while loop will continue while the condition is true, Whereas Do until loop will continue while the condition is false.
Do while executes the first cycle without checking condition, Whereas Do until executes it after checking condition.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More IBM PL/1 Interview Questions

What is the use of DEFINED attribute in DCL statement?

1 Answers  


 How do you handle exception in PL/1?

0 Answers  


What do the compilers provide?

0 Answers  


Difference between main program and a sub program in PL/1?

0 Answers  


 Explain REENTRANT?

1 Answers  






What is the difference between Based and Define?

2 Answers   IBM,


What tools are available in PL/1?

0 Answers  


What are the different options in OPTIONS?

0 Answers  


How did PL/I originate?

0 Answers  


How we call procedures in PL/1?

1 Answers  


What are the ways through which you pass value to an program from JCL?

0 Answers  


Difference between Do While and Do Until?

2 Answers  


Categories