VB.Net/VB.Net Mcq Question Set 11 Sample Test,Sample questions

Question:
 A ________ web page is not interactive and is used to display information only.

1.Dynamic

2.Static

3. Server

4.Client-server model

Posted Date:-2022-02-06 12:21:53


Question:
 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

Posted Date:-2022-02-06 12:20:04


Question:
 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

Posted Date:-2022-02-06 12:33:05


Question:
 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

Posted Date:-2022-02-06 12:19:06


Question:
 The default property for a text box control is

1.Text

2. Enable

3.Multiline

4. Password char

Posted Date:-2022-02-06 12:29:59


Question:
 The first webpage added to an application is the _______ page.

1.Default.aspx

2.Home.aspx

3. Index.aspx

4.Start.aspx

Posted Date:-2022-02-06 12:24:00


Question:
 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

Posted Date:-2022-02-06 12:30:23


Question:
A button’s _______ event is used to run code.

1.OnClick

2.onclick

3.Click

4.click

Posted Date:-2022-02-06 12:26:07


Question:
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

Posted Date:-2022-02-06 12:31:18


Question:
A _____ performs invisible tasks even if you write no code

1.Destructor

2.private method

3.constructor

4.Functional testing

Posted Date:-2022-02-06 12:30:51


Question:
A ______ Web page contains controls with which the user can interact.

1. Static

2.Dynamic

3.Server

4.Client-server model

Posted Date:-2022-02-06 12:25:46


Question:
A _______ computer requests web pages from the server.

1.Server

2.Host

3. Client

4.Router

Posted Date:-2022-02-06 12:21:30


Question:
A ________ is a special computer that serves webpages.

1.Server

2.Host

3. Client

4.Router

Posted Date:-2022-02-06 12:20:47


Question:
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

Posted Date:-2022-02-06 12:22:58


Question:
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.

Posted Date:-2022-02-06 12:36:45


Question:
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

Posted Date:-2022-02-06 12:29:18


Question:
In visual basic the declaration of variables is done by _____ key word.

1.int

2.dim

3.static

4.declare

Posted Date:-2022-02-06 12:39:58


Question:
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

Posted Date:-2022-02-06 12:19:37


Question:
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

Posted Date:-2022-02-06 12:17:03


Question:
Text that cannot be changed by the user is termed as _____ text.

1. Constant

2.Dynamic

3.Static

4. Hardcoded

Posted Date:-2022-02-06 12:23:29


Question:
The background color of a Web page is determined by the ______ property.

1. BackColor

2. BackgroundColor

3.BgColor

4.BColor

Posted Date:-2022-02-06 12:25:13


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

1.Text

2.Password char

3.Multiline

4.Enable

Posted Date:-2022-02-06 12:39:00


Question:
The _____ enable us to pass data between a program and a class.

1.Functions

2.Properties

3.Procedures

4.Variables

Posted Date:-2022-02-06 12:33:30


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

1.. command button

2.text box

3.label

4.combo box

Posted Date:-2022-02-06 12:39:31


Question:
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

Posted Date:-2022-02-06 12:26:31


Question:
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

Posted Date:-2022-02-06 12:26:55


Question:
The ______ validator is used to verify that a control contains data.

1.CompareValidator

2.RangeValidator

3.RequiredFieldValidator

4.ValidationSummary

Posted Date:-2022-02-06 12:28:06


Question:
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

Posted Date:-2022-02-06 12:27:19


Question:
The ______ validator is used to verify that an entry matches a specific pattern.

1.CompareValidator

2.RegularExpressionValidator

3.RequiredFieldValidator

4.ValidationSummary

Posted Date:-2022-02-06 12:27:43


Question:
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

Posted Date:-2022-02-06 12:28:30


Question:
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

Posted Date:-2022-02-06 12:18:37


Question:
The ________ keyword indicates that the property’s value can be retrieved (read) by an application.

1.Access

2.Get

3.Read

4. ReadOnly

Posted Date:-2022-02-06 12:18:14


Question:
To make text appear around image ______ section is used.

1.Wrapping style

2. Text style

3. Image properties

4. Align

Posted Date:-2022-02-06 12:28:54


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-02-06 12:36:13


Question:
Visual Studio .NET provides which feature:

1. debugging

2.application deployment

3.syntax checking

4.All of the above

Posted Date:-2022-02-06 12:31:45


Question:
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

Posted Date:-2022-02-06 12:33:53


Question:
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

Posted Date:-2022-02-06 12:32:42


Question:
You create a Public property using a _______ procedure.

1. SetProp

2.Property

3.Access

4.SetAccess

Posted Date:-2022-02-06 12:17:49


Question:
___ 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

Posted Date:-2022-02-06 12:32:15


Question:
___ property sets the border of an image.

1.BorderProperty

2.Border

3. Surround

4.Line termination character

Posted Date:-2022-02-06 12:24:25


Question:
____ can be used instead of a Structure statement.

1.Class

2. Struct

3.StructDef

4. Sdef

Posted Date:-2022-02-06 12:16:36


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

1.Ltrim

2.Rtrim

3.Trim

4.All of the above

Posted Date:-2022-02-06 12:38:09


Question:
____ method removes a dialog box from view.

1.Display

2.Disable

3.Hide

4.Enabled

Posted Date:-2022-02-06 12:37:11


Question:
____ variables of a class are not visible to applications that use the instance of that class.

1.Public

2. Private

3.Default

4.Static

Posted Date:-2022-02-06 12:17:28


Question:
_____ initializes a new instance of Line class.

1.BorderProperty

2. Border

3.Surround

4.Line()

Posted Date:-2022-02-06 12:24:48


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

1.Setfocus

2.Gotfocus

3.Lostfocus

4.None of these

Posted Date:-2022-02-06 12:38:36


Question:
______ cannot be declared in a form or class module 

1.Public constants

2.Private constants

3.Static constants

4.None of these

Posted Date:-2022-02-06 12:37:37


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!