πŸ“Š Visual Basics
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: (D) 8
πŸ“Š Visual Basics
Q. 'e' parameter's . . . . . . . . property is used to determine the pressed key.
  • (A) Keypress
  • (B) KeyChar
  • (C) Keychar
  • (D) Key.Char
πŸ’¬ Discuss
βœ… Correct Answer: (B) KeyChar
πŸ“Š Visual Basics
Q. status bar is display at the . . . . . . . . of the mdi forms.
  • (A) bottom
  • (B) top
  • (C) dim
  • (D) frame
πŸ’¬ Discuss
βœ… Correct Answer: (A) bottom
πŸ“Š Visual Basics
Q. The rules of a programming language are called its . . . . . . . .
  • (A) Syntax
  • (B) Rules
  • (C) Grammar
  • (D) Order
πŸ’¬ Discuss
βœ… Correct Answer: (A) Syntax
πŸ“Š Visual Basics
Q. You use the . . . . . . . . tool to add a checkbox to a form.
  • (A) Button
  • (B) Radio
  • (C) Option
  • (D) Checkbox
πŸ’¬ Discuss
βœ… Correct Answer: (D) Checkbox
πŸ“Š Visual Basics
Q. One of its most important properties of text box is . . . . . . . .
  • (A) background
  • (B) caption
  • (C) label
  • (D) text
πŸ’¬ Discuss
βœ… Correct Answer: (D) text
πŸ“Š Visual Basics
Q. Toolbar is display at the . . . . . . . . of the mdi form.
  • (A) bottom
  • (B) top
  • (C) dim
  • (D) frame
πŸ’¬ Discuss
βœ… Correct Answer: (B) top
πŸ“Š Visual Basics
Q. Text box is aligned using . . . . . . . .
  • (A) Alignment operator
  • (B) Edit menu
  • (C) Properties Window
  • (D) Format menu
πŸ’¬ Discuss
βœ… Correct Answer: (A) Alignment operator
πŸ“Š Visual Basics
Q. Option Strict On disallows conversion of String data type to . . . . . . . . implicitly.
  • (A) Double
  • (B) Object
  • (C) Character
  • (D) Array
πŸ’¬ Discuss
βœ… Correct Answer: (A) Double
πŸ“Š Visual Basics
Q. the . . . . . . . .control is placed in the form together with six OptionButtons. To determine the shape of the shape control.
  • (A) shape
  • (B) combo
  • (C) picture box
  • (D) images
πŸ’¬ Discuss
βœ… Correct Answer: (A) shape