VB.Net MCQ Quiz Hub

VB NET MCQ SET 1

Choose a topic to test your knowledge and improve your VB.Net skills

Visual Basic is a tool that allows you to develop application in __________





✅ Correct Answer: 2

_________ is used for finding out about objects, properties and methods.





✅ Correct Answer: 3

In Visual Basic, a variable name cannot be more than __________ characters.





✅ Correct Answer: 1

__________ function is used to return a copy of a string without leading spaces.





✅ Correct Answer: 2

The variables that does not change the value during execution of program is __________





✅ Correct Answer: 3

___________ is a method which moves the focus to the specified control or form.





✅ Correct Answer: 1

The function procedures are ___________ by default.





✅ Correct Answer: 1

__________ is a data type that can be used to declare a text of maximum 10 million characters.





✅ Correct Answer: 4

Variables are named storage locations in memory, the value of which does not change during program ___________





✅ Correct Answer: 3

In visual basic ______ is the extension to represent project file.





✅ Correct Answer: 2

_________ is used for finding out about objects, properties and methods.





✅ Correct Answer: 3

The default property for a text box control is __________





✅ Correct Answer: 1

__________ is a collection of files.





✅ Correct Answer: 3

__________ is a collection of files.





✅ Correct Answer: 3

The method, which loads the form into memory and displays it on screen





✅ Correct Answer: 2

The ________ object is a stored query definition, which is a precompiled SQL statement.





✅ Correct Answer: 4

________ function returns the intervals between two dates in terms of years, months or days.





✅ Correct Answer: 1

______ array size can be changed at run-time.





✅ Correct Answer: 3

The window in which the individual documents are displayed is called ____________window.





✅ Correct Answer: 2

The window in which the individual documents are displayed is called ____________window.





✅ Correct Answer: 2

_________ is the process of finding and removing errors.





✅ Correct Answer: 3

________ loop repeats a group of statements for each item in a collection of objects or for each element of an array.





✅ Correct Answer: 4

A __________ variable is one that is declared inside a procedure.





✅ Correct Answer: 2

_______ control executes the timer events at specified intervals of time.





✅ Correct Answer: 3

MDI stands for _________





✅ Correct Answer: 1

A _______control in visual basic is used to create applications that present information in rows and columns.





✅ Correct Answer: 4

__________ cannot be declared in a form or class module.





✅ Correct Answer: 3

__________ do not return a value.





✅ Correct Answer: 1

The default datatype for VB is ___________





✅ Correct Answer: 3

_________ is a built in function to return lower bound of an array.





✅ Correct Answer: 1

The _________ allows direct exit from a For loop, Do loop, Sub procedure, or Function procedure.





✅ Correct Answer: 2

___________ displays current directory with any subdirectories and allows the user to change directory.





✅ Correct Answer: 2

Extension of ActiveX designers ____________





✅ Correct Answer: 1

________ indicates whether a particular condition is on or off.





✅ Correct Answer: 2

__________ statement enables us to trap runtime error.





✅ Correct Answer: 2

Frame Control acts as a __________





✅ Correct Answer: 4

Form_Mouse Down( ) procedure is executed when any mouse button is clicked in a free area of the ______.





✅ Correct Answer: 1

________ method removes a dialog box from view.





✅ Correct Answer: 3

The ______ is a tool used for both the Input and output purpose.





✅ Correct Answer: 2

An object datatype can store _______ bytes.





✅ Correct Answer: 3

________ method is used to clear the contents of MSHFlexGrid control.





✅ Correct Answer: 4

The _______ function returns a string stored in a variant data type.





✅ Correct Answer: 1

The __________ property is used in VB for maximum form at run time.





✅ Correct Answer: 3

___________ is property is used to hide the content in textbox with some symbols.





✅ Correct Answer: 4

___________ method is used to retrieve the stored text from the clipboard.





✅ Correct Answer: 2

_________ control displays current directory with any sub directories and allows the user to change directly.





✅ Correct Answer: 3

________ control is used to represent the items in a hierarchical manner.





✅ Correct Answer: 1

Which is not a property of the Common control class?





✅ Correct Answer: 1

Which symbol creates an access key in the text of a menu item?





✅ Correct Answer: 2

__________ event occurs when a form loaded into the memory.





✅ Correct Answer: 1

_________ method is used to forcibly set the CPU focus to a particular control.





✅ Correct Answer: 1

Which language is not a true object-oriented programming language?





✅ Correct Answer: 1

A GUI





✅ Correct Answer: 3

Visual Studio .NET provides which feature:





✅ Correct Answer: 4

What does IDE stand for?





✅ Correct Answer: 2

Which type of project can a developer choose in the New Project dialog box?





✅ Correct Answer: 4

Which is not a main component of the Visual Studio IDE?





✅ Correct Answer: 1

Which does the solution explorer not display?





✅ Correct Answer: 1

For which task does the IDE provide multiple ways to accomplish the task?





✅ Correct Answer: 4

Which are the standard prefixes for the Button and Combo box controls respectively?





✅ Correct Answer: 3

Which are the standard prefixes for the text box and label controls respectively?





✅ Correct Answer: 1

Which task is accomplished in the Code editor?





✅ Correct Answer: 4

Which is not a feature of a GUI that makes learning a program easy for users?





✅ Correct Answer: 1

An object is composed of:





✅ Correct Answer: 4

Which statement about objects is true?





✅ Correct Answer: 2

Which is not true about forms and controls in Visual Basic?





✅ Correct Answer: 4

Which is an example of Visual Basic Objects?





✅ Correct Answer: 4

The .Net class library:





✅ Correct Answer: 3

Which property determines whether a control is displayed to the user?





✅ Correct Answer: 1

The Button control can be activated:





✅ Correct Answer: 3

The CancelButton property belongs to which object?





✅ Correct Answer: 1

A click event procedure stud for the label control can be created by:





✅ Correct Answer: 4

In event-driven programming an event is generated by:





✅ Correct Answer: 4

The Java and Visual Basic .NET belong to this type of programming language.





✅ Correct Answer: 1

It is a comprehensive, object-oriented collection of reusable types that you can use to develop applications.





✅ Correct Answer: 1

It translates all high level instructions into machine code first before running the program.





✅ Correct Answer: 2

A window that lists the solution name, the project name and all the forms used in the project.





✅ Correct Answer: 2

VB.Net is





✅ Correct Answer: 4

VB.Net supports





✅ Correct Answer: 1

JIT stands for





✅ Correct Answer: 2