Choose a topic to test your knowledge and improve your VB.Net skills
When you declare a variable in the form’s declaration section, it is called as _______
Lifetime of a class-level variable is till _______
A class-level variable is declared using ______________ keyword.
A procedure-level variable is declared using ____________ keyword.
Two procedures can have procedure-level variable whose names are same.
_____ is a variable that remains in memory, and retains its value even after the procedure declaring it ends.
Static variable can only be used in the __________ in which it is declared.
A __________ cannot change its value while the application is running.
Named constants are used because ______
What is wrong with the expression “const dblPi As Double = 3.141593”?
What is wrong with the expression “static dblPi AsDouble ”?
What happens when a procedure containing the following statements ends? Dim decSales As Decimal=12.2 Static decTotal As Decimal=13.5
Using a named constant is advantageous because to change a value in future, change ______
Unintentional errors in application by declaring variables can be reduced by ____
To declare a class-level named constant you declare it as __________
In Visual Basic, if you keep a variable undeclared, it is automatically taken as___________ data type.
______ prevents you from using undeclared variable in your code.
______ ensures every variable and named constant is declared with a data type.
______ is used to fit the value of the data type to that of the memory location, implicitly.
When a value is converted from one data type to another and can store numbers with greater precision, the value is said to be ___
When a value is converted from one data type to another and can store numbers with less precision, the value is said to be ____
You can eliminate the problems of implicit type conversion, with the help of ______
Option Strict On disallows conversion of String data type to __________ implicitly.
Option Strict On disallows conversion of Double data type to __________ implicitly.
Instead of entering the Option statements in the Code Editor window, you also can enter in the _____
The __________ is used to concat to Strings.
Specifying the number of decimal places and special characters to display in a number is called as ____
____ function is used to format numbers.
The toString method formats the number stored in the numeric value and then returns the result as a _____
________ in the syntax gives the format you want to use.
____ displays an input dialog box containing a message, Ok and Cancel button and an input area.
______ is an underscore that is immediately preceded by a space and is located at the end of the physical line of code.
The InputBox functions prompt argument should be entered using _____
The value returned by the Inputbox depends on the __________ the user chooses.
The __________ argument contains the message to display inside the dialog box.
The __________ constant instructs the computer to advance the insertion point to the next line in control.
______ can be used to advance the insertion point in a file or on the printer.
Which of the following is called the line continuation character?
ControlChars.NewLine constant is a __________ constant.
What is wrong with the below statement?Msg.Text=”This is an example”&ControlChars.NewLine&“Example”.
What is the specialty of the Default button?
The Cancel Button’s procedure is accessed by __________ key.
How many default buttons can a form have?
How is a default button designated?
What is the correct syntax to designate a default button?
In Visual Basic __________ is used for coding single-alternative and dual-alternative selection structures.
The __________ keyword is necessary only in a dual-alternative selection structure.
The condition must be a __________ expression.
The set of statements contained in each path is referred to as a _____
What is wrong with the following if-else structure? If intQuantity > 5 Then dblDiscountRate = .1 Else dblDiscountRate = .05 End If