SODV 2202- Object Oriented ProgrammingAssignment 1SODV 2202: Object Oriented Programming Fall 2022Assignment 1 (Due Date: October 09th, 2022)DIRECTIONSThis assignment focusses on Exception Handling....



SODV 2202
-


Object Oriented Programming


Assignment 1




SODV 2202
:


Object Oriented Programming


Fall 202
2




Assignment 1


(D
ue Date: October 09
th
, 2022
)




DIRECTIONS




This assignment focusses on


Exception Handling
.


The assignment will marked out of


20
.


The Assignment


contributes to


10


% of your final


course


grade.




Description




Exception Handling


features


in C#


help you deal with any unexpected or exceptional situations that


occur
s


when a program is running


[
1
]
.


It uses the try, catch and finally


keyword


to try actions that may


not be succeeded. You


can learn more about Exception Handling at below:




1.


https://learn.microsoft.com/en
-
us/dotnet/csharp/fundamentals/exceptions/using
-
exceptions





There are many


built
-
in exceptions in C#. You can find the
se


buil
t
-
in exceptions


at the below links:







https://learn.microsoft.com/en
-
us/dotnet/csharp/fundamentals/exceptions/compiler
-


generated
-
exceptions








https://www.tutorialsteacher.com/csharp/csharp
-
exception





F
or this assignment, you need to


familiarize


with any of the 5 exceptions in C#.


Below are the further


details:







You will write a demo program that demonstrate these use of these


five


exceptions.







You can write one program that demonstrate all 5


exceptions, or you can


use five different


programs. (
I suggest to write one program that demonstrates the use of five exceptions)







You should write your own program. You can use the above links for a reference.







Each correct


demonstrations will give you 4 marks.







A correct demonstrations is a demonstrations that when run throw
s


a particular exception. This


exceptions should be caught in the catch block and an appropriate message will be displayed


about that exception.







Try to


use specific exception.




Y
ou can also find the common exceptions at




https://learn.microsoft.com/en
-


us/dotnet/standard/exceptions/





Submission:




You will submit your C# project files in D2L DropBox. No word/pdf document needed for this


assignment




Oct 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here