Q. Designers usually include graphics to . . . . . . . . a portion of screen.

  • (A) Mesmerize
  • (B) Emphasize
  • (C) Attract
  • (D) Glorify
πŸ’¬ Discuss
βœ… Correct Answer: (B) Emphasize

Q. What will be assigned to the dblAvg variable after the code has been executed?
The intTotal, intSub, and dblAvg variables contain the number 0 before the loops are processed.

Code:
Do While intSub < 4
intTotal = intTotal + intNums(intSub)
intSub = intSub + 1
Loop
dblAvg = intTotal / intSub – 1
Dim intNums() As Integer = {10, 5, 7, 2}. 
  • (A) 0
  • (B) 5
  • (C) 6
  • (D) 8
πŸ’¬ Discuss
βœ… Correct Answer: (B) 5

Q. A control is locked using . . . . . . . .

  • (A) Lock Controls
  • (B) Shared lock
  • (C) Fixed lock
  • (D) Lock
πŸ’¬ Discuss
βœ… Correct Answer: (A) Lock Controls

Q. The methods which loads the form into memory . . . . . . . . it on screen.

  • (A) load
  • (B) show
  • (C) display
  • (D) all of above
πŸ’¬ Discuss
βœ… Correct Answer: (C) display

Q. Microsoft ActiveX Data Control 6 is insert from component , it is used to load ADO control.

  • (A) TRUE
  • (B) gui
  • (C) ---
  • (D) ---
πŸ’¬ Discuss
βœ… Correct Answer: (A) TRUE

Q. VB is tool that allows you to develop application in . . . . . . . .

  • (A) real time
  • (B) Two-dimensional array
  • (C) character
  • (D) none of these
πŸ’¬ Discuss
βœ… Correct Answer: (B) Two-dimensional array

Q. A . . . . . . . . resembles a table.

  • (A) One-dimensional array
  • (B) Show All Files Button
  • (C) Three-dimensional array
  • (D) N-dimensional array
πŸ’¬ Discuss
βœ… Correct Answer: (B) Show All Files Button

Q. By which button you can display the additional items?

  • (A) Display Button
  • (B) Counter
  • (C) Visible Button
  • (D) Show Button
πŸ’¬ Discuss
βœ… Correct Answer: (B) Counter

Q. Which of the following is used to display a message box in Visual Basic?

  • (A) MessageBox.Show
  • (B) MessageBox
  • (C) AlertBox.View
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (A) MessageBox.Show

Q. What is the value of len in the following Visual Basic code?
Dim strVB() As String = {"Sanfoundry", "Visual Basic", "VB.Net", "Visual Studio"}
Dim len As Integer
len = strVB.Length()

  • (A) 3
  • (B) 5
  • (C) 4
  • (D) 0
πŸ’¬ Discuss
βœ… Correct Answer: (C) 4