VB.NET
Covers VB.NET fundamentals including Windows Forms controls, Visual Studio IDE, .NET Framework components, object-oriented programming concepts, and exception handling.
Questions
Which of the following applications runs on a web server, but its user interface is displayed in a web browser on the client machine?
- Framework Class Library
- Web Forms Application
- Windows Forms Application
- None of these
Which of the following data types is passed to methods by passing an exact copy?
- Value type
- Reference type
- Implicit data type
- Explicit data type
______________ is a self-contained unit that combines code and data.
- Class
- Instantiation
- Object
- None of these
_________________ 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.
- Common Type System
- Common Language Runtime
- .NET Framework Class Library
- None of these
Which of the following are the operations that an object can perform?
- Properties
- Methods
- Events
- None of these
Which text box control property determines whether characters entered in the text box should be left as entered or converted to upper or lowercase?
- HideSelection
- CharacterCasting
- MaxLength
- Multiline
_____________ control property determines if the text in the text box is hidden when the control loses focus.
- UseMnemonic
- AcceptReturn
- HideSelection
- PasswordChar
_____________ is used to manage and display the files and projects in a solution.
- Form Design Window
- Code Editor Window
- Solution Explorer
- None of these
Which of the following allows us to create and edit visual basic source code?
- Form Design Window
- Code Editor Window
- Solution Explorer
- None of these
Which of the following is stored on disk in an assembly that contains references to the classes that the application requires?
- Common Language Runtime (CLR)
- Integrated Development Environment (IDE)
- Microsoft Inter-mediate Language (MSIL)
- None of these
Which of the following contains other types of files, such as sound files, image files or simple text files?
- Project
- Source files
- Solution
- None of these
Which of the following provides pre-written code in the form of classes that are available to all of the .NET programming languages?
- Common Type System
- Common Language Runtime
- .NET Framework Class Library
- Windows Forms Application
__________ are signals by which an object can notify other objects that something noteworthy has occurred.
- Events
- Class
- Methods
- None of these
Which of the following control properties is a character which is displayed in place of each character into the text box?
- MaxLength
- CharacterCasting
- PasswordChar
- None of these
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?
- Text
- AcceptsReturn
- Multiline
- UseMnemonic
Which property of exception holds a list of the pending method calls at the point at which the exception was detected?
- HideSelection
- StackTrace
- Text
- None of these
Which control property determines whether the lines in a multiline text box are wrapped automatically when the end of each line is reached?
- Scrollbars
- WordWrap
- ReadOnly
- None of these
Which of the following statements is FALSE with respect to Single-Document Interface?
- Each form runs in its own application window.
- A container form called Parent Form contains one or more Child Forms.
- Each form can have its own menus and toolbars.
- It has a main form called a Startup form.
____________ property returns the exception object reference to a nested exception.
- Message
- TargetSite
- InnerException
- StackTrace
___________ control property determines whether the user can change the text in the text box.
- ReadOnly
- AcceptReturn
- Text
- None of these
Which of the following begins a section of code in which an exception might be generated from a code error?
- Catch
- Finally
- Try
- Throw
Which of the following representatives of classes extends exception results when there is no enough memory to carry out an operation?
- OutOfMemoryException
- XmlException
- InvalidOperationException
- None of these
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?
- Show
- Hide
- BringToFront
- SendToBack
_______ property of exception is a string that contains a description of the error, suitable for displaying to users.
- HelpLink
- InnerException
- Message
- None of these
___________ provides access to the collection of items in a list box or combo box list.
- Sorted
- SelectedIndex
- DropDownStyle
- Items