Programming With Asp.Net

130 Questions | Attempts: 240
Share

SettingsSettingsSettings
Programming Quizzes & Trivia

This is good for you


Questions and Answers
  • 1. 

    The FilePath property retrieves the virtual path of the page requested by ht browser.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 2. 

    The Request object is the in-built  object of HttpRequest method.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 3. 

    The Request Type property specifies or retrieves the HTTP data transfer method, GET or POST, used by the client.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 4. 

    The HttpRequest class is present in the System.Web namespace.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 5. 

    The MapPath method maps the incoming image- field  form parameter to its appropriate coordinates.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 6. 

    Returns a collection of the name-value pairs that represent the elements of a form.

    • A.

      ApplicationPath

    • B.

      FilePath

    • C.

      QueryString

    • D.

      MapImageCoordinates

    • E.

      MapPath

    Correct Answer
    C. QueryString
  • 7. 

    Maps the incoming image-field form parameter to its coordinates.

    • A.

      ApplicationPath

    • B.

      FilePath

    • C.

      QueryString

    • D.

      MapImageCoordinates

    • E.

      MapPath

    Correct Answer
    D. MapImageCoordinates
  • 8. 

    Retrieves the virtual root path  on the server.

    • A.

      ApplicationPath

    • B.

      FilePath

    • C.

      QueryString

    • D.

      MapImageCoordinates

    • E.

      MapPath

    Correct Answer
    A. ApplicationPath
  • 9. 

    Maps the virtual path in the requested URL

    • A.

      ApplicationPath

    • B.

      FilePath

    • C.

      QueryString

    • D.

      MapImageCoordinates

    • E.

      MapPath

    Correct Answer
    E. MapPath
  • 10. 

    Retrieves the virtual path of the page.

    • A.

      ApplicationPath

    • B.

      FilePath

    • C.

      QueryString

    • D.

      MapImageCoordinates

    Correct Answer
    B. FilePath
  • 11. 

    The End property sends all buffered output to the client and terminates the execution of the current response.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 12. 

    The ClearContent method removes all content from the buffer stream

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 13. 

    HttpResponse class is used to control the output of the HTTP request.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 14. 

    A response is the interaction between the browser and the server in which the client response the MIME request sent by the Server.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 15. 

    The cookies property contains a collection of cookies to be transmitted to the client in the request.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 16. 

    The Server object serves as an in-build property of the HttpServerUtility class.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 17. 

    The ScriptTimeout property specifies or retrieves the time in milliseconds in which the request is time out.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 18. 

    The htmlEncode method encodes a String to be display in a browser.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 19. 

    Server object exposes utility methods that can be used to transfer control between pages and decode HTML text.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 20. 

    The UrlEncode method encodes a string for reliable HTTP transform the Web server to a client via the URL

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 21. 

    System.Web.UI.Controls namespace contains classes that allow you to create Web server controls on a Web page.

    • A.

      True

    • B.

      Fasle

    Correct Answer
    B. Fasle
    Explanation
    create Web server controls on an ASP.Net Web page.

    Rate this question:

  • 22. 

    Validate Controls include special - purpose control such as a Calendar,Menu, and TreeView controls.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 23. 

    Web server controls automatically detect the browser capabilities and provide the markup accordingly.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 24. 

    SQLDataSource and ObjectDataSource classes are rendered on the Web page.

    • A.

      True

    • B.

      Fasle

    Correct Answer
    B. Fasle
  • 25. 

    Web server controls support defining a standard appearance for controls throughout the Web site using theme.

    • A.

      True

    • B.

      Fasle

    Correct Answer
    A. True
  • 26. 

    The property which specifies or retrieves the background color of the web server control.

    • A.

      ForceColor

    • B.

      Width

    • C.

      BackColor

    • D.

      ID

    • E.

      Visible

    Correct Answer
    C. BackColor
  • 27. 

    This Specifies the forceground color of the web server control.

    • A.

      ForceColor

    • B.

      Width

    • C.

      ID

    Correct Answer
    A. ForceColor
  • 28. 

    This specifies or retrieves the unique identifier assigned to the web server control.

    • A.

      ForceColor

    • B.

      Width

    • C.

      BackColor

    • D.

      ID

    • E.

      Visible

    Correct Answer
    D. ID
  • 29. 

    This specifies or retrieves a value indicating if the control is displayed on the web page.

    • A.

      ForceColor

    • B.

      Width

    • C.

      ID

    • D.

      Visible

    • E.

      BackColor

    Correct Answer
    D. Visible
  • 30. 

    This retrieves or specifies the width of the web server control.

    • A.

      ForceColor

    • B.

      Width

    • C.

      BackColor

    • D.

      ID

    • E.

      Visible

    Correct Answer
    B. Width
  • 31. 

    This retireves a ControlCollection object representing controls included in the panel.

    • A.

      AssociatedControlID

    • B.

      AccessKey

    • C.

      OnClientClick

    • D.

      ForceColor

    • E.

      Controls

    Correct Answer
    E. Controls
  • 32. 

    Retrieves or specifies ID of  the associated control.

    • A.

      AssociatedControlID

    • B.

      AccessKey

    • C.

      OnClientClick

    • D.

      ForceColor

    • E.

      Control

    Correct Answer
    A. AssociatedControlID
  • 33. 

    Retrieves forceground color of LinkButton Control.

    • A.

      AssociatedControlID

    • B.

      AccessKey

    • C.

      OnClientClick

    • D.

      ForceColor

    • E.

      Control

    Correct Answer
    D. ForceColor
  • 34. 

    Specifies or retrieves short-cut key for quick navigation  of the button.

    • A.

      AssociatedControlID

    • B.

      AccessKey

    • C.

      OnClientClick

    • D.

      ForceColor

    • E.

      Control

    Correct Answer
    B. AccessKey
  • 35. 

    Specifies or retieves the client side script when a click event occur.

    • A.

      AssociatedControlID

    • B.

      AccessKey

    • C.

      OnClickClient

    • D.

      ForceColor

    • E.

      Controls

    Correct Answer
    C. OnClickClient
  • 36. 

    CTextBox control allows accepting input as well as displaying output.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 37. 

    Label control acts as a dynamic output area that is controlled by scripts.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 38. 

    The Image control allows inclusion of clickable image on the web page.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 39. 

    The Submit button allows triggering a PostBack to the web server.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 40. 

    The LinkButton control performs the same task as the Hyperlink control.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 41. 

    RadioButtonList control belongs to System.Web.UI.RadioButton class.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 42. 

    DropDwonList control supports only single selection.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 43. 

    CheckBoxList control allows only single selection.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 44. 

    RadioButton control inherits the properties of the CheckBoxList class.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 45. 

    ListBox control support single as well as multiple selections

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 46. 

    Specifies or retrieves the lowest index number of the items that are selected in the list.

    • A.

      AutoPostBack

    • B.

      SelectionMode

    • C.

      SelectedIndex

    • D.

      SelectedValue

    • E.

      ID

    Correct Answer
    C. SelectedIndex
  • 47. 

    Specifies or retrieves the state of the control and automatically post back to the server.

    • A.

      AutoPostBack

    • B.

      SelectionMode

    • C.

      SelectedIndex

    • D.

      SelectedValue

    • E.

      ID

    Correct Answer
    A. AutoPostBack
  • 48. 

    Specifies or retrieves the program identifier that is assigned to the control.

    • A.

      AutoPostBack

    • B.

      SelectionMode

    • C.

      SelectedIndex

    • D.

      SelectedValue

    • E.

      ID

    Correct Answer
    E. ID
  • 49. 

    Specifies or retrieves the mode of the selection in the control.

    • A.

      AutoPostBack

    • B.

      SelectionMode

    • C.

      SelectedIndex

    • D.

      SelectedValue

    • E.

      ID

    Correct Answer
    B. SelectionMode
  • 50. 

    Retrieves the value of the selected control.

    • A.

      AutoPostBack

    • B.

      SelectionMode

    • C.

      SelectedIndex

    • D.

      SelectedValue

    • E.

      ID

    Correct Answer
    D. SelectedValue

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Jan 04, 2013
    Quiz Edited by
    ProProfs Editorial Team
  • Aug 19, 2009
    Quiz Created by
    Vietha
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.