Documente Academic
Documente Profesional
Documente Cultură
NET
10IS761
Question Bank
C# Programming and .Net
UNIT 1 The Philosophy of .NET
1. Briefly explain the history of .NET. Explain the building components of .NET and their
responsibilities. 10M (Jan 16/Jan 15)
2. List and explain intrinsic CTS data types and .Net name spaces in C#.?8M (July 15)
3. What is an assembly? Explain each component of an assembly. Differentiate between
single file assembly and Multifile assembly. 8M (Jan 15/Jan 16)
4. Explain with neat diagram, the relationship between .Net runtime layer and base class
library. 8M (July16)
5. Discuss the issues that lead to the genesis of .NET platform? With an example of
calculator explain the role of CIL?10M (July 14/July 15/Jan 15)
6. What defines set rules in .net in order to interact one language with another? Explain with
example. 10M (July 14)
7. Explain the following Terms
(i) CLS (ii) CIL (iii) ASSEMBLY (iv) MANIFEST 10 M(July 16)
Unit-2 Building C# Applications
1. How to build c# application using csc.exe? Write source code to compute the sum,
subtraction and multiplication of two members passed as command line arguments?
10M (July 14)
2. Explain how CSC.exe computer is used to build c# application. Explain any five flags
with appropriate examples. 8 M (Jan16)
3. Explain with a neat diagram, the workflow that takes place between your source code, a
given .Net compiler and the .Net execution engine. 10M (July 14)
4. Explain C# pre-processor directives with examples? 9M (Jan 15/July 15/Jan 16)
5. Write a c# program to display information using system Environment class. 6M
(Jan 15)
6.Write a C# program to accept an integer as command line parameter from user and check
whether it is prime or not. 5M (Jan 15)
7. Give output centric options of C# Compiler.5M (JUL 2015/JUL 16)
Dept. of ISE, SJBIT
Page 1
10IS761
8. What is the rule of response files in c# program development using command line
compiler (CSC.exe)? 5M (July 15)
9. What is command line debugger? List and explain five command line flags recognized
by command line debugger? 8M (Jan 16)
10. Write a note on .NET namespaces in C#? 5M (July 16)
11. Explain how to build visual studio .NET test application that reference external assembly?
8M (July 16)
UNIT 3 C# Language Fundamentals
1. Write a C# program to compute row sum and column sum of the rectangular array? 10 M
(July 14/Jan 15)
2. Explain the core members of System.string with explain? 10M (Jul 14)
3. Explain the method parameter modifiers. Demonstrate with a function definition and
function call for each modifier. 10M
(July 15)
4. Explain the function of system, object class. Give override definition for ToString() and
Equals(). 8M
(Jan 15)
(Jan 16)
7. Distinguish between value types and reference types, with examples. 6M (July 15)
8. What is boxing and unboxing? Explain with examples. 8M (Jan 16/Jan 15)
9. Explain with an example static keyword when used with
(i) Variable (ii) Method (iii) Constructor
6M (Jan 16)
Page 2
10IS761
elements
Page 3
10IS761
8. Write a c# program that will read the name from the keyboard and display it on the screen. The
program should throw an exception when the length of name is more than 15 characters. 10M(July
16)
9. List and explain core members of the system exception type. below would you build
custom exception?10M (July15/Jan 16)
10. What is meant by object life time? Describe the role of .Net garbage collection,
finalization process and Ad Hoc destruction method, with examples. 10M (July15/July 16)
Explain
the
following
interfaces
Icomparable,Iconvertable,Iclonable,Interface
1.
What
10M
are
delegates?
Explain
the
members
of
system.
Multicast
Delegates.
(July 16).
2. Write a program in c# to implement operator over loading of + and for adding subtracting
two square matrices.
3. Explain the two conceptual views of .Net assembly with a neat diagram. What are the core
benefits of this?
Dept. of ISE, SJBIT
10M (Jan15)
Page 4
10IS761
5. Write a complete c# program to compute and display sum, difference and multiplication of two
numbers by writing appropriate methods which could be called through multicast delegate method of
programming? 10M (JULY 14)
6. What are asynchronous delegates? write the source code in c# to illustrate it?10M (July 14/July
15)
7. What is delegate? Differentiate between synchronous and asynchronous delegates with
example?10M (Jan 16)
8. Illustrate the use of Callback Interfaces in a c# program.10M (Jan 16)
9. Write a c# program to following on complex numbers C1 and C2 using operator overloading
C1+C2,C1-C2,C1!=C2?10M(July 16)
UNIT 8 Understanding .NET Assembles:
1. Write short notes on the following:
i) Classic COM binaries versus .Net assemblies
10M(July 14)
Page 5
10IS761
Page 6
10M(July 14)