The main Property of check box is . . . . . . . .
A. check
B. value
C. stretch
D. load picture
Select an option to see the answer and solution.
What will contain in txtFirst after the following Visual Basic code is executed?
strName = "Penny Swanson"
txtFirst.Text = strName.Remove(5)
A. Penny
B. Swanson
C. Penny S
D. y Swanson
Select an option to see the answer and solution.
In VB, The . . . . . . . . first we check the condition, if the condition is true then it execute the true statement same as while condition .
A. for loop
B. do while
C. if condition
D. nested
Select an option to see the answer and solution.
A . . . . . . . . provides an area in the form for the user to enter data.
A. Text box
B. Button
C. Edit box
D. Label
Select an option to see the answer and solution.
Which of the following is called the line continuation character?
Select an option to see the answer and solution.
Declaring a variable tell the computer to allocate a memory space that can be accessed by the variable name. The size of the memory space depends on?
A. Length of variable name
B. Data type of the variable
C. Location of variable in program
D. Size of memory in computer
Select an option to see the answer and solution.
A . . . . . . . . is defined as a zero or more characters enclosed in quotation marks.
A. String
B. Number
C. Floating point integer
D. Integer
Select an option to see the answer and solution.
What output will be returned if the following Visual Basic code is executed?
strCityState = "Nashville, TN"
blnIsContained = strCityState.Contains("TN")
Select an option to see the answer and solution.
In . . . . . . . . first we execute the true statement . then we check the condition if the condition is true then it again execute the true statement .
A. while
B. do while
C. if condition
D. nested
Select an option to see the answer and solution.
Which of the following expressions evaluates to True when the strPart variable contains the string "123X45"?
A. strPart Like "999[A-Z]99"
B. strPart Like "######"
C. strPart Like "###[A-Z]##"
D. strPart Like "##??##"
Select an option to see the answer and solution.
In VB, the. . . . . . . . is the function that computes the square root of a number.
A. sqrt()
B. round()
C. abs()
D. len()
Select an option to see the answer and solution.
In most applications, the code to define a user-defined data type is entered in the form's.
A. Declarations section
B. Definition section
C. Load event procedure
D. User-defined section
Select an option to see the answer and solution.
Variables declared in a form's declaration section have . . . . . . . . scope.
A. Class
B. Procedure
C. Block
D. Object
Select an option to see the answer and solution.
A structure variable named address contains a member variable named strStreet. Which of the following statements assigns the string "Maple" to the member variable?
A. address&strStreet = "Maple"
B. address.strStreet = "Maple"
C. strStreet.address = "Maple"
D. strStreet&address="Maple"
Select an option to see the answer and solution.
ControlChars.NewLine constant is a . . . . . . . . constant.
A. Pure
B. Invariable
C. Character
D. Intrinsic
Select an option to see the answer and solution.
Using array in a program is efficient because . . . . . . . .
A. It shortens the program.
B. The program compiles faster
C. Number of variables are reduced.
D. Data is accessed faster
Select an option to see the answer and solution.
. . . . . . . . function is used to format numbers.
A. toString
B. toNumber
C. toFormat
D. toSpecify
Select an option to see the answer and solution.
Which is used to restore a property's value?
A. Restore button
B. Reset button
C. Default button
D. Back button
Select an option to see the answer and solution.
Writing data to a file is referred to as . . . . . . . .
A. Reading a file
B. Writing a file
C. Appending a file
D. Executing a file
Select an option to see the answer and solution.
The intNums array is declared as follows: Dim intNums() As Integer = {10, 5, 7, 2}. Which of the following blocks of code correctly calculates the average value stored in the array? The intTotal, intSub, and dblAvg variables contain the number 0 before the loops are processed.
Options are not available for this question.
Select an option to see the answer and solution.