Home / CSE MCQs / VB.Net ::

CSE MCQs :: VB.Net

  1. The default property for a text box control is
  2. A.
    Text
    B.
    Enable
    C.
    Multiline
    D.
    Password char

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. 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?
  4. A.
    ByRef
    B.
    ByVal
    C.
    Default
    D.
    Friend

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. A ___________ performs invisible tasks even if you write no code
  6. A.
    Destructor
    B.
    private method
    C.
    constructor
    D.
    function

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. A GUI
  8. A.
    uses buttons, menus, and icons
    B.
    should be easy for a user to manipulate
    C.
    stands for Graphic Use Interaction
    D.
    Both a and b

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Visual Studio .NET provides which feature:
  10. A.
    debugging
    B.
    application deployment
    C.
    syntax checking
    D.
    All of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. _____ allow custom items of information about a program element to be stored with an assembly's metadata.
  12. A.
    Properties
    B.
    Attributes
    C.
    Methods
    D.
    Classes

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Which of the following is not correct about the value types and reference types in VB.NET?
  14. A.
    Dim statement is used to create a variable that represents a value type
    B.
    Data associated with a value type is allocated on the stack
    C.
    Reference types must be instantiated after declaration
    D.
    Data associated with a reference type is allocated on the stack

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Microsoft Windows uses a GUI environment. GUI (pronounced "gooey") stands for _______
  16. A.
    Geographical User Interchange
    B.
    Graphical User Interface
    C.
    Geometrical Upper Intelligence
    D.
    Grammatical User Incorporation

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. The _________________ enable us to pass data between a program and a class.
  18. A.
    Functions
    B.
    Properties
    C.
    Procedures
    D.
    Variables

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Which is true about the name and text property of a control?
  20. A.
    They are the same when the control is first created
    B.
    The text property changes to match any changes in the name property
    C.
    The name property changes to match any changes in the text property
    D.
    They are never the same unless the programmer makes it that way

    View Answer

    Workspace

    Discuss Discuss in Forum