.

Saturday, May 18, 2019

Multiple Choice Test on Visual Basic

Question 1 2 / 2 pointsThe ____ function displays an input dialog recess, which is one of the standard dialog boxes available in Visual Basic.A) InputBoxB) DialogBoxC) OutputBoxD) ShowBoxQuestion 2 2 / 2 pointsA variable that has block scope can be subprogramd ____.A) inside the procedure in which it is declaredB) only within the asseveration block in which it is declaredC) within any statement blocks in the programD) within any procedures in the programQuestion 3 2 / 2 pointsAll expressions containing a likeness operator will result in a(n) ____ answer.A) floating-pointB) integerC) true or falseD) castQuestion 4 2 / 2 pointsWhen utilise theSelect contentstatement, the data type of the ____ must be compatible with the data type of theselectorExpression.A) CaseexpressionB) Case ElseclauseC) instructionsD) expressionsQuestion 5 2 / 2 pointsThe expression1 To 5in theCase 1 To 5clause specifies the swan of adds from ____.A) 2 to 5, inclusiveB) 2 to 4, inclusiveC) 1 to 4, inclus iveD) 1 to 5, inclusiveQuestion 6 0 / 2 pointsIn situations where the survival structure has many paths from which to choose, it is often simpler and clearer to code the cream structure employ the ____ statement.A) Select CaseB) Begin/EndC) If/ThenD) Do/LoopQuestion 7 2 / 2 pointsThe ____ in a flowchart represents the multiple-alternative selection structures condition.A) circleB) diamondC) squareD) triangleQuestion 8 0 / 2 pointsIf and for how long the instructions are repeated in a repetition structure is determined by the ____.A) if conditionB) loop exit statementC) loop determinantD) loop conditionQuestion 9 2 / 2 points____ means to assign a beginning value to the counter or accumulator.A) ImprintingB) BaseliningC) SelectingD) InitializingQuestion 10 2 / 2 pointsTo prevent a text box from accepting an inappropriate character, you first use the ____ parametersKeyCharproperty to determine the pressed key.A) tB) aC) eD) pQuestion 11 0 / 2 pointsTo include both groups of radio buttons in an interface, at least one of the groups must be placed within a ____, such as a group box, panel, or table layout panel.A) CaseB) structureC) containerD) statementQuestion 12 0 / 2 pointsThe number of choices the user can select in a list box is controlled by the list boxs ____ property.A) SelectionItemB) SelectionModeC) SelectionVariableD) SelectionQuestion 13 2 / 2 pointsA(n) _____ decision is always made by an outer selection structure.A) dynamicB) staticC) primaryD) secondaryQuestion 14 2 / 2 pointsYou add a radio button to a form using the ____ tool in the toolbox.A) RadioButtonB) RadioC) ButtonD) RadioToolQuestion 15 0 / 2 pointsYou use the ____ method to convert a string to uppercase.A) UpperB) ConvertUpperC) ParseUpperD) ToUpperQuestion 16 2 / 2 pointsYou use the ____ keyword when you know only one end of a range (either the upper or lower end).A) IsB) AllC) ToD) FromQuestion 17 2 / 2 pointsA(n) ____ decision is always made by a nested selection structure.A) stat icB) dynamicC) primaryD) secondary

No comments:

Post a Comment