πŸ“Š Visual Basics
Q. How many times will the MessageBox.Show method in the following code be processed?
Code:
For count As Integer = 5 to 9 Step 5
MessageBox.Show("Hi")
Next count
  • (A) 0
  • (B) 1
  • (C) 2
  • (D) 4
πŸ’¬ Discuss
βœ… Correct Answer: (B) 1
πŸ“Š Visual Basics
Q. The class statement groups . . . . . . . . item in one unit.
  • (A) Related
  • (B) Different
  • (C) Same access specifier items
  • (D) Different access specifier items
πŸ’¬ Discuss
βœ… Correct Answer: (A) Related
πŸ“Š Visual Basics
Q. Which box displays the current values of each of the properties?
  • (A) Settings Box
  • (B) Display Box
  • (C) Object box
  • (D) Value Box
πŸ’¬ Discuss
βœ… Correct Answer: (A) Settings Box
πŸ“Š Visual Basics
Q. In VB, . . . . . . . . is the function that rounds up a number to a certain number of decimal places.
  • (A) sqrt()
  • (B) round()
  • (C) abs()
  • (D) len()
πŸ’¬ Discuss
βœ… Correct Answer: (B) round()
πŸ“Š Visual Basics
Q. Which setting gives the control a 3-dimensional appearance?
  • (A) 3D appearance
  • (B) Fixed3D Border Style
  • (C) Set3D
  • (D) Appear3D
πŸ’¬ Discuss
βœ… Correct Answer: (A) 3D appearance
πŸ“Š Visual Basics
Q. The default property for a command control is:
  • (A) caption
  • (B) text
  • (C) list
  • (D) background
πŸ’¬ Discuss
βœ… Correct Answer: (A) caption
πŸ“Š Visual Basics
Q. What is the result of the expression 10-5>3*4-2?
  • (A) Syntax error
  • (B) No resulting value found
  • (C) False
  • (D) True
πŸ’¬ Discuss
βœ… Correct Answer: (C) False
πŸ“Š Visual Basics
Q. The Cancel Button's procedure is accessed by . . . . . . . . key.
  • (A) Esc
  • (B) Alt
  • (C) Ctrl
  • (D) Shift
πŸ’¬ Discuss
βœ… Correct Answer: (A) Esc
πŸ“Š Visual Basics
Q. What is the comparison operator to find if two values are equal?
  • (A) equalsto
  • (B) =
  • (C) EqualsTo
  • (D) Equals
πŸ’¬ Discuss
βœ… Correct Answer: (B) =
πŸ“Š Visual Basics
Q. The range of Integer data type is . . . . . . . . to . . . . . . . .
  • (A) -2,147,483,648 to 2,147,483,647
  • (B) -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
  • (C) +/-4.94065645841247 × 10-324 to +/-1.79769313486231 × 10308
  • (D) -32,768 to 32,767
πŸ’¬ Discuss
βœ… Correct Answer: (A) -2,147,483,648 to 2,147,483,647