Extension of ActiveX designers ____________
1. .dsr
2. .axd
3..adx
4.None of These
In Visual Basic, a variable name cannot be more than __________ characters.
1.255
2.300
3.355
4.400
The ________ object is a stored query definition, which is a precompiled SQL statement.
1.QueryFed
2.QueryDif
3.QueryFix
4.QueryDef
VB.Net is
1. Platform Independent
2. Compiler Language
3.Forward compatibale
4. Backward compatible
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
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
_________ is a built in function to return lower bound of an array.
1.Lbound()
2. LRbound()
3.Lowbound()
4.None of These
__________ 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
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
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
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
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
A __________ variable is one that is declared inside a procedure.
1.global
2.local
3.external
4.None of the above
An object datatype can store _______ bytes.
1. 1 byte
2.2 byte
3.4 byte
4.8 byte
An object is composed of:
1.properties
2.events
3.methods
4.All of the above
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
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
Frame Control acts as a __________
1.Event
2.Method
3.Class
4.Container
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
In visual basic ______ is the extension to represent project file.
1.frm
2..vbp
3..cls
4..vb
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
It translates all high level instructions into machine code first before running the program.
1.Interpreter
2.Compiler
3.Translator
4.Language
JIT stands for
1.Just In Type
2. Just In Time
3.Just In Thread
4. Just In Text
MDI stands for _________
1.Multiple Document Interface.
2.Multiple Design Interface.
3.Manipulated Document Interface.
4.Menu Design Interface.
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.
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.
The CancelButton property belongs to which object?
1.Form
2.Button
3.Label
4.TextBox
The default datatype for VB is ___________
1.Integer
2.Decimal
3.Variant
4.String
The default property for a text box control is __________
1.Text
2.Enable
3.Multiline
4.Password char
The function procedures are ___________ by default.
1.public
2.private
3.protected
4.None of the above
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
The method, which loads the form into memory and displays it on screen
1.Load
2.Show
3.Display
4.All of these
The variables that does not change the value during execution of program is __________
1.Numeric
2.String
3.Constant
4.None of the above
The window in which the individual documents are displayed is called ____________window.
1.Main
2.Child
3.Parent
4.Root
The window in which the individual documents are displayed is called ____________window.
1.Main
2.Child
3.Parent
4.Root
The ______ is a tool used for both the Input and output purpose.
1.label
2. text box
3.Combo box
4. command button
The _______ function returns a string stored in a variant data type.
1.Chr.
2.Str.
3.Char
4.None of these
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
The __________ property is used in VB for maximum form at run time.
1.caption
2. window resize
3.window status
4.none of these
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
VB.Net supports
1.Structured error handling
2. Unstructured error handling
3. Both
4.None
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
Visual Studio .NET provides which feature:
1.debugging
2.application deployment
3.syntax checking
4.All of the above
What does IDE stand for?
1.Integrated Design Environment
2.Integrated Development Environment
3.Interior Design Environment
4.Interior Development Environment
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
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
Which does the solution explorer not display?
1.Form Properties
2.Reference Folder
3.Form File
4.Assemble File
Which is an example of Visual Basic Objects?
1.ASP.NET
2.ADO.NET
3.Control objects
4.All of the above
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
Which is not a main component of the Visual Studio IDE?
1.start menu
2.Tool box
3.designer window
4.Solution Explorer
Which is not a property of the Common control class?
1. Show
2.Font
3.BackColor
4. ForeColor
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.
Which language is not a true object-oriented programming language?
1.VB 6
2.VB.NET
3.JAVA
4.C++
Which property determines whether a control is displayed to the user?
1.Visible
2.Enabled
3.Show
4.Hide
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.
Which symbol creates an access key in the text of a menu item?
1.@
2. &
3.$
4. #
______ array size can be changed at run-time.
1.Fixed
2.Preserve
3.Dynamic array
4.Multidimensional
_______ control executes the timer events at specified intervals of time.
1.Clock
2.Frame
3.Timer
4.Digital
________ control is used to represent the items in a hierarchical manner.
1.Tree view
2.Grid view
3.Progress bar
4.None of these
________ function returns the intervals between two dates in terms of years, months or days.
1.DateDiff( )
2.DateIn( )
3.DateFix( )
4.DiDate( )
________ indicates whether a particular condition is on or off.
1.Text box
2.Check box
3.List box
4. Combo box
________ 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
________ method is used to clear the contents of MSHFlexGrid control.
1.Clr
2.Cls
3.RemoveItem
4.Clear
________ method removes a dialog box from view.
1.Enabled
2.Disable
3.Hide
4.Display
_________ 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
_________ is the process of finding and removing errors.
1.Checking
2.Compiling
3.Debugging
4.Quick watch
_________ 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
_________ 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
_________ method is used to forcibly set the CPU focus to a particular control.
1.Setfocus
2.Gotfocus
3.Lostfocus
4.None of the above
__________ cannot be declared in a form or class module.
1.Static constants
2.Private constants
3.Public constants
4.None of these
__________ do not return a value.
1.Sub procedure
2.Function procedure
3.Property procedures
4.All of these
__________ event occurs when a form loaded into the memory.
1.Load
2.Activate
3.Initialize
4.None of the above
__________ function is used to return a copy of a string without leading spaces.
1.Rtrim
2.Ltrim
3.Trim
4.All of the above
__________ is a collection of files.
1.Class
2.Group
3.Project
4.All of the above
__________ is a collection of files.
1.Class
2.Group
3.Project
4.All of the above
__________ statement enables us to trap runtime error.
1.Error
2.On Error
3.On runtime Error
4.All of the these
___________ displays current directory with any subdirectories and allows the user to change directory.
1.FileListBox
2. DirListBox
3.DriveListBox
4.All of the above
___________ is a method which moves the focus to the specified control or form.
1.Setfocus
2.Lostfocus
3.Gotfocus
4.None of these
___________ is property is used to hide the content in textbox with some symbols.
1.Name
2.Caption
3.Hidden
4. Password char
___________ method is used to retrieve the stored text from the clipboard.
1.Input
2.Gettext
3.Addtext
4.Settext