0% found this document useful (0 votes)
138 views

C# QP

This document appears to be an exam for a C# Programming and .NET course, outlining important notes and questions that will be covered. It contains two parts (A and B) with multiple choice questions in each part. Questions cover topics such as the .NET platform, C# data types, compiler options, directives, value types vs reference types, object oriented programming concepts, exceptions, garbage collection, interfaces, delegates, assemblies. Students are instructed to answer 5 full questions by selecting at least 2 from each part.

Uploaded by

Kiran Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
138 views

C# QP

This document appears to be an exam for a C# Programming and .NET course, outlining important notes and questions that will be covered. It contains two parts (A and B) with multiple choice questions in each part. Questions cover topics such as the .NET platform, C# data types, compiler options, directives, value types vs reference types, object oriented programming concepts, exceptions, garbage collection, interfaces, delegates, assemblies. Students are instructed to answer 5 full questions by selecting at least 2 from each part.

Uploaded by

Kiran Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

10CS/IS761

USN

Seventh Semester B.E. Degree Examination, June/July 2015


C# Programming and .NET
Time: 3 hrs.

Max. Marks:100

Important Note : 1. On completing your answers, compulsorily draw diagonal cross lines on the remaining blank pages.
2. Any revealing of identification, appeal to evaluator and /or equations written eg, 42+8 = 50, will be treated as malpractice.

Note: Answer FIVE full questions, selecting


at least TWO questions from each part.

PART A
a. Discuss the issues that lead to the genesis of .NET platform. With an example of trivial
calculator, explain the role of common Intermediate language.
(10 Marks)
b. List and explain intrinsic CTS data types and .NET namespaces in C#.
(10 Marks)

a. What is the rule of response files in C# program development using command line compiler
(CSC.exe)
(05 Marks)
b. Give the output centric options of C# complier.
(05 Marks)
c. Explain the role of the following directives in C# with examples.
i) #region and #endregion ii) # if and #endif iii) #line
(10 Marks)

a. Explain C# member variable Initialization syntax.


(04 Marks)
b. Write a program to illustrate the difference between value types and value types and
reference types.
(06 Marks)
c. Give the method parameter modifier and explain each with an example.
(10 Marks)

a. What are the three pillars of object oriented programming in C#? Differentiate between
is a and has a relationships.
(10 Marks)
b. Illustrate with an example, polymorphic support in C#.
(10 Marks)

PART B
a. List and explain with code, the core members of system. Exception type.
(10 Marks)
b. Describe the role of .Net garbage collection, finalization process and AdHoc destonction
method.
(10 Marks)

a. What is an interface? Explain three methods of obtaining interface references with


examples.
(10 Marks)
b. With an example, Explain any four interfaces of system. Collections.
(10 Marks)

a. What asynchronous delegates. Write the source code in C# to illustrate it.


b. Discuss the following advanced keywords in C#.
i) Checked ii) Unchecked iii) Stackalloc iv) Fixed

(10 Marks)
(10 Marks)

a. Differentiate between,
i) Single file and Multifile Assemblies ii) Physical and Logical view of an Assembly.
(10 Marks)

b. Write short notes on :


i) Cross language inheritance. ii) Shared Assemblies.

*****

(10 Marks)

You might also like