WorksheetsActivity 3 - CC103
Total questions: 50
Worksheet time: 29mins
Which of these names would be most appropriate for a button that allows the user to submit the answer?
Answer
Button1
SubmitBttn
Button1.text
The Function and procedure in Visual Basic are by default
Private
Public
Protected
None of the above
Which symbol creates an access(hot) key in the text of a menu item?
&
@
$
#
Do While index <> 9
MsgBox("Hello")
index =index+1
Loop
Dim num as Double = 10
Do While num > 1
MsgBox(num)
num = num - 3
Loop
End Sub.
What numbers will be displayed in the list box when the button is clicked?
Variable scope and lifetime in Visual Basic can be
Module
Public
Static
Private
All of the above
Which type of control is used to design a form like above
Check Box
Option Button
Combo Box
List Box
Which property determines whether a control is displayed to the user?
Show
Visible
Enabled
Hide
It displays the properties that are associated with an object.
Project Window
Properties Window
Form Window
Explorer
________________ is used to accept input from the user.
Label Box
Picture Box
Command Box
Text Box
____________ is used to appear message dialog box.
MsgBox
Label Box
Text Box
Command Box
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 Val( ) function converts a string value into an integer
TRUE
FALSE
Message boxes can only be used in decision statements (if statements)
TRUE
FALSE
Variables are named storage locations in memory, the value of which does not change during program
execution
design
debug
none of the above
Visual Basic belongs to this type of programming language.
Assembly
High Level
Low Level
None of the above
What is the output of this flowchart if the time is 6:30 a.m?
Take subway and reach school.
Take bus and reach school.
Take subway, get the bus and reach school.
If Francis wants to edit the BackColor, foreColor and visibility of the label, he must proceed to the _______________.
Toolbox
Property
Windows explorer
Solution explorer
Kuya Ruver is about to put all the objects on the form such as textbox and checkbox, what essential part of Visual Studio does he imply?
Property
Windows explorer
Toolbox
Solution explorer
Which of the following is a relational operator that means “Less than or Equal to”?
<=
>=
<>
=<
Statement B: TextBox is not used to take input;
