

VB Control & GUI
Flashcard
•
Computers
•
University
•
Practice Problem
•
Easy
azlina ibrahim
Used 1+ times
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Select the CORRECT code to execute the output as shown in the figure: InputBox("Please insert your name", "Input"), InputBox("Please insert your name", "Input", "Name"), InputBox("Name","Please insert your name", "Input"), InputBox("Input", "Please insert your name", "Name")
Back
InputBox("Please insert your name", "Input", "Name")
2.
FLASHCARD QUESTION
Front
Choose the CORRECT syntax to add an item "PSMZA" in the list box lstPoli: lstPoli.Items("PSMZA"), lstPoli.Items.New("PSMZA"), lstPoli.Items.Add("PSMZA"), lstPoli.Items.Create("PSMZA")
Back
lstPoli.Items.Add("PSMZA")
3.
FLASHCARD QUESTION
Front
Identify the function of the following program code: txtHello.ForeColor
Back
Set the font color for txtHello
4.
FLASHCARD QUESTION
Front
A segment of code is presented in the figure. Choose the correct syntax to accomplish the application. Options: Else If, End, End If, Else
Back
End If
5.
FLASHCARD QUESTION
Front
Select TRUE declaration for an integer variable 'intJumlah'. Options: int intJumlah, Dim Integer intJumlah, Dim intJumlah As Integer, Dim Integer As intJumlah
Back
Dim intJumlah As Integer
6.
FLASHCARD QUESTION
Front
Choose the correct code segment to reset values for txtPrice, txtQuantity, and lblOutput: txtPrice.Clear() txtQuantity.Clear() lblOutput.Clear(), txtPrice.Clear() txtQuantity.Clear() lblOutput.Text="", txtPrice.Enabled=False txtQuantity.Enabled=False lblOutput.Enabled=False, txtPrice.Enabled=True txtQuantity.Enabled=True lblOutput.Enabled=True
Back
txtPrice.Clear() txtQuantity.Clear() lblOutput.Text=""
7.
FLASHCARD QUESTION
Front
Select the CORRECT example of constant declaration: PI= 3.142, Const PI As Decimal= 3.142, Const PI = 3.142, Dim Const PI As Decimal= 3.142
Back
Const PI As Decimal= 3.142
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?