Q. A class . . . . . . . . all the behavior and attributes of an object.

  • (A) Encapsulates
  • (B) Abstracts
  • (C) Inherits
  • (D) Instantiate
πŸ’¬ Discuss
βœ… Correct Answer: (A) Encapsulates

Q. When referring to the method's return value in code, one should use the . . . . . . . . value rather than the integer.

  • (A) DoubleReturn
  • (B) BooleanResults
  • (C) charResult
  • (D) DialogResult
πŸ’¬ Discuss
βœ… Correct Answer: (D) DialogResult

Q. The background color of a Web page is determined by the . . . . . . . . property.

  • (A) BackColor
  • (B) BackgroundColor
  • (C) BgColor
  • (D) BColor
πŸ’¬ Discuss
βœ… Correct Answer: (C) BgColor

Q. You use the . . . . . . . . constant to include the Exclamation icon in a message box.

  • (A) MessageBox.exclamation
  • (B) MessageBox.Iconexclamation
  • (C) MessageBoxIcon.Exclamation
  • (D) MessageBoxWarning.Icon
πŸ’¬ Discuss
βœ… Correct Answer: (C) MessageBoxIcon.Exclamation

Q. What is wrong with the expression "static dblPi AsDouble"?

  • (A) Double is written
  • (B) Nothing is wrong
  • (C) "Static" starts with a "S"
  • (D) Value is not given
πŸ’¬ Discuss
βœ… Correct Answer: (C) "Static" starts with a "S"

Q. What will be in Msg after the following code is evaluated?

Code:
If 5*3>3^2 AndAlso True OrElse False Then
Msg="Hi"
Else
Msg="Bye"
Endif
  • (A) Hi
  • (B) Bye
  • (C) True
  • (D) False
πŸ’¬ Discuss
βœ… Correct Answer: (A) Hi

Q. The . . . . . . . . operator allows you to use pattern matching characters to determine whether one String is equal to another String.

  • (A) Like
  • (B) Pattern
  • (C) Match
  • (D) StringMatch
πŸ’¬ Discuss
βœ… Correct Answer: (A) Like

Q. When you start an application, the computer sends the focus to the control whose TabIndex is . . . . . . . .

  • (A) One
  • (B) Last TabIndex (that is if we have 8 control's at 8th Tab Index)
  • (C) Zero
  • (D) Two
πŸ’¬ Discuss
βœ… Correct Answer: (C) Zero

Q. What is the result of the expression 10-2+20 ><2*25-2?

  • (A) Syntax error
  • (B) No resulting value found
  • (C) False
  • (D) True
πŸ’¬ Discuss
βœ… Correct Answer: (A) Syntax error

Q. The . . . . . . . . box is the standard control for accepting input from the user as well as to display the output.......

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