Top 150+ Solved Programming in Visual Basic MCQ Questions Answer
Q. __________structure can handle conditions with multiple outcomes inan easier manner
a. select case control
b. next
c. if condition
d. nested
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
Q. in _______ , first we check the condition , if the condition is true thenit execute the true statement .
a. while
b. do while
c. if condition
d. nested
Q. In _______ first we execute the true statement . then we check thecondition if the condition is true then it again execute the truestatement .
a. while
b. do while
c. if condition
d. nested
Q. in VB , The _______ first we check the condition , if the condition istrue then it execute the true statement same as while condition .
a. for loop
b. do while
c. if condition
d. nested
Q. The function of _________ is to give a pop-up message to the user.
a. msgbox()
b. inputbox()
c. print
d. nested
Q. An _________ function will display a message box where the user canenter a value.
a. msgbox()
b. inputbox()
c. print
d. nested
Q. In VB , the______ is the function that computes the square root of anumber.
a. sqrt()
b. round()
c. abs()
d. len()
Q. In VB, ______ is the function that rounds up a number to a certainnumber of decimal places.
a. sqrt()
b. round()
c. abs()
d. len()
Q. In VB, _________is the function that returns the absolute value of anumber.
a. sqrt()
b. round()
c. abs()
d. len()
Q. In VB, The Len function returns an integer value which is the lengthof a phrase or a sentence, including the empty spaces.
a. true
b. false
c. both a and b
d. none of these ..
Q. In VB, The _____function extracts a substring from the originalphrase or string
a. true
b. false
c. both
d. none of these ..
Q. In VB, The______ function converts all the characters of a string tocapital letters.
a. str()
b. ucase()
c. val ()
d. len()