Visual Basics Mcqs
Q.1: The entries in a listbox are stored in the __________ property.?
A. Items Count
B. Items
C. Entries
D. Text
Q.2: The contents of a text box may be cleared in visual basic code by ________.K
A. Assigning the predefined constant String.Empty to the text propertyC
B. I = P x ( Y x ( B * 1 - A) )
C. LblTotalSold.text = intQuantity.ToString()*
D. LblTotalSale.text = decTotSale.ToString((
Q.3: The assignment operator in visual basic is the ____ symbol.;
A. 1/1/0001 12:00:00 AM
B. _ (underscore)
C. =
D. Advance the insertion point to the next line in a control9
Q.4: The ________ operator performs string concatenation.4
A. Ampersand (&)
B. Dollar sign ($)
C. Percent symbol (%)
D. Pound symbol
Q.5: The ________ operator performs division and returns the remainder.B
A. Modulus %
B. Division /
C. Multiplication *
D. None of the above
Q.6: The ________ control uses a label to display program status information and messages to the user.a
A. LinkLabel
B. StatusStrip
C. ErrorProvider
D. TextBox
Q.7: The ____ property of a control is used to specify the position of the text within the control.^
A. AlignText
B. Alignment
C. TextAlign
D. Justify
Q.8: The ____ of a variable specifies where a variable can be referenced within a program.U
A. Range
B. Scale
C. Lifetime
D. Scope
Q.9: The ____ of a variable is defined by where it is declared within a program.K
A. False
B. Counter
C. Scope
D. True
Q.10: The ____ of a programming language is the set of usage rules for that language.O
A. Use case
B. Syntax
C. Label
D. Toolbox

Related Mcqs

All Subject Mcqs