.Net Proficiency Test For Johnnuman Technologies

30 Questions | Total Attempts: 97

SettingsSettingsSettings
Please wait...
Technology Quizzes & Trivia

Questions and Answers
  • 1. 
    The .NET Framework provides a runtime environment called ?
    • A. 

      RMT

    • B. 

      CLR

    • C. 

      RCT

    • D. 

      RC

  • 2. 
    In ASP.NET in form page the object which contains the user name is ?
    • A. 

      Page.User.Identity

    • B. 

      Page.User.IsInRole

    • C. 

      Page.User.Name

    • D. 

      None of the Above

  • 3. 
    In an ASPX page lifecycle, Which event is triggered first?
    • A. 

      PageLoad

    • B. 

      PageInit

    • C. 

      PagePreInit

    • D. 

      PageCreate

  • 4. 
    What is the Use of Global.asax
    • A. 

      Program Application & Session level events

    • B. 

      Get notified when a global variable is changed

    • C. 

      Set global layout of a web application

    • D. 

      Configure settings which globally affect the server performance

  • 5. 
    How do you manage states? 
    • A. 

      Viewstate

    • B. 

      Session Object

    • C. 

      Application Object

    • D. 

      Out of process StateServer

  • 6. 
    Where is default session data is stored?
    • A. 

      In Process

    • B. 

      State Server

    • C. 

      Session Object

    • D. 

      None

  • 7. 
    What method is used to ensure that only one process accesses a variable at a time?
    • A. 

      Block()

    • B. 

      Snchrozine & Block

    • C. 

      Lock() & Unlock()

    • D. 

      AsncAccess()

  • 8. 
    The .NET framework provides automatic memory management using a technique called ?
    • A. 

      Serialization

    • B. 

      Garbage Collection

    • C. 

      Assemblies

    • D. 

      Overriding

  • 9. 
    What is the base class from which all Web forms inherit?
    • A. 

      Master Page

    • B. 

      Page Class

    • C. 

      Session Class

    • D. 

      Base Page Class

  • 10. 
    Which of the following must be done in order to connect data from some data resource to Repeater control?
    • A. 

      Set the DataSource property

    • B. 

      Call the DataBind method

    • C. 

      Configure database to allow repeater access

    • D. 

      Ask DB admin to configure a special named pipe for it

  • 11. 
    JQuery is?
    • A. 

      A special .Net class to identify and query java based applications

    • B. 

      A javascript to connect and fetch data from database server on client-side

    • C. 

      A collection of scripts used to enhance End-User clientside experience.

    • D. 

      A java runtime based query execution client.

  • 12. 
    The type of code found in Code-Behind class is ?
    • A. 

      Server-side

    • B. 

      Client-side

    • C. 

      All of above

    • D. 

      None of above

  • 13. 
    The actual work process of ASP.NET is taken care by ?
    • A. 

      Inetinfo.exe

    • B. 

      Aspnet_isapi.dll

    • C. 

      Aspnet_wp.exe

    • D. 

      None of the Above

  • 14. 
    How many classes can a single .NET DLL contain?
    • A. 

      1

    • B. 

      3

    • C. 

      7

    • D. 

      Unlimited

  • 15. 
    Which of the following can be used to add alternating color scheme in a Repeater control?
    • A. 

      Datasource's validate row event

    • B. 

      Use of ColorValidator Control

    • C. 

      AlternatingItemTemplate

    • D. 

      Use of CSS 3 Custom configuration tags

  • 16. 
    Suppose a .NET programmer wants to convert an object into a stream of bytes then the process is called ?
    • A. 

      Threading

    • B. 

      Serialization

    • C. 

      RCW

    • D. 

      AppDomain

  • 17. 
    The namespace used to program around ActiveDirectory services is called ?
    • A. 

      System.Active.Directory

    • B. 

      System.Net

    • C. 

      System.Microsoft.ActiveDirectory

    • D. 

      System.DirectoryServices

  • 18. 
    Which of the following is TRUE about Windows Authentication in ASP.NET?
    • A. 

      Automatically determines role membership

    • B. 

      Role membership determined only by user programming

    • C. 

      ASP.NET does not support Windows Authentication

    • D. 

      None of the Above

  • 19. 
    What tags one need to add within the asp:datagrid tags to bind columns manually?
    • A. 

      Set AutoGenerateColumns Property to false on the datagrid tag

    • B. 

      Set AutoGenerateColumns Property to true on the datagrid tag

    • C. 

      It is not possible to do the operation

    • D. 

      Set SetMaunalColumns Property to true on the datagrid tag

  • 20. 
    How do you explicitly kill a user session?
    • A. 

      Session.Dump

    • B. 

      Session.Abandon

    • C. 

      Session.Exit

    • D. 

      Session.Kill

  • 21. 
    You create 4 forms FormA, FormB, FormC and FormD. You want to allow users to open FormA, FormB and FormC at the same time within FormD. Which properties do you need to set?
    • A. 

      IsMdiChild on Forms A,B and C; and IsMdiParent on FormD.

    • B. 

      MdiParent on Forms A,B and C; and IsMdiContainer on FormD.

    • C. 

      IsMdiChild on Forms A,B and C; and IsMdiContainer on FormD.

    • D. 

      MdiParent on Forms A,B and C; and IsMdiParent on FormD.

  • 22. 
    You should constrain user input to data you know is safe by:
    • A. 

      Setting max length on ASP.NET and HTML input controls

    • B. 

      Using ASP.NET validation controls (RequiredFieldValidation, CompareValidator, RangeValidator, RegularExpressionValidator, CustomValidator) to constrain user input via ASP.NET input controls as much as possible.

    • C. 

      Constraining user input to a white list (list of acceptable characters)

    • D. 

      Constraining user input to a black list (list of all un acceptable characters)

  • 23. 
    Which security process allows a website to confirm you are who you say you are?
    • A. 

      Authorization

    • B. 

      Identity

    • C. 

      Authentication

    • D. 

      Validation

  • 24. 
    If the value of passwordFormat is set to _______, users cannot retrieve their original passwords
    • A. 

      Encrypted

    • B. 

      Clear

    • C. 

      Cryptograph

    • D. 

      Hashed

  • 25. 
    In a production environment, you should NOT leave debug = ?
    • A. 

      True

    • B. 

      False

    • C. 

      Enable

    • D. 

      Disable

Back to Top Back to top