VB.Net/VB NET MCQ SET 1 Sample Test,Sample questions

Question:
	
Extension of ActiveX designers ____________

1. .dsr

2. .axd

3..adx

4.None of These

Posted Date:-2022-06-11 07:15:27


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

1.255

2.300

3.355

4.400

Posted Date:-2022-06-11 06:08:50


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

1.QueryFed

2.QueryDif

3.QueryFix

4.QueryDef

Posted Date:-2022-06-11 06:52:44


Question:
	
VB.Net is

1. Platform Independent

2. Compiler Language

3.Forward compatibale

4. Backward compatible

Posted Date:-2022-06-11 13:59:34


Question:
	
Which task is accomplished in the Code editor?

1.Adding forms to the project

2.Adding controls to the form

3.Adding controls to the title

4.Adding event procedures to the form

Posted Date:-2022-06-11 13:33:36


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

1.Visual Basic Projects

2.Visual C++ Projects

3.Visual C# Projects

4.All of the above

Posted Date:-2022-06-11 13:24:14


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

1.Lbound()

2. LRbound()

3.Lowbound()

4.None of These

Posted Date:-2022-06-11 07:09:48


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

1.Date

2.Ulong

3.Numeric

4.String

Posted Date:-2022-06-11 06:13:41


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

1.selecting the object and event from the code editor window’s drop-down boxes.

2.typing the code in the code editor window.

3. by double clicking the control.

4. All of the above

Posted Date:-2022-06-11 13:53:23


Question:
A GUI

1.uses buttons, menus, and icons

2.should be easy for a user to manipulate

3.both (a) and (b)

4.stands for Graphic Use Interaction

Posted Date:-2022-06-11 13:18:27


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

1.Properties Window

2.Solution Explorer

3. Windows Form Designer

4.Project Window

Posted Date:-2022-06-11 13:58:28


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

1.MSGridLine

2.MSLineGrid

3.MSGridFlex

4.MSFlexGrid

Posted Date:-2022-06-11 07:05:31


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

1.global

2.local

3.external

4.None of the above

Posted Date:-2022-06-11 07:01:54


Question:
An object datatype can store _______ bytes.

1. 1 byte

2.2 byte

3.4 byte

4.8 byte

Posted Date:-2022-06-11 13:01:56


Question:
An object is composed of:

1.properties

2.events

3.methods

4.All of the above

Posted Date:-2022-06-11 13:36:36


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

1.Putting a control on the form

2.Running the program

3.Activating the property window for a control

4.All of the above

Posted Date:-2022-06-11 13:28:31


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

1.form

2.window

3.screen

4.None of These

Posted Date:-2022-06-11 07:20:33


Question:
Frame Control acts as a __________

1.Event

2.Method

3.Class

4.Container

Posted Date:-2022-06-11 07:19:07


Question:
In event-driven programming an event is generated by:

1.the system

2. a user’s action

3. the program itself

4. All of the above

Posted Date:-2022-06-11 13:54:03


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

1.frm

2..vbp

3..cls

4..vb

Posted Date:-2022-06-11 06:25:53


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

1. Class Library .

2.Solution Explorer

3.Properties Window

4.Windows Form Designer

Posted Date:-2022-06-11 13:56:35


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

1.Interpreter

2.Compiler

3.Translator

4.Language

Posted Date:-2022-06-11 13:57:25


Question:
JIT stands for

1.Just In Type

2. Just In Time

3.Just In Thread

4. Just In Text

Posted Date:-2022-06-11 14:01:20


Question:
MDI stands for _________

1.Multiple Document Interface.

2.Multiple Design Interface.

3.Manipulated Document Interface.

4.Menu Design Interface.

Posted Date:-2022-06-11 07:04:10


Question:
The .Net class library:

1.uses namespaces to manage all of the classes.

2. contains over 25,000 classes

3. both (a) and (b)

4.has the System.Form namespace for classes used in Windows-based application.

Posted Date:-2022-06-11 13:48:52


Question:
The Button control can be activated:

1. by clicking the button with the mouse.

2.programmatically through the click event.

3. both (a) and (b)

4.with the form’s DefaultButton property.

Posted Date:-2022-06-11 13:51:04


Question:
The CancelButton property belongs to which object?

1.Form

2.Button

3.Label

4.TextBox

Posted Date:-2022-06-11 13:52:10


Question:
The default datatype for VB is ___________

1.Integer

2.Decimal

3.Variant

4.String

Posted Date:-2022-06-11 07:08:48


Question:
The default property for a text box control is __________

1.Text

2.Enable

3.Multiline

4.Password char

Posted Date:-2022-06-11 06:30:07


Question:
The function procedures are ___________ by default.

1.public

2.private

3.protected

4.None of the above

Posted Date:-2022-06-11 06:12:49


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

1.Assembly language

2.Machine language

3.High level programming language

4. Object oriented programming language

Posted Date:-2022-06-11 13:55:12


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

1.Load

2.Show

3.Display

4.All of these

Posted Date:-2022-06-11 06:51:18


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

1.Numeric

2.String

3.Constant

4.None of the above

Posted Date:-2022-06-11 06:10:44


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

1.Main

2.Child

3.Parent

4.Root

Posted Date:-2022-06-11 06:57:41


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

1.Main

2.Child

3.Parent

4.Root

Posted Date:-2022-06-11 06:56:18


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

1.label

2. text box

3.Combo box

4. command button

Posted Date:-2022-06-11 07:22:53


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

1.Chr.

2.Str.

3.Char

4.None of these

Posted Date:-2022-06-11 13:04:38


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

1.Break

2.Exit

3.Exit for

4.Exit Do

Posted Date:-2022-06-11 07:10:43


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

1.caption

2. window resize

3.window status

4.none of these

Posted Date:-2022-06-11 13:05:33


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

1.debug

2.design

3.execution

4.All of the above

Posted Date:-2022-06-11 06:15:03


Question:
VB.Net supports

1.Structured error handling

2. Unstructured error handling

3. Both

4.None

Posted Date:-2022-06-11 14:00:27


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

1.Real time

2.Graphical User Interface

3. Character User Interface

4.None Of These

Posted Date:-2022-06-11 06:06:44


Question:
Visual Studio .NET provides which feature:

1.debugging

2.application deployment

3.syntax checking

4.All of the above

Posted Date:-2022-06-11 13:19:54


Question:
What does IDE stand for?

1.Integrated Design Environment

2.Integrated Development Environment

3.Interior Design Environment

4.Interior Development Environment

Posted Date:-2022-06-11 13:21:01


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

1.bto and cbo

2.bto and chb

3.btn and cbo

4.btn and chb

Posted Date:-2022-06-11 13:31:21


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

1.txb and lbl

2.txb and lab

3.tex and lbl

4.tex and lab

Posted Date:-2022-06-11 13:32:33


Question:
Which does the solution explorer not display?

1.Form Properties

2.Reference Folder

3.Form File

4.Assemble File

Posted Date:-2022-06-11 13:26:28


Question:
Which is an example of Visual Basic Objects?

1.ASP.NET

2.ADO.NET

3.Control objects

4.All of the above

Posted Date:-2022-06-11 13:39:49


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

1.Detailed key strokes and commands

2.WYSIWYG formatting

3.Dialog boxes

4.Online help

Posted Date:-2022-06-11 13:35:46


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

1.start menu

2.Tool box

3.designer window

4.Solution Explorer

Posted Date:-2022-06-11 13:25:24


Question:
Which is not a property of the Common control class?

1. Show

2.Font

3.BackColor

4. ForeColor

Posted Date:-2022-06-11 13:11:37


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

1.They are pre-built.

2.They are graphical objects.

3.Buttons can be created with the drag and drop method.

4.New versions of the classes must be created with each project.

Posted Date:-2022-06-11 13:38:39


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

1.VB 6

2.VB.NET

3.JAVA

4.C++

Posted Date:-2022-06-11 13:16:43


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

1.Visible

2.Enabled

3.Show

4.Hide

Posted Date:-2022-06-11 13:49:47


Question:
Which statement about objects is true?

1.One class is used to create one object.

2. One object is used to create one class.

3. One class can create many objects.

4.One object can create many classes.

Posted Date:-2022-06-11 13:37:33


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

1.@

2. &

3.$

4. #

Posted Date:-2022-06-11 13:12:45


Question:
______ array size can be changed at run-time.

1.Fixed

2.Preserve

3.Dynamic array

4.Multidimensional

Posted Date:-2022-06-11 06:55:25


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

1.Clock

2.Frame

3.Timer

4.Digital

Posted Date:-2022-06-11 07:02:49


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

1.Tree view

2.Grid view

3.Progress bar

4.None of these

Posted Date:-2022-06-11 13:10:49


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

1.DateDiff( )

2.DateIn( )

3.DateFix( )

4.DiDate( )

Posted Date:-2022-06-11 06:54:38


Question:
________ indicates whether a particular condition is on or off.

1.Text box

2.Check box

3.List box

4. Combo box

Posted Date:-2022-06-11 07:16:23


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

1.While loop

2. Do Until loop

3.Do while loop

4.For each loop

Posted Date:-2022-06-11 06:59:56


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

1.Clr

2.Cls

3.RemoveItem

4.Clear

Posted Date:-2022-06-11 13:03:34


Question:
________ method removes a dialog box from view.

1.Enabled

2.Disable

3.Hide

4.Display

Posted Date:-2022-06-11 07:21:27


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

1.File list box

2.Drive list box

3.Directory list box

4.All of the above

Posted Date:-2022-06-11 13:09:00


Question:
_________ is the process of finding and removing errors.

1.Checking

2.Compiling

3.Debugging

4.Quick watch

Posted Date:-2022-06-11 06:58:49


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

1.Form layout window

2.Code editor window

3.Object browser

4.None of the above

Posted Date:-2022-06-11 06:07:59


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

1.Form layout window

2.Code editor window

3.Object browser

4.None of these

Posted Date:-2022-06-11 06:27:18


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

1.Setfocus

2.Gotfocus

3.Lostfocus

4.None of the above

Posted Date:-2022-06-11 13:15:24


Question:
__________ cannot be declared in a form or class module.

1.Static constants

2.Private constants

3.Public constants

4.None of these

Posted Date:-2022-06-11 07:06:58


Question:
__________ do not return a value.

1.Sub procedure

2.Function procedure

3.Property procedures

4.All of these

Posted Date:-2022-06-11 07:07:49


Question:
__________ event occurs when a form loaded into the memory.

1.Load

2.Activate

3.Initialize

4.None of the above

Posted Date:-2022-06-11 13:14:01


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

1.Rtrim

2.Ltrim

3.Trim

4.All of the above

Posted Date:-2022-06-11 06:09:41


Question:
__________ is a collection of files.

1.Class

2.Group

3.Project

4.All of the above

Posted Date:-2022-06-11 06:31:14


Question:
__________ is a collection of files.

1.Class

2.Group

3.Project

4.All of the above

Posted Date:-2022-06-11 06:36:39


Question:
__________ statement enables us to trap runtime error.

1.Error

2.On Error

3.On runtime Error

4.All of the these

Posted Date:-2022-06-11 07:18:17


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

1.FileListBox

2. DirListBox

3.DriveListBox

4.All of the above

Posted Date:-2022-06-11 07:12:19


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

1.Setfocus

2.Lostfocus

3.Gotfocus

4.None of these

Posted Date:-2022-06-11 06:11:42


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

1.Name

2.Caption

3.Hidden

4. Password char

Posted Date:-2022-06-11 13:06:33


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

1.Input

2.Gettext

3.Addtext

4.Settext

Posted Date:-2022-06-11 13:07:31


More MCQS

  1. VB.Net Mcq Question Set 1
  2. VB.Net Mcq Question Set 2
  3. VB.Net Mcq Question Set 3
  4. VB.Net Mcq Question Set 4
  5. VB.Net Mcq Question Set 5
  6. VB.Net Mcq Question Set 6
  7. VB.Net Mcq Question Set 7
  8. VB.Net Mcq Question Set 8
  9. VB.Net Mcq Question Set 9
  10. VB.Net Mcq Question Set 10
  11. VB.Net Mcq Question Set 11
  12. VB NET MCQ SET 1
  13. VB NET MCQ SET 2
  14. VB NET MCQ SET 3
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!