Moses on DotNetSlackers

.Net Gorean Lifestyler

This site

News

@ Cambridge, UK

Blogs

Sponsors

  • MaximumASP
  • Packet Sniffer
    Home Loans
  • optimum rewards
  • Featured ASP.NET Web Hosting
    3 MONTHS FREE & FREE SETUP on ASP.NET 3.5/2.0 Web Hosting! Windows 2008 & 2003 Servers Available, MS SQL 2008/2005, .NET 3.5 SP1, Entity Framework, LINQ, Silverlight 2.0, 30 Day Money Back Guarantee – Click Here!

.Net Interview Questions [Part 2]

  1. Suppose that you create a class named Employee with its strongly typed collection named EmployeeCollection.
    You need to enable your EmployeeCollection to support sorting of your Employee objects! what should you do?
  2.  You are creating the first version of an application to manage rich text documents. The application must meet the following design requirements:

     You are creating the first version of an application to manage rich text documents. The application must meet the following design requirements:

    • Support the file system and a Microsoft SQL Server database as data store.
    • Ensure the following for future versions:
      • Add support for additional data stores, including network storage.
      • Acquire the ability to interface with third-party-distributed authoring and versioning tools.
    • Bring additional storage options online without having to redeploy the entire application.

    You need to identify an appropriate approach to meet these requirements. Which approach should you choose?

    • A. Create a single Document component to represent the rich text content of a document and include methods on the component to persist and retrieve rich text for each type of data store.
    • B. Create a single Document component to represent the rich text content of a document and an enumeration to represent each available data store. Include a parameter of the enumerated type in methods interfacing with a data store.
    • C. Create a single Document component to represent the rich text content of a document and an enumeration to represent each available data store. Include a property on the Document component to permit the selection of a data store.
    • D.Create a Document component to represent the rich text content of a document. Create a DocumentRepository component to manage the various data store.

Comments

No Comments

The leading UI suite for ASP.NET - Telerik radControls
Outstanding performance. Full ASP.NET AJAX support. Nearly codeless development.