Explore topic-wise MCQs in Visual Basic.

This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Visual Basic knowledge and support exam preparation. Choose a topic below to get started.

1.

If you want text to appear to the left of the selected image control on a Web form, you would need to click which button in thePosition dialog box?

A. Align
B. AlignLeft
C. Left
D. Right
Answer» D. Right
2.

To make text appear around image ______ section is used.

A. Wrapping style
B. Text style
C. Image properties
D. Align
Answer» B. Text style
3.

The ______ validator is used to verify that control contains data verify that an entry passes the specified validation logic.

A. CompareValidator
B. RangeValidator
C. CustomValidator
D. ValidationSummary
Answer» D. ValidationSummary
4.

The ______ validator is used to verify that a control contains data.

A. CompareValidator
B. RangeValidator
C. RequiredFieldValidator
D. ValidationSummary
Answer» D. ValidationSummary
5.

The ______ validator is used to verify that an entry matches a specific pattern.

A. CompareValidator
B. RegularExpressionValidator
C. RequiredFieldValidator
D. ValidationSummary
Answer» C. RequiredFieldValidator
6.

The ______ validator is used to verify that an entry is within the specified minimum and maximum values.

A. CompareValidator
B. RangeValidator
C. RequiredFieldValidator
D. ValidationSummary
Answer» C. RequiredFieldValidator
7.

The ______ validator is used to display all of the validation error messages in a single location on aWeb page.

A. CompareValidator
B. RangeValidator
C. RequiredFieldValidator
D. ValidationSummary
Answer» E.
8.

The ______ validator is used to compare an entry with a constant value or the property stored in a control.

A. CompareValidator
B. RangeValidator
C. RequiredFieldValidator
D. ValidationSummary
Answer» B. RangeValidator
9.

A button s _______ event is used to run code.

A. OnClick
B. onclick
C. Click
D. click
Answer» D. click
10.

A ______ Web page contains controls with which the user can interact.

A. Static
B. Dynamic
C. Server
D. Client
Answer» C. Server