Home / CSE MCQs / VBscript ::

CSE MCQs :: VBscript

  1. How will you trim the leading as well as trailing spaces of a string using VBScript?
  2. A.
    Using Trim function
    B.
    Using Len function
    C.
    Using Replace function
    D.
    Using Space function

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Where to Put the VBScript code
  4. A.
    Head section
    B.
    Body Section
    C.
    Both body and head section
    D.
    None of these

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. What does the Option Explicit directive do?
  6. A.
    It forces you to declare all of your variables
    B.
    It forces you to call the method
    C.
    It forces you to declare all of your static variables
    D.
    It forces you to declare all of your global variables

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which VBScript function converts an input string to all lowercase?
  8. A.
    LCase
    B.
    LowerCase
    C.
    Lower
    D.
    There is no such function to directly convert to lowercase

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Extension of ActiveX designers
  10. A.
    .dsr
    B.
    .axd
    C.
    .adx
    D.
    None

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. VBScript was launched in
  12. A.
    1995
    B.
    1996
    C.
    1994
    D.
    1997

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. VBScript is developed by
  14. A.
    Netscape
    B.
    Opera
    C.
    Sun
    D.
    Microsoft

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which browser has built-in support for executing VBScript?
  16. A.
    Internet Explorer
    B.
    Mozilla Firefox
    C.
    Opera
    D.
    None of these

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. In the Select Case statement, which case is used for unknown cases?
  18. A.
    Else
    B.
    Default
    C.
    Unknown
    D.
    Not

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. How to take request using get bmethod?
  20. A.
    Using Request.form
    B.
    Using Response.write
    C.
    Using Request.Querystring
    D.
    Using Request.Servarvariables

    View Answer

    Workspace

    Discuss Discuss in Forum