Search Header Logo

VB.NET Control Statements Quiz

Authored by BCA Selvam

Computers

University

Used 1+ times

VB.NET Control Statements Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

60 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used for conditional branching in VB.NET?

Case

If

Switch

Else

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Select Case statement is used for:

Looping

Exception handling

File handling

Multi-branch selection

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the correct syntax for a For loop?

For (i = 1; i < 10; i++)

For i = 1 To 10

Loop i = 1 To 10

For i in range(1,10)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which loop executes at least once regardless of condition?

While

For

Do...While

Do...Loop Until

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default increment step in a For loop?

0

2

1

Undefined

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For Each loop is best suited for:

Conditional logic

Reading files

Iterating collections

Creating forms

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid loop in VB.NET?

For

While

Do Until

Until For

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?