VB.NET

Covers VB.NET fundamentals including Windows Forms controls, Visual Studio IDE, .NET Framework components, object-oriented programming concepts, and exception handling.

25 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following applications runs on a web server, but its user interface is displayed in a web browser on the client machine?

  1. Framework Class Library
  2. Web Forms Application
  3. Windows Forms Application
  4. None of these
Question 2 Multiple Choice (Single Answer)

Which of the following data types is passed to methods by passing an exact copy?

  1. Value type
  2. Reference type
  3. Implicit data type
  4. Explicit data type
Question 3 Multiple Choice (Single Answer)

______________ is a self-contained unit that combines code and data.

  1. Class
  2. Instantiation
  3. Object
  4. None of these
Question 4 Multiple Choice (Single Answer)

_________________ is a component of CLR that ensures that all .NET applications use the same data types regardless of what programming languages were used to develop the application.

  1. Common Type System
  2. Common Language Runtime
  3. .NET Framework Class Library
  4. None of these
Question 5 Multiple Choice (Single Answer)

Which of the following are the operations that an object can perform?

  1. Properties
  2. Methods
  3. Events
  4. None of these
Question 6 Multiple Choice (Single Answer)

Which text box control property determines whether characters entered in the text box should be left as entered or converted to upper or lowercase?

  1. HideSelection
  2. CharacterCasting
  3. MaxLength
  4. Multiline
Question 7 Multiple Choice (Single Answer)

_____________ control property determines if the text in the text box is hidden when the control loses focus.

  1. UseMnemonic
  2. AcceptReturn
  3. HideSelection
  4. PasswordChar
Question 8 Multiple Choice (Single Answer)

_____________ is used to manage and display the files and projects in a solution.

  1. Form Design Window
  2. Code Editor Window
  3. Solution Explorer
  4. None of these
Question 9 Multiple Choice (Single Answer)

Which of the following allows us to create and edit visual basic source code?

  1. Form Design Window
  2. Code Editor Window
  3. Solution Explorer
  4. None of these
Question 10 Multiple Choice (Single Answer)

Which of the following is stored on disk in an assembly that contains references to the classes that the application requires?

  1. Common Language Runtime (CLR)
  2. Integrated Development Environment (IDE)
  3. Microsoft Inter-mediate Language (MSIL)
  4. None of these
Question 11 Multiple Choice (Single Answer)

Which of the following contains other types of files, such as sound files, image files or simple text files?

  1. Project
  2. Source files
  3. Solution
  4. None of these
Question 12 Multiple Choice (Single Answer)

Which of the following provides pre-written code in the form of classes that are available to all of the .NET programming languages?

  1. Common Type System
  2. Common Language Runtime
  3. .NET Framework Class Library
  4. Windows Forms Application
Question 13 Multiple Choice (Single Answer)

__________ are signals by which an object can notify other objects that something noteworthy has occurred.

  1. Events
  2. Class
  3. Methods
  4. None of these
Question 14 Multiple Choice (Single Answer)

Which of the following control properties is a character which is displayed in place of each character into the text box?

  1. MaxLength
  2. CharacterCasting
  3. PasswordChar
  4. None of these
Question 15 Multiple Choice (Single Answer)

Which of the label control properties determines whether an ampersand(&) in the text property of the control identifies an access key or a text character?

  1. Text
  2. AcceptsReturn
  3. Multiline
  4. UseMnemonic
Question 16 Multiple Choice (Single Answer)

Which property of exception holds a list of the pending method calls at the point at which the exception was detected?

  1. HideSelection
  2. StackTrace
  3. Text
  4. None of these
Question 17 Multiple Choice (Single Answer)

Which control property determines whether the lines in a multiline text box are wrapped automatically when the end of each line is reached?

  1. Scrollbars
  2. WordWrap
  3. ReadOnly
  4. None of these
Question 18 Multiple Choice (Single Answer)

Which of the following statements is FALSE with respect to Single-Document Interface?

  1. Each form runs in its own application window.
  2. A container form called Parent Form contains one or more Child Forms.
  3. Each form can have its own menus and toolbars.
  4. It has a main form called a Startup form.
Question 19 Multiple Choice (Single Answer)

____________ property returns the exception object reference to a nested exception.

  1. Message
  2. TargetSite
  3. InnerException
  4. StackTrace
Question 20 Multiple Choice (Single Answer)

___________ control property determines whether the user can change the text in the text box.

  1. ReadOnly
  2. AcceptReturn
  3. Text
  4. None of these
Question 21 Multiple Choice (Single Answer)

Which of the following begins a section of code in which an exception might be generated from a code error?

  1. Catch
  2. Finally
  3. Try
  4. Throw
Question 22 Multiple Choice (Single Answer)

Which of the following representatives of classes extends exception results when there is no enough memory to carry out an operation?

  1. OutOfMemoryException
  2. XmlException
  3. InvalidOperationException
  4. None of these
Question 23 Multiple Choice (Single Answer)

Which method of form object loads the form if it is not already loaded, and then displays the form by setting its visible property to true?

  1. Show
  2. Hide
  3. BringToFront
  4. SendToBack
Question 24 Multiple Choice (Single Answer)

_______ property of exception is a string that contains a description of the error, suitable for displaying to users.

  1. HelpLink
  2. InnerException
  3. Message
  4. None of these
Question 25 Multiple Choice (Single Answer)

___________ provides access to the collection of items in a list box or combo box list.

  1. Sorted
  2. SelectedIndex
  3. DropDownStyle
  4. Items