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

 Explain REENTRANT?

1 Answers  


What do the compilers provide?

0 Answers  


 How do you handle exception in PL/1?

0 Answers  


 What is meant by REORDER option in PL/1?

1 Answers  


What is the difference between DEFINED attribute and LIKE atrribute.

1 Answers  






How did PL/I originate?

0 Answers  


What are the different options in OPTIONS?

0 Answers  


 What are the different datatypes in PL/1?

1 Answers  


what is the purpose of OPTIONS(MAIN)?

1 Answers  


How space will be adjusted based on size of the field?

1 Answers  


How we call procedures in PL/1?

1 Answers  


Picture clause of TIME in PL/1?

1 Answers  


Categories