A ________ web page is not interactive and is used to display information only.
1.Dynamic
2.Static
3. Server
4.Client-server model
Is there an error in the below code? Private _dblBonus As Double Public ReadOnly Property Bonus As Double Set(ByVal value As Decimal) _dblBonus = value End Set End Property
1.No error
2.Runtime Error
3.Compilation Error
4.Syntax error
Microsoft Windows uses a GUI environment. GUI (pronounced "gooey") stands for ____
1.Geographical User Interchange
2.Graphical User Interface
3.Geometrical Upper Intelligence
4.Grammatical User Incorporation
The code contained in the ______ allows an application to retrieve the contents of the Private variable associated with the property.
1.Set Block
2.Retrieve
3.Get Block
4.Getter Block
The default property for a text box control is
1.Text
2. Enable
3.Multiline
4. Password char
The first webpage added to an application is the _______ page.
1.Default.aspx
2.Home.aspx
3. Index.aspx
4.Start.aspx
Which of the following accesss modifier specifies that one or more declared programming elements are accessible from within the assembly that contains their declaration, not only by the component that declares them?
1.ByRef
2.ByVal
3.Default
4.Friend
A button’s _______ event is used to run code.
1.OnClick
2.onclick
3.Click
4.click
A GUI
1. uses buttons, menus, and icons
2.should be easy for a user to manipulate
3.stands for Graphic Use Interaction
4. Both A and B
A _____ performs invisible tasks even if you write no code
1.Destructor
2.private method
3.constructor
4.Functional testing
A ______ Web page contains controls with which the user can interact.
1. Static
2.Dynamic
3.Server
4.Client-server model
A _______ computer requests web pages from the server.
1.Server
2.Host
3. Client
4.Router
A ________ is a special computer that serves webpages.
1.Server
2.Host
3. Client
4.Router
ASP is a ________ language that tells the client’s browser how to render the page on the computer screen.
1.Markup
2. Programming
3.Structured Query
4.Data storage
Form_Mouse Down ( ) procedure is executed when any mouse button is clicked in a free area of the ______.
1.window
2.form
3.screen
4.None of the above.
If you want text to appear to the left of the selected image control on a Web form, you would need to click which button in thePosition dialog box?
1. Align
2.AlignLeft
3.Left
4.right
In visual basic the declaration of variables is done by _____ key word.
1.int
2.dim
3.static
4.declare
Is there an error in the below code? Private _intSide As Integer Public Property Side As Integer _intSide=_intSide+2 End Property
1.No error
2.Runtime Error
3.Syntax error
4. Compilation Error
It is disadvantageous to use public variables in classes because ____
1. Its values cannot be initialized
2. It results in compilation error
3.It cannot be accessed by other variables
4. It cannot control its values
Text that cannot be changed by the user is termed as _____ text.
1. Constant
2.Dynamic
3.Static
4. Hardcoded
The background color of a Web page is determined by the ______ property.
1. BackColor
2. BackgroundColor
3.BgColor
4.BColor
The default property for a text box control is _____
1.Text
2.Password char
3.Multiline
4.Enable
The _____ enable us to pass data between a program and a class.
1.Functions
2.Properties
3.Procedures
4.Variables
The ______ is a tool used for both the Input and output purpose
1.. command button
2.text box
3.label
4.combo box
The ______ validator is used to compare an entry with a constant value or the property stored in a control.
1.CompareValidator
2.RangeValidator
3.RequiredFieldValidator
4. ValidationSummary
The ______ validator is used to display all of the validation error messages in a single location on aWeb page.
1.CompareValidator
2.RangeValidator
3.RequiredFieldValidator
4.ValidationSummary
The ______ validator is used to verify that a control contains data.
1.CompareValidator
2.RangeValidator
3.RequiredFieldValidator
4.ValidationSummary
The ______ validator is used to verify that an entry is within the specified minimum and maximum values.
1.CompareValidator
2. RangeValidator
3.RequiredFieldValidator
4.ValidationSummary
The ______ validator is used to verify that an entry matches a specific pattern.
1.CompareValidator
2.RegularExpressionValidator
3.RequiredFieldValidator
4.ValidationSummary
The ______ validator is used to verify that control contains data verify that an entry passes the specified validation logic.
1.CompareValidator
2.RangeValidator
3.CustomValidator
4.ValidationSummary
The ________ keyword indicates that an application can set the property’s value, but it cannot retrieve the value.
1.Receive
2.Write
3.WriteOnly
4. ReceiveOnly
The ________ keyword indicates that the property’s value can be retrieved (read) by an application.
1.Access
2.Get
3.Read
4. ReadOnly
To make text appear around image ______ section is used.
1.Wrapping style
2. Text style
3. Image properties
4. Align
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
Which is true about the name and text property of a control?
1.They are the same when the control is first created
2.The text property changes to match any changes in the name property
3.The name property changes to match any changes in the text property
4.They are never the same unless the programmer makes it that way
Which of the following is not correct about the value types and reference types in VB.NET?
1.Dim statement is used to create a variable that represents a value type
2.Data associated with a value type is allocated on the stack
3.Reference types must be instantiated after declaration
4.Data associated with a reference type is allocated on the stack
You create a Public property using a _______ procedure.
1. SetProp
2.Property
3.Access
4.SetAccess
___ allow custom items of information about a program element to be stored with an assembly's metadata.
1.Properties
2.Attributes
3.Methods
4.Classes
___ property sets the border of an image.
1.BorderProperty
2.Border
3. Surround
4.Line termination character
____ can be used instead of a Structure statement.
1.Class
2. Struct
3.StructDef
4. Sdef
____ function is used to return a copy of a string without leading spaces.
1.Ltrim
2.Rtrim
3.Trim
4.All of the above
____ method removes a dialog box from view.
1.Display
2.Disable
3.Hide
4.Enabled
____ variables of a class are not visible to applications that use the instance of that class.
1.Public
2. Private
3.Default
4.Static
_____ initializes a new instance of Line class.
1.BorderProperty
2. Border
3.Surround
4.Line()
_____ is a method which moves the focus to the specified control or form
1.Setfocus
2.Gotfocus
3.Lostfocus
4.None of these
______ cannot be declared in a form or class module
1.Public constants
2.Private constants
3.Static constants
4.None of these