Q. To change the control's Shape using the . . . . . . . . property

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

Q. The list of items displayed by menu title are known as . . . . . . . .

  • (A) Items
  • (B) Menu list
  • (C) Menu items
  • (D) Lists
πŸ’¬ Discuss
βœ… Correct Answer: (C) Menu items

Q. In the following Visual Basic code, what will be in msg, if str contains "visual basic"?

Code:
Dim str as String
Dim  msg as String
If str.toUpper="VISUAL BASIC" 
   msg="VB.Net"
Else
   msg="Not Visual Basic"
EndIf
  • (A) VB.Net
  • (B) Not Visual Basic
  • (C) Logical Error
  • (D) Compiler Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) VB.Net
Explanation: The given Visual Basic code snippet compares the string variable str with "VISUAL BASIC" after converting it to uppercase using the ToUpper method. If the str variable contains "visual basic", it will be converted to "VISUAL BASIC" and compared with "VISUAL BASIC". Since the comparison is case insensitive due to the use of ToUpper, the condition will be true and msg will be assigned the value "VB.Net". Hence, the output will be "VB.Net".

Q. Passing a copy of the variable is referred to as . . . . . . . .

  • (A) Pass by value
  • (B) Pass by address
  • (C) Pass by reference
  • (D) Pass by pointer
πŸ’¬ Discuss
βœ… Correct Answer: (A) Pass by value

Q. . . . . . . . . is used to delete a certain code from the code editor window.

  • (A) Edit
  • (B) Delete
  • (C) Truncate
  • (D) Free
πŸ’¬ Discuss
βœ… Correct Answer: (B) Delete

Q. The . . . . . . . . symbol is called the start /stop symbol in the flowchart.

  • (A) Oval
  • (B) Rectangle
  • (C) Parallelogram
  • (D) Diamond
πŸ’¬ Discuss
βœ… Correct Answer: (A) Oval

Q. . . . . . . . . is the process of finding & removing errors.

  • (A) debugging
  • (B) error finding
  • (C) processing
  • (D) non of these
πŸ’¬ Discuss
βœ… Correct Answer: (A) debugging

Q. The . . . . . . . . show the various characteristics of selected objects or controls.

  • (A) properties window
  • (B) project explorer
  • (C) menu bar
  • (D) toolbox
πŸ’¬ Discuss
βœ… Correct Answer: (A) properties window

Q. The . . . . . . . . is one of the most important controls as it is used to execute commands.

  • (A) command button
  • (B) radio
  • (C) label
  • (D) text
πŸ’¬ Discuss
βœ… Correct Answer: (A) command button

Q. . . . . . . . . is the process of adding a number to the value stored in a value.

  • (A) Counting
  • (B) Updating
  • (C) Accumulating
  • (D) Decrementing
πŸ’¬ Discuss
βœ… Correct Answer: (B) Updating