Asp .NET WebDev interview questions - Part 1

on 11:02 AM

  1. Which of the following languages is NOT included in the default .NET Framework installation?
    • C#
    • VB.NET
    • JScript.NET
    • VBScript.NET
  2. What are the different types of serialization supported in .NET Framework
    • XmlSerializer
    • SoapFormatter
    • XPathNavigator
    • HttpFormatter
  3. The CLR uses which format for assembly version numbers
    • Major:Minor:Revision:Build
    • Major:Build:Minor:Revision
    • Major:Revision:Minor:Build
    • Major:Minor:Build:Revision

    •  
  4. What tool is used to manage the GAC?
    • GacMgr.exe
    • GacSvr32.exe
    • GacUtil.exe
    • RegSvr.exe
  5. State True or False: A single .NET dll can contain unlimited classes
    • True
    • False
  6. State True or False: ASP.NET can currently run only on Windows Platform
    • True
    • False
  7. Which one of the following best describes “Type-Safe”
    • It ensures that the data type are safely handled
    • It ensures that types are not mismatched when they are called so uses a typecasting before referencing any data object
    • It ensures that an object only references memory locations that it’s allowed to, preventing data corruption and the accidental misuse of object types
    • All of the above
  8. The number of objects in ASP.NET is
    • 6
    • 7
    • 9
    • 10
  9. The code used to turn off buffering is
    • Buffering = false
    • OutputBuffer = false
    • BufferOutput = false
    • Buffer = Off
  10. Can you have two applications on the same machine one which is using .NET Framework 1.1 and the other using 2.0 ?
    • Yes
    • No
    • Depends on System configuration
  11. Which of the following DOT.NET tools manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRLs)?
    • sn.exe
    • certnet.exe
    • certmgr.exe
    • gacutil.exe
  12. You need to generate a public/private key pair for using in creating a shared assembly. Given the above scenario, which .NET SDK utility should be used?
    • certmgr.exe
    • gacutil.exe
    • sn.exe
    • resgen.exe
  13. The object that contains all the properties and methods for every ASP.NET page, that is built is
    • Page Object
    • HTTPPage Object
    • WebPage Object
    • System.Web.UI.Page
  14. In C#, which character is used to indicate a verbatim string literal?
    • @
    • !
    • "
    • #
  15. Which of the following operators has the highest precedence?
    • Pre Increment (++x)
    • Shift bits left: <<
    • Bitwise Or: |
    • Post Increment (x++)
  16. The uniqueId that gets generated at the start of the Session is stored in
    • Client computer as a cookie
    • Server machine
    • Passed to and fro on each and every request and response
    • Both a and b are correct
  17. State True or False: C# supports multiple-inheritance
    • True
    • False
  18. Bitwise AND operator in C# is
    • &
    • &&
    • AND
    • XAND
  19. Bitwise OR operator in C# is
    • OR
    • ||
    • |
    • XOR
  20. What’s the .NET datatype that allows the retrieval of data by a unique key?
    • Primary
    • Integer
    • Unique Identifier
    • HashTable
  21. The keyword ‘int’ maps to one of the following .NET types
    • System.Int16
    • System.Int32
    • System.Int64
    • System.Int128
  22. What can be achieved in IL which is not possible in C# ?
    • Creation of an ArrayList
    • Creation of a Dictionary
    • Creation of a two dimensional array
    • Creation of a non-zero based array
  23. Which of the following is the correct code for setting a Session timeout of 30 minutes
    • Session.Timeout = 108000
    • Session.Timeout = 1800
    • Session.Timeout = 300
    • Session.Timeout = 30
  24. The process that ASP.NET uses to keep track of Sessions without cookies is
    • Cookie Munging
    • Cookie Monking
    • Cookie Mocking
    • Cookie Munching
  25. The method that transfers ASP.NET execution to another page, but returns to the original page when it is done is
    • Server.Transfer()
    • Server.Redirect()
    • Server.Execute()
    • Server.Return()