On This Page

This set of Dot Net Architecture and Program Multiple Choice Questions & Answers (MCQs) focuses on Dot Net Architecture And Program Set 3

Q1 | The declaration statement for a class-level variable should be placed __________.
Q2 | Variables declared inside a procedure are said to have ________________.
Q3 | Suppose the variable myName is declared in a Dim statement in two different Sub procedures. Which statement is true?
Q4 | Which of the following statements is guaranteed to pass the variable numVar by value to the Sub procedure Tally?
Q5 | The ______________ of a Sub procedure are vehicles for passing numbers and strings to the Sub procedure.
Q6 | Which of the following is NOT a reason for using procedures?
Q7 | Which one of the following is true about arguments and parameters?
Q8 | Each individual variable in the list student(0), student(1), student(2) is known as a(n)
Q9 | The statement Const TAX_RATE As Doubleface=Calibri size=2> is not valid.
Q10 | Function names should be suggestive of the role performed. The names also must conform to the rules for naming variables.
Q11 | The input to a user-defined function can consist of one or more values.
Q12 | Both the input and output of a Function procedure can consist of several values.
Q13 | Suppose you want to write a procedure that takes three numbers, num1, num2, and num3; and returns their sum, product, and average. It is best to use a Function procedure for this task.
Q14 | Although a function can return a value, it cannot directly display information in a text box.
Q15 | Function procedures can invoke other Function procedures.
Q16 | A Function may return up to two values.
Q17 | The input to a user-defined function can consist of:
Q18 | Variables appearing in the header of a Function procedure are called ____________.
Q19 | The arguments appearing in a Call statement must match the parameters in the appropriate Sub or Function header in all but one of the following ways. Which one?
Q20 | A Do While loop checks the While condition before executing the statements in the loop.
Q21 | A Do?Loop Until block is always executed at least once
Q22 | A counter variable is normally incremented or decremented by 1.
Q23 | The value of the control variable should not be altered within the body of a For?Next loop.
Q24 | The body of a For…Next loop in Visual Basic will always be executed once no matter what the initial and terminating values are.
Q25 | The body of a For…Next loop in Visual Basic will always be executed once no matter what the initial and terminating values are. duplicate question?