Multiple Choice
Consider the following Visual Basic .NET code: Dim unitsReceived as Integer, totalCost as Single, cost as String totalCost=0 unitsReceived=0 cost = InputBox("Enter item cost (without $ or comma) , click Cancel when finished", "Data Entry") Do While cost "" unitsReceived = unitsReceived + 1 totalCost = totalCost + val(cost) cost = InputBox("Enter item cost (without $ or comma) , click Cancel when finished", "Data Entry") Loop The above code represents a ____ loop example.
A) posttest
B) firsttest
C) pretest
D) secondarytest
Correct Answer:

Verified
Correct Answer:
Verified
Q1: The Exit Do statement will cause a
Q2: The first action performed by the For...Next
Q3: You can close a form using the
Q4: The stepvalue in a For...Next loop structure
Q6: In a pretest loop, the evaluation of
Q7: Typically, you enter the SelectAll method in
Q8: A posttest loop structure is always executed
Q9: The Do...Loop statement executes exactly the same
Q10: Of the two loop types, pretest and
Q11: The condition in the Do...Loop statement can