Top 50+ Solved Visual Basic (VB) MCQ Questions Answer

From 16 to 30 of 44

Q. ______ property determines whether the focus stops on a control when a Tab key ispressed.

a. default

b. tabstop

c. cancel

d. tabindex

  • b. tabstop

Q. ______ property determines the order of the focus to move as the Tab key is pressed.

a. default

b. tabstop

c. cancel

d. tabindex

  • d. tabindex

Q. What is the result of VAL(“1,234”)?

a. 1

b. 0

c. 1234

d. 123

Q. What is the result of VAL(“1234”)?

a. 1

b. 0

c. 123

d. 1234

  • d. 1234

Q. What is the result of VAL(“A123”)?

a. 1

b. 0

c. 1234

d. 123

Q. Which of the following is an invalid Data Type in VB?

a. integer

b. string

c. single

d. smallint

  • d. smallint

Q. vbRed is ____ .

a. vb colour

b. vb color

c. colour

d. intrinsic constant

  • d. intrinsic constant

Q. ______ control can be used to accept input from the user.

a. label

b. form

c. text box

d. frame

  • c. text box

Q. Which of the following is a non-executable statement in VB?

a. if

b. dim

c. assignment statement

d. do… while

  • b. dim
Subscribe Now

Get All Updates & News