Introducing Microsoft Visual C#: Question Bank Dot Net Frame Work For Application DEVELOPMENT (10CS564) Course Outcomes
Introducing Microsoft Visual C#: Question Bank Dot Net Frame Work For Application DEVELOPMENT (10CS564) Course Outcomes
COURSE OUTCOMES
CO1 : Build applications on Visual Studio .NET platform by understanding the syntax and
semantics of C#
CO2 : Demonstrate Object Oriented Programming concepts in C# programming language
CO3 : Design custom interfaces for applications and leverage the available built-in
interfaces in
building complex applications.
CO4 : Illustrate the use of generics and collections in C#
CO5 : Compose queries to query in-memory data and define own operator behavior
MODULE 1
INTRODUCING MICROSOFT VISUAL C#
Sl.
Question CO
No
What is Namespace? How namespace is used to solve name-clashing
1 1
problem, Explain with Example
Describe Method overloading? Explain useful of method overloading with 1
2
Example
3 What is short circuiting using Boolean operators. Explain with Example 1
Explain how to use Boolean expressions with the if and switch statements to 1
4
make decisions in your programs with example
Explain how to use while, for, and do statements to execute code repeatedly 1
5
while some Boolean condition is true with example
Explain the two things you need write exception-aware programs. Explain 1
6 with example how to catch and handle exceptions by using the try and catch
Constructs
a) How to throw an exception if your code detects an exceptional situation. 1
b) How to use a finally block to ensure that critical code always runs, even
7
if an exception occurs
Write a C# program to find minimum value in a set of values that can accept
2 3
any number of arguments by using the params keyword
Write a C# program that can accept any number of arguments of any type by
3 3
using the params keyword in combination with the object type.
4 Write a C# program that compares parameter arrays and optional parameters 3
Explain how to control method hiding and overriding by using the new,
5 3
virtual, and override keywords with example
How to limit accessibility within an inheritance hierarchy by using the
6 3
protected keyword, explain with example
Explain how extension methods used as an alternative mechanism to using
7 3
inheritance with examples
Define an interface specifying the signatures and return types of methods
8 3
with examples
9 What is abstract class? Write a C# program to implement abstract classes. 3
10 What is Sealed Classes? Write a C# program to implement sealed classes. 3
Why use the garbage collector? Explain with example and Explain How does
11 3
the garbage collector work with recommendations?
How the .NET Framework uses it to dispose of objects and reclaim memory.
12 3
Explain with examples
Implement the IDisposable interface in C# to support exception-safe disposal
13 3
in a class
14 What is inheritance? Explain how it is achieved in C# 3
15 Explain the usage of base keyword 3
MODULE 4
Shilpa V, Asst.Prof,CBIT,Kolar Page 4
DEFINING EXTENSIBLE TYPES WITH C#
Sl.
Question CO
No
List the various collection classes used in C#. Explain any three with
1 4
appropriate programs.
What are lambda expressions? Briefly explain the various forms of lambda
2 4
expressions?
11 What are collection classes? List the various collection classes used in C# 4
Briefly explain (i) Stack (ii)Queue (iii) HashSet (iv) SortedList (v)
12 4
Dictionary
MODULE 5