Vb.net(Engineering > Computer Science And Engineering ) Questions and Answers
Question 1. The default property for a text box control is
Text
Enable
Multiline
Password char
Explanation:-
Answer: Option A. -> Text
Question 2. Visual Studio .NET provides which feature:
debugging
application deployment
syntax checking
All of the above
Explanation:-
Answer: Option D. -> All of the above
Question 3. A ___________ performs invisible tasks even if you write no code
Destructor
private method
constructor
function
Explanation:-
Answer: Option C. -> constructor
Question 4. 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?
ByRef
ByVal
Default
Friend
Explanation:-
Answer: Option D. -> Friend
Question 5. A GUI
uses buttons, menus, and icons
should be easy for a user to manipulate
stands for Graphic Use Interaction
Both a and b
Explanation:-
Answer: Option D. -> Both a and b
Question 6. The _________________ enable us to pass data between a program and a class.
Functions
Properties
Procedures
Variables
Explanation:-
Answer: Option B. -> Properties
Question 7. _____ allow custom items of information about a program element to be stored with an assembly's metadata.
Properties
Attributes
Methods
Classes
Explanation:-
Answer: Option B. -> Attributes
Question 8. Microsoft Windows uses a GUI environment. GUI (pronounced "gooey") stands for _______
Geographical User Interchange
Graphical User Interface
Geometrical Upper Intelligence
Grammatical User Incorporation
Explanation:-
Answer: Option B. -> Graphical User Interface
Question 9. Which is true about the name and text property of a control?
They are the same when the control is first created
The text property changes to match any changes in the name property
The name property changes to match any changes in the text property
They are never the same unless the programmer makes it that way
Explanation:-
Answer: Option A. -> They are the same when the control is first created
Question 10. Which of the following is not correct about the value types and reference types in VB.NET?
Dim statement is used to create a variable that represents a value type
Data associated with a value type is allocated on the stack
Reference types must be instantiated after declaration
Data associated with a reference type is allocated on the stack
Explanation:-
Answer: Option B. -> Data associated with a value type is allocated on the stack