Tuesday, November 2, 2010

IAP Question(mid sem exams by RJP sir)


  1.  Explain the compilation process of program in .net.
  2.  Differentiate for loop and for each loop of c# with suitable example.
  3.  Explain component of .net with suitable diagram.
  4.  What is enumeration ? Explain with example.
  5.  Explain with example the types of inheritance .
  6.  What is delegate ? compare delegate of .net with call back method of c,c++ and also write to step to create and use delegate.
  7.  Differentiate structure and class with suitable example.
  8.  Explain at least six methods of string class with suitable example.     
  9. True and False:
    1. Logical operator have same level of precedence.
    2. Multi line comment start with /* ---- */.
    3. in C# program we can include multiple main method.
    4. Boxing allow to convert the value type to reference type then again to value type .
    5. Bitwise unary and comperation  overloaded in pack.
    6. Unmanaged code do not run under the control of  CLR.
    7. An assembly is a logical unit that contain non compile code.
  10. Write a program to add two complex number by overloading + operator.(SOLUTION)
  11. Write a program that take a string and a character to be searched from command line input in the string and count the occerance of that character in string and also display the appropriate message. (SOLUTION)

No comments:

Post a Comment