Q. Which of the following statements is false?

  • (A) A class can have only one constructor
  • (B) A class can have multiple constructors
  • (C) An object created from a class is referred to as instance of the class
  • (D) An instance of a class is considered an object
πŸ’¬ Discuss
βœ… Correct Answer: (A) A class can have only one constructor

Q. The . . . . . . . . method creates a periodic payment on either a loan or an investment.

  • (A) Financial
  • (B) Pmt
  • (C) Financial.Pmt
  • (D) Calculate
πŸ’¬ Discuss
βœ… Correct Answer: (C) Financial.Pmt

Q. The data control s used to link . . . . . . . .

  • (A) oracle
  • (B) ms-excel
  • (C) ms-access
  • (D) none of these
πŸ’¬ Discuss
βœ… Correct Answer: (D) none of these

Q. Which of the following statement is used to define a class in visual basic?

  • (A) Event class statement
  • (B) Class statement
  • (C) Form class statement
  • (D) Event statement
πŸ’¬ Discuss
βœ… Correct Answer: (B) Class statement

Q. Which property specifies the position of the upper left corner of the control?

  • (A) Top Property
  • (B) Position Property
  • (C) Location Property
  • (D) Starting Position Property
πŸ’¬ Discuss
βœ… Correct Answer: (C) Location Property

Q. The . . . . . . . . method converts a string to a number.

  • (A) Tryparse
  • (B) Parse
  • (C) Convert
  • (D) Extern
πŸ’¬ Discuss
βœ… Correct Answer: (A) Tryparse

Q. An application uses a structure named Employee. Which of the following statements declares a five-element array of Employee structure variables?

  • (A) Dim workers(4) As Employee
  • (B) Dim workers(5) As Employee
  • (C) Dim workers As Employee(4)
  • (D) Dim workers As Employee(5)
πŸ’¬ Discuss
βœ… Correct Answer: (B) Dim workers(5) As Employee

Q. In the below statement when true is returned?
If str="USE" Xor strln="USE" Then

  • (A) When both the sub-conditions are true
  • (B) When only one sub-condition is true
  • (C) When both the sub-conditions are false
  • (D) It never returns true
πŸ’¬ Discuss
βœ… Correct Answer: (B) When only one sub-condition is true

Q. Which of the following rounds the contents of the intNum variable to three decimal places?

  • (A) Math.Round(3, intNum)
  • (B) Math.Round(intNum, 3)
  • (C) Round.Math(intNum, 3)
  • (D) Round.Math(3, intNum)
πŸ’¬ Discuss
βœ… Correct Answer: (B) Math.Round(intNum, 3)

Q. . . . . . . . . this control is use to display the images

  • (A) image
  • (B) combo
  • (C) shape
  • (D) text
πŸ’¬ Discuss
βœ… Correct Answer: (A) image