Computer Visual Basic is a programming language that provides Graphical User Interface. This computer Visual Basic quiz will test your knowledge of the subject and will also provide valuable insight into the matter. The quiz contains various facts, trivia, and other relevant questions from the stream to help you master the topic. Knowing computer Visual Basic would greatly help accelerate your career growth. So try this informative quiz. All the best!
Identifier
Identity
Declaration
Dimension
Rate this question:
Are only used for variables and are not needed for constants
Are only allowed in the Declarations section of a form
Give variables and constants names, and specify the type of data they will hold
Both answers B and C are correct.
Rate this question:
Integer
Real
Decimal
String
Rate this question:
Decimal
Short
Integer
Fraction
Rate this question:
Names may contain underscores, but not good coding standards
Names may contain letters
Names may contain digits
Names may contain spaces
Rate this question:
Identifiers for constants should use an underscore between words
Identifiers should use periods to separate words
Identifiers should list the data type at the end of the name
Identifiers cannot contain embedded blanks
Rate this question:
1 to 8 characters
1 to 256 characters
1 to 4,000 characters
1 to 16,383 characters
Rate this question:
DecUnitsEnrolled
StrZipCode
Dec.amount.due
STRCOUNTRY
Rate this question:
Include the data type at the end of the identifier
Everything in the identifier's name should be capitalized except the data type
Identifiers for constants should begin with a prefix of Const
Identifiers for constants should use an underscore between words
Rate this question:
Declared using the keyword Const
Declared using the keyword Dim
Placed in the Declarations section of a form
Built into Visual Studio
Rate this question:
Boolean
String
Object
Variable
Rate this question:
Declaration
Size
Storage location
Identifier
Rate this question:
Dim indexWhole as Whole
Dim strIndex as String
Dim Integer as Index
Dim intIndex as Integer
Rate this question:
Dim indexFraction As Fraction
Dim strIndex As String
Dim decIndex As Decimal
Dim intIndex As Integer
Rate this question:
The Declarations section of the form
The Form_Load procedure
The event procedure where intCounter will be used
The Namespace Constants file
Rate this question:
The Declarations section of the form
The Form_Load procedure
The event procedure where STR_ACCOUNT_NUMBER will be used
The Namespace Constants file
Rate this question:
Namespace
Module-level
Local
Block
Rate this question:
Local
Module-level
Namespace
Private
Rate this question:
Anywhere in the project
Only in the procedure where the Dim statement is shown
Anywhere in the project if the variable name is changed to STR_NAME
Only once in the procedure
Rate this question:
Module-level variable
Local variable
Block variable
General variable
Rate this question:
Dim
Const
Private
Public
Rate this question:
Convert data in a textbox to a numeric value with no decimal places
Properly align decimal positions in a numeric value
Add a dollar sign ($) to improve the way the output looks
Convert data in a textbox to a numeric value with 2 decimal places
Rate this question:
Integer.Parse
Decimal.Parse
Parse.String
All of the above are valid
Rate this question:
Multiplication and division
Addition and subtraction
Exponentiation
Operators are not significant; all calculations are evaluated from left to right
Rate this question:
6
14
20
48
Rate this question:
19
41
61
None of the above
Rate this question:
13
8
12
None of the above
Rate this question:
6
30
27
None of the above
Rate this question:
Dim
Option Strict On
Option Explicit
Declarations
Rate this question:
A conversion function
A string variable
A constant
The format specifier codes
Rate this question:
"Hello" in the message box titlebar and "Goodbye" in the body of the message box
"Goodbye" in the body of the message box; "Hello" is the name of the message box
"Goodbye" in the message box titlebar and "Hello" in the body of the message box
None of the above
Rate this question:
Quiz Review Timeline +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.