Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need help with a group of questions based on Microsofts Visual Basic 2012 8th

ID: 3773443 • Letter: I

Question

I need help with a group of questions based on Microsofts Visual Basic 2012 8th edition.

Chatper 6 knowledge check:

16. Which loop should be used if you know the required number of times the loop will be executed?

17. What is the fewest number of times a top-controlled Do Until loop is executed?

18. Write a data validation Do loop to check that the variable intAge entered from an input box is between 1 and 115.

20. When you insert standard items in a MenuStrip object, what file menu items are automatically created by default?

Explanation / Answer

16)

If we already know required number of times, then it is better to use for loop.

Since in for loop counter incremented by one until condition fails ... so it will be easy to identify at which index current we are.

-----------------------------------------------------------------------------------------------------------------------------------

17) Do while loop.. runs minimum of one time.

Since first it executes statements inside do loop then it checks for condition. So first time it will execute regardless of condition.

--------------------------------------------------------------------------------------------------------------------------------------

18)

----------------------------------------------------------------------------------------------------------------------------------------------------

20) Minimise , maximize and close menu items are added automatically by default.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote