Search Header Logo

VB Control & GUI

Authored by azlina ibrahim

Computers

University

Used 2+ times

VB Control & GUI
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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")

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the CORRECT syntax to add an item "PSMZA" in the list box lstPoli

lstPoli.Items("PSMZA")

lstPoli.Items.Add("PSMZA")

lstPoli.Items.Create("PSMZA")

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the function of the following program code txtHello.ForeColor

Set the font color for form

Set the font color for txtHello

Set the background color for form

Set the background color for txtHello

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A segment of code is presented in the figure. Choose the correct syntax to accomplish the application.

Else If

End

End If

Else

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select TRUE declaration for an integer variable 'intJumlah'

int intJumlah

Dim Integer intJumlah

Dim intJumlah As Integer

Dim Integer As intJumlah

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers