Q. If the padCharacter is omitted from the syntax of the padLeft or PadRight, the default is . . . . . . . .

  • (A) Space
  • (B) *
  • (C) /
  • (D) ?
πŸ’¬ Discuss
βœ… Correct Answer: (A) Space

Q. Hungarian notations name are entered using . . . . . . . .

  • (A) camel case
  • (B) upper case
  • (C) lower case
  • (D) both alphabets and numbers
πŸ’¬ Discuss
βœ… Correct Answer: (A) camel case

Q. The . . . . . . . . in a two-dimensional array specifies the elements row and column position.

  • (A) Superscript
  • (B) Subscript
  • (C) Row number
  • (D) Column number
πŸ’¬ Discuss
βœ… Correct Answer: (B) Subscript

Q. How many times will the MessageBox.Show method in the following code be processed?

Code:
intCount =0
Do While intCount > 3
MessageBox.Show("Hello")
intCount = intCount + 1
Loop
  • (A) 0
  • (B) 1
  • (C) 3
  • (D) 4
πŸ’¬ Discuss
βœ… Correct Answer: (A) 0

Q. What will be the output of the following Visual Basic expression?

Code:
-Financial.Pmt (0.06/12, 5*12, 12000)
  • (A) 200
  • (B) 231.99
  • (C) 345
  • (D) 324.99
πŸ’¬ Discuss
βœ… Correct Answer: (B) 231.99

Q. A suggestion for fixing the error appears in the . . . . . . . .

  • (A) Error correction window
  • (B) Error detection window
  • (C) Error location window
  • (D) Properties window
πŸ’¬ Discuss
βœ… Correct Answer: (A) Error correction window

Q. Two procedures can have procedure-level variable whose names are same.

  • (A) True
  • (B) Image box
  • (C) ---
  • (D) ---
πŸ’¬ Discuss
βœ… Correct Answer: (A) True

Q. To include an image on the form we use which toolbox?

  • (A) Picture Box
  • (B) inputbox()
  • (C) Add Image box
  • (D) Add Picture Box
πŸ’¬ Discuss
βœ… Correct Answer: (A) Picture Box

Q. An . . . . . . . . function will display a message box where the user can enter a value.

  • (A) msgbox()
  • (B) Mark
  • (C) print
  • (D) nested
πŸ’¬ Discuss
βœ… Correct Answer: (B) Mark

Q. A . . . . . . . . occurs while forgetting to enter an instruction, or entering the instruction in wrong order.

  • (A) Logical errors
  • (B) Syntax errors
  • (C) Exceptions
  • (D) Application shut down
πŸ’¬ Discuss
βœ… Correct Answer: (A) Logical errors