CS345 Test #3 Sample Test
a. The interface IComparable is defined as
int CompareTo(T rhs);
int CompareTo(rhs) returns 0 if the this object is equal to the rhs, a negative number if
this is less than rhs and a positive nu
CS345 Sample Test #2
1.) Compare the different approaches to user interface specification in Window Forms,
Windows WPF, and Android Development.
a. What are the advantages and disadvantages?
b. What are their different approaches to layout management?
CS345 Sample Test
1.) Consider the following function:
void someFunction(ref int first, out float second, ref string third, SomeClass fourth,
int fifth, SomeStruct sixth)
first = 11;
second = 12;
third = 13;
fourth .MyProp = 14;
fifth = 15;
CS345 - Sample Test #2
Write a sequence of instructions that set an instance of the Graphics
class (called graphics) so that it may be used to draw the left half of a
football field using world coordinates, then the right half. The two