.NET Programming with C# (03606353)
PARUL INSTITUTE OF ENGINEERING AND
TECHNOLOGY
DIPLOMA STUDIES
COMPUTER DEPARTMENT
6TH SEMESTER
QUESTION BANK WITH SOLUTION
.NET PROGRAMMING WITH C#
03606353
PIET (DS) Page 1
,.NET Programming with C# (03606353)
UNIT 1
1. Explain .NEt Architecture with its Diagram.
2. Describe the role for CLR.
3. List out the features of .NET programming language.
4. Explain CLR Execution.
5. Give the difference between OOP, POP, Event Driven programming.
6. Explain C# IDE layout.
7. Define: Namespace and write down the namespace classes.
UNIT 2
1. Define Datatype and its types.
2. Explain Type Casting / Type Conversion.
3. Explain Boxing and Un-Boxing with example.
4. Explain Types of Operator.
5. Explain Types of conditional structure.
6. Explain WHILE loop with example.
7. Explain FOR loop with example.
8. Explain DO WHILE loop with example.
9. Explain Jagged array with example.
10. Explain param parameters with example.
11. Explain REF and OUT keywords with example.
12. Explain method Overloading with example.
13. Explain Access Modifier.
UNIT 3
1. Explain MESSAGE BOX with its Syntax and example.
2. Explain INPUT BOX with its Syntax and example.
3. Explain following Controls Properties methods and Events
1. Button
2.TextBox
3.Label
4.CheckBox
5.Radio Button
6.ListBox
7.ComboBox
8. Timer Controller
9.Prograssbar
10.Scroll Bar
4. Explain Font Dialog box with example.
5. Explain Color Dialog box with example.
6. Explain Open Dialog box with example.
PIET (DS) Page 2
,.NET Programming with C# (03606353)
7. Explain Save Dialog box with example.
8. Explain Print Dialog box with example.
UNIT 4
1. Explain Structure Exception handling with example.
2. Explain Unstructured Exception handling with example.
3. Explain Exception classes.
4. Explain Context menu and menu strip with example.
5. Explain MDI form with an example.
6. Explain ADO.Net Architecture with diagram.
Answers
1) Explain .NET Architecture with its Diagram.
Ans: .Net Framework is a software development platform developed by Microsoft for
building and running Windows applications. The .Net framework consists of developer tools,
PIET (DS) Page 3
, .NET Programming with C# (03606353)
programming languages, and libraries to build desktop and web applications. It is also used
to build websites, web services, and games.
.Net Framework Architecture is a programming model for the .Net platform that provides
an execution environment and integration with various programming languages for
simple development and deployment of various Windows and desktop applications. It
consists of class libraries and reusable components.
.NET Components
The architecture of .Net framework is based on the following key components;
1. Common Language Runtime
The “Common Language Infrastructure” or CLI is a platform in .Net architecture on which the
.Net programs are executed.
The CLI has the following key features:
Exception Handling – Exceptions are errors which occur when the application is executed.
Examples of exceptions are:
If an application tries to open a file on the local machine, but the file is not present.
If the application tries to fetch some records from a database, but the connection to
the database is not valid.
Garbage Collection – Garbage collection is the process of removing unwanted resources
when they are no longer required.
Examples of garbage collection are
A File handle which is no longer required. If the application has finished all operations
on a file, then the file handle may no longer be required.
The database connection is no longer required. If the application has finished all
operations on a database, then the database connection may no longer be required.
Working with Various programming languages –
As noted in an earlier section, a developer can develop an application in a variety of .Net
programming languages.
PIET (DS) Page 4
PARUL INSTITUTE OF ENGINEERING AND
TECHNOLOGY
DIPLOMA STUDIES
COMPUTER DEPARTMENT
6TH SEMESTER
QUESTION BANK WITH SOLUTION
.NET PROGRAMMING WITH C#
03606353
PIET (DS) Page 1
,.NET Programming with C# (03606353)
UNIT 1
1. Explain .NEt Architecture with its Diagram.
2. Describe the role for CLR.
3. List out the features of .NET programming language.
4. Explain CLR Execution.
5. Give the difference between OOP, POP, Event Driven programming.
6. Explain C# IDE layout.
7. Define: Namespace and write down the namespace classes.
UNIT 2
1. Define Datatype and its types.
2. Explain Type Casting / Type Conversion.
3. Explain Boxing and Un-Boxing with example.
4. Explain Types of Operator.
5. Explain Types of conditional structure.
6. Explain WHILE loop with example.
7. Explain FOR loop with example.
8. Explain DO WHILE loop with example.
9. Explain Jagged array with example.
10. Explain param parameters with example.
11. Explain REF and OUT keywords with example.
12. Explain method Overloading with example.
13. Explain Access Modifier.
UNIT 3
1. Explain MESSAGE BOX with its Syntax and example.
2. Explain INPUT BOX with its Syntax and example.
3. Explain following Controls Properties methods and Events
1. Button
2.TextBox
3.Label
4.CheckBox
5.Radio Button
6.ListBox
7.ComboBox
8. Timer Controller
9.Prograssbar
10.Scroll Bar
4. Explain Font Dialog box with example.
5. Explain Color Dialog box with example.
6. Explain Open Dialog box with example.
PIET (DS) Page 2
,.NET Programming with C# (03606353)
7. Explain Save Dialog box with example.
8. Explain Print Dialog box with example.
UNIT 4
1. Explain Structure Exception handling with example.
2. Explain Unstructured Exception handling with example.
3. Explain Exception classes.
4. Explain Context menu and menu strip with example.
5. Explain MDI form with an example.
6. Explain ADO.Net Architecture with diagram.
Answers
1) Explain .NET Architecture with its Diagram.
Ans: .Net Framework is a software development platform developed by Microsoft for
building and running Windows applications. The .Net framework consists of developer tools,
PIET (DS) Page 3
, .NET Programming with C# (03606353)
programming languages, and libraries to build desktop and web applications. It is also used
to build websites, web services, and games.
.Net Framework Architecture is a programming model for the .Net platform that provides
an execution environment and integration with various programming languages for
simple development and deployment of various Windows and desktop applications. It
consists of class libraries and reusable components.
.NET Components
The architecture of .Net framework is based on the following key components;
1. Common Language Runtime
The “Common Language Infrastructure” or CLI is a platform in .Net architecture on which the
.Net programs are executed.
The CLI has the following key features:
Exception Handling – Exceptions are errors which occur when the application is executed.
Examples of exceptions are:
If an application tries to open a file on the local machine, but the file is not present.
If the application tries to fetch some records from a database, but the connection to
the database is not valid.
Garbage Collection – Garbage collection is the process of removing unwanted resources
when they are no longer required.
Examples of garbage collection are
A File handle which is no longer required. If the application has finished all operations
on a file, then the file handle may no longer be required.
The database connection is no longer required. If the application has finished all
operations on a database, then the database connection may no longer be required.
Working with Various programming languages –
As noted in an earlier section, a developer can develop an application in a variety of .Net
programming languages.
PIET (DS) Page 4