.NET using C# (Graduate) - Fall 2004
Signin

Assignments

Assignment #6: Due(10/30/2004)

  1. Consume Free Webservices on TerraServerusa.com. Here is a PDF document on how to use itUse this URL for the Webservice http://www.terraserver-usa.com/terraservice2.asmx
  2. Create a webservice that sends a Pie chart as an XML Stream

Here is an example from Kiichi.

Assignment #5: Due(10/23/2004)

  1. Complete the NotePad application that we discussed in the class.
  2. Create a Windows Explorer like application using TreeView and ListView classes.

Assignment #4: Due(10/16/2004)

  1. Create a class AnalogClock that uses events triggered every second to emulate an analog clock.Use the example available in the code section

  2. Create a simple Drawing Application by handling MouseEvents

Assignment #3: Due(10/9/2004)

  1. Modify the PieChart class Code to include the data inside each of the pie's. The output should look like this

  2. Using the same Class Design, create a Barchart.

Assignment #2: Due(10/2/2004)

  1. Design appropriate classes to perform Matrix Addition and Matrix Multiplication
  2. Design custom exception Handlers for a Boiler class.Throw the custom exception BoilerException when the pressure is more than 2000 units or less than 500 units
    It should have the following Members and Methods.
    Members
    • double pressure
    Methods
    • void Increase(); --> Increase by 100 units
    • void Decrease(); --> Decrease by 100 units
  3. Design a Calculator User Interface that looks exactly like the cacl.exe in Windows

Assignment #1: Due(9/25/2004)

Design the following classes. Choose the appropriate constructors,properties and methods as needed other than the ones mentioned.

  1. Represent a two dimensional Point class
    It will have the following members
    • x
    • y
    Create a method called
    • double Distance(Point otherPoint);

    that returns the distance from the current point to the other point
  2. Design a class called Stack
    It will have the following member
    • int[] data
    Create the follwoing methods
    • void Push(int num);
    • int Pop();
    • int Peek();
    • bool IsFull();
    • bool IsEmpty();

    In order to create the above class you would need to learn about C# arrays.See the Home page for details.
  3. Design a class called Sorter
    It will have the following member
    • int[] data
    Create the follwoing methods
    • void BubbleSort();
    • void SelectionSort();
    • void InsertionSort();
    Create the following Propery
    • public int[] Data

    In order to create the above class you would need to learn about C# arrays.See the Home page for details.
  4. Design a class called Searcher
    It will have the following member
    • int[] data
    Create the follwoing methods
    • int LinearSearch(int searchData); This returns the position of the first occurance in the array
    • int BinarySearch(int searchData); This returns the position of the first occurance in the array

    Create the following Propery
    • public int[] Data

    In order to create the above class you would need to learn about C# arrays.See the Home page for details.

©Copyright 2009 Gavi Narra