Explain when it would be appropriate to write an indefinite loop.

What will be an ideal response?

Often, the value of a loop control variable is not altered by arithmetic, but instead is altered by user input. For example, perhaps you want to continue performing some task while the user indicates a desire to continue. In that case, you do not know when you write the program whether the loop will be executed two times, 200 times, or not at all. This type of loop is an indefinite loop.

Computer Science & Information Technology

You might also like to view...

If you run a make table query again at a later time, what happens?

A) The table is replaced with the new up-to-date table. B) The new table will show as it was when it was created. C) All new information is lost. D) It will select the new records from the table and delete them.

Computer Science & Information Technology

To add a hyperlink to a blog post you can access the Links group from the ________ tab

A) Blog Post B) Page Layout C) Insert D) Home

Computer Science & Information Technology