VB.net

VB.net

Assessment

Quiz

Computers

University

Medium

Created by

Mais Salameh

Used 91+ times

FREE Resource

Student preview

quiz-placeholder

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If statement is a

Loop statement

Conditional Statement

Input statement

Output Statement

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For Next statement is a

Looping statement

Conditional statement

input statement

Function statement

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To add items to Listbox1 we use:

Listbox.add

Listbox.items.add()

Listbox1.items.add()

Listbox1.add()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To delete an item from Listbox1

Listbox1.items.remove()

Listbox1.items.removeat(selecteditem)

Listbox1.items.removeat(listbox1.selectedindex)

Listbox1.items.removeat(listbox1.selecteditem)

5.

OPEN ENDED QUESTION

45 sec • 1 pt

Write down the code for counting the items in Listbox1

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

45 sec • 1 pt

Write down the code of clearing all items in Listbox1

Evaluate responses using AI:

OFF

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Visual basic.net is a programming language to create web applications.

True

False

8.

OPEN ENDED QUESTION

1 min • 1 pt

What is the output of the following code:

For i as integer = 2 to 25 step 3

Listbox1.items.add(i)

Next

Evaluate responses using AI:

OFF

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We use If.. Elseif statement if we have two options.

True

False

Discover more resources for Computers