Punjab Technical University 2006-3rd Sem M.Sc Information Technology -(IT)C# WITH .NET - Question Paper
Sunday, 14 April 2013 04:15Web
MSI-301
C# WITH .NET
M.SC. (IT) IIIrd Semester (2096)
Time: 3 Hours Max Marks:75
Note: Attempt all ques. in Part A and 9 ques. from Part B. every ques. in Part A & Part B carry two & five marks respectively.
Part A
1. What is .NET framework?
2. How will you add comments in C# program?
3. What is boxing?
4. What is meant by kind conversion?
5. Give an example using?:operator.
6. Give the syntax of foreach statement.
7. What is method overloading?
8. When do we use variable-size arrays?
9. What is meant by regular expression?
10. Give any 2 differences ranging from class and struct?
11. What is this reference?
12. What is multilevel inheritance?
13. What are non-overloadable operators?
14. What is meant by exception?
15. Why do we use console classes?
Part B
16. Compare abstraction and encapsulation.
17. State the features of C#.
18. Give an example using value kinds in C#.
19. Give operator precendence and associativity of C#.
20. When will you use break and continue on statements?
21. Write a program to count the vowels and other characters in a text editing with #.
22. Write a program to convert a 2 dimensional matrix into 1 dimensional column major matrix.
23. Write a program to illustrate multilevel inheritance with virtual methods.
24. Write a program to illustrate overloading of the unary operator.
25. Illustrate use of delegates?
26. What are various numeric formatting possible in C#?
27. How are exceptions handled in C#?
Earning: Approval pending. |