Q. when we Declaring a variable before programming start it is called as . . . . . . . . it tells Visual Basic to reserve space in memory.

  • (A) explicit declaring
  • (B) implicit declaring
  • (C) public declaring
  • (D) local declaring
πŸ’¬ Discuss
βœ… Correct Answer: (A) explicit declaring

Q. What happens when both the minimize box and maximize box property are set to false in Visual Basic?

  • (A) Both are removed from the title bar
  • (B) Both are disabled
  • (C) This situation shows an exception
  • (D) This situation shows an error
πŸ’¬ Discuss
βœ… Correct Answer: (A) Both are removed from the title bar

Q. In Visual Basic, which of the following keyword tells the computer to pass the variable's address rather than its contents?

  • (A) ByAdd
  • (B) ByPoint
  • (C) ByRef
  • (D) ByVal
πŸ’¬ Discuss
βœ… Correct Answer: (C) ByRef

Q. In Visual Basic if we declare a variable without any data type by . . . . . . . .this the data type is assigned as default..

  • (A) string
  • (B) boolean
  • (C) variant
  • (D) date
πŸ’¬ Discuss
βœ… Correct Answer: (C) variant

Q. Which of the following method is used to sort an array in visual basic?

  • (A) Array.Sort()
  • (B) Array.sortAscending()
  • (C) Array.arrayArrange()
  • (D) Array.arrange()
πŸ’¬ Discuss
βœ… Correct Answer: (A) Array.Sort()

Q. Which of the following instruction tells the computer to close the current form in Visual Basic?

  • (A) This.Close()
  • (B) Me.Close()
  • (C) Close.this()
  • (D) Close()
πŸ’¬ Discuss
βœ… Correct Answer: (B) Me.Close()

Q. Which of the following is used to write a stream of characters in Visual Basic?

  • (A) StreamReader object
  • (B) StreamReader class
  • (C) StreamWriter object
  • (D) StreamWriter class
πŸ’¬ Discuss
βœ… Correct Answer: (C) StreamWriter object

Q. Who developed Visual Basic?

  • (A) Apple
  • (B) Adobe
  • (C) Microsoft
  • (D) Google
πŸ’¬ Discuss
βœ… Correct Answer: (C) Microsoft
Explanation: Visual Basic was developed by Microsoft. It was created to provide a user-friendly programming environment for building Windows applications. The language evolved over time and had various versions, with Visual Basic 6.0 being one of the most widely used. It allowed developers to create graphical user interfaces and perform rapid application development. While Microsoft's involvement in the development of Visual Basic is well-established, the other options (Apple, Adobe, and Google) were not directly responsible for creating Visual Basic.

Q. Which of the following extension is used to represent the project file in Visual Basic?

  • (A) .vbp
  • (B) .vb
  • (C) .cls
  • (D) .vvb
πŸ’¬ Discuss
βœ… Correct Answer: (A) .vbp
Explanation: In Visual Basic, the project file is represented by the extension .vbp. This file type contains information about the project structure, references to other files, and various project settings. The .vb extension is used for individual source code files in Visual Basic. The extensions .cls and .vvb are not commonly associated with Visual Basic project files. Therefore, the correct option is Option A: .vbp.

Q. Which of the following applications can be developed using Visual Basic tool?

  • (A) Graphical User Interface
  • (B) Real-time
  • (C) Character User Interface
  • (D) All of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the mentioned
Explanation: Visual Basic is a versatile programming tool that can be used to develop various types of applications, including: