WorksheetsVB.Net - OOP
Total questions: 50
Worksheet time: 32mins
Press __ to start debugging.
F5
F4
F12
F1
ComboBox allows the user to make a (a) of items in the drop-down list.
CheckBox is used when the user has got the choice to select (a) options.
.................... such as click on a command button.
Procedures
Events
Properties
It contains tools of controls which can be put on the Form and can be shown in categories
Toolbox Window
Form Window
3- Properties Window
is the interface which the user deals with through different controls such as Button, Textbox, label……etc
Form
Solution Explorer
Properties Window
Each tool of the above Common Controls has a group of properties which can be adjusted through "Properties Window"
Properties Window
Form
Toolbox
Click is an example of:
an event
a variable
a component
a property
More than one radio button in a set can be selected at a time.
FALSE
TRUE
Comments affect the way an application runs.
FALSE
TRUE
The correct code to declare an integer variable is:
dim myvariable as Integer
dim integer
myvariable Integer
dim myvariable
The visual basic control that allows users to enter a value is a:
Textbox
Label
Button
GroupBox
The Val( ) function converts a string value into an integer
TRUE
FALSE
Message boxes can only be used in decision statements (if statements)
TRUE
FALSE
This is where all the controls in visual basic are show and inserted into the forms.
Menu Bar
Toolbar
Toolbox
Form Windows
It allows you to position the forms in your application using a small graphical representation of the screen.
Form Window
Code Window
Form Layout Window
Properties Window
A control that is used to accept an input value to end-user.
Frame
TextBox
Label
CommandButton
It contains controls that can be placed on the form.
ToolBox
Form1
Project Explorer
Properties Window
What toolbox button or control provides user with more than one choice?
OptionButton
ComboBox
CheckBox
CommandButton
Displays icons/bitmaps and metafiles. It displays text or acts as a visual container for other controls.
PictureBox
ComboBox
DriveListBox
Frame
Rules for variable name
Must begin with letter
Contain spaces,period(:),hyphen(-)
Maximum size 255 characters
Must be unique within the same scope
A control that lets you place descriptive text , where the text does not need to be changed by the user.
Textbox
Date Time Picker
List Box
Label
It is the standard control for accepting input from the user as well as to display the output.
Label
Button
Textbox
Picture Box
What does "GUI" mean?
Graphical User Interface
Gradient Uninterrupted Interface
Gradual Unified Interface
Graphical Unified Interface
It is one of the controls that is used to handle graphics.
Image Source
Link Label
Picture Box
GUI
It is used to display a drop-down list of various items.
ListBox
CheckBox
TextBox
ComboBox
Lets the user selects or unselects an option.
CheckBox
RadioButton
ListBox
ComboBox
When an option box is selected, its value is set to “______” and when it is unselected; its value is set to “_______”.
True and False
Yes and No
I / O
Check and X
It is a type of graphical user interface element that allows the user to choose only one of a predefined set of options.
Command Button
Radio Button
CheckBox
ComboBox
It refers to an extensive system used for declaring variables or functions of different types.
Controls
Object
Data Types
Variables
It is useful to declare and allocate the storage space for one or more variables.
Dim
Var
Int
String
A binary variable, having two possible values called “true” and “false.”.
String
Integer
Float
Boolean
It is a primitive data type with the size of exactly one byte.
String
Char
Double
Short
It is a datum of integral data type, a data type that represents some range of mathematical integers.
Double
Float
Short
Integer
It is traditionally a sequence of characters, either as a literal constant or as some kind of variable.
Integer
Float
Dim
String
What is the proper syntax used in VB?
Dim Integer x = 5
Dim String as Name
Dim age as Integer
Dim String = name
Check which syntax is correct in declaring a variable.
Dim age = 5 as Integer
Dim fname as String
Dim platenum as Integer
Dim lastname as Reyes
Check which syntax is correct in declaring a variable.
Dim grade as Integer = 85
Dim math = 76
Dim String = MiddleInitial
Dim lastname as String = "REYES"
It allows you to define the data type in the declaration statement.
While
Else
As
If
These are the self-explanatory notes to provide detailed information about the code which we wrote in our applications.
Comment
Dictation
Input
Output
____________ is used to appear message dialog box.
MsgBox
Label Box
Text Box
Command Box
What is the code to clear the screen in a VB program?
Text1.text = "
Text1.text = ""
Text1.Text = Clear
Text1.Text = "Clear"
