Top 150+ Solved Programming in Visual Basic MCQ Questions Answer

From 1 to 15 of 122

Q. __________structure can handle conditions with multiple outcomes inan easier manner

a. select case control

b. next

c. if condition

d. nested

  • a. select case control

Q. When you have a loop within a loop, then you have created a______.

a. select case control

b. next

c. if condition

d. nested loop

  • d. nested loop

Q. in VB , The while loop is end by _____

a. stop

b. next

c. wend

d. nested

  • c. wend

Q. The function of _________ is to give a pop-up message to the user.

a. msgbox()

b. inputbox()

c. print

d. nested

  • a. msgbox()

Q. An _________ function will display a message box where the user canenter a value.

a. msgbox()

b. inputbox()

c. print

d. nested

  • b. inputbox()

Q. In VB , the______ is the function that computes the square root of anumber.

a. sqrt()

b. round()

c. abs()

d. len()

  • a. sqrt()

Q. In VB, _________is the function that returns the absolute value of anumber.

a. sqrt()

b. round()

c. abs()

d. len()

  • c. abs()

Q. In VB, The _____function extracts a substring from the originalphrase or string

a. true

b. false

c. both

d. none of these ..

  • a. true

Q. In VB the _____function converts a string to a number.

a. str()

b. ucase()

c. val ()

d. len()

  • a. str()
Subscribe Now

Get All Updates & News