Home / MCQ Bank / Computer Science Engineering
Computer Science Engineering Visual Basic Difficulty: Medium

What will be assigned to the dblAvg variable after the code has been executed? Do While intSub < 4 intTotal = intTotal + intNums(intSub) intSub = intSub + 1 Loop dblAvg = intTotal / intSub – 1 Dim intNums() As Integer = {10, 5, 7, 2}. The intTotal, intSub, and dblAvg variables contain the number 0 before the loops are processed.

Select the correct option to test your answer:

More Computer Science Engineering Questions

The #ifndef directive tests to see whether ________ Assume that all users are members of the ACE domain and that most of the resources exist in the PUBS and CAD domains. You are a user with administrator rights in all domains. How would you allow users to access all of the resources, with a minimum set of trust relationships? Sequential organization Which of the following control structures is used in every program? The computer can potentially be used to monitor most of our actions, thus robbing us of _____