Programming  >  QUESTIONS & ANSWERS  >  SIT 232 Object-Oriented Development Null Reference Exception. Questions and Answers. Score 100% (All)

SIT 232 Object-Oriented Development Null Reference Exception. Questions and Answers. Score 100%

Document Content and Description Below

SIT 232 Object-Oriented Development Null Reference Exception Null Reference Exception 1. What is a possible situation that leads to the exception? A NullReferenceException 2. Who is the charge of ... throwing the exception: you as a programmer or the runtime system? In theory, should you throw exception of this type? Explain your answer. 3. If you need to throw the exception, what details would you provide as a message to the user(caller)? What parameters would you include in the message? 4. Can the exception be generally caught (and therefore handled)? 5. If the exceptions occurs, should you generally catch this exception type or is it better to pass such exception to the user (caller)? It is not enough to say yes or no: you must provide an argument to support your answer. 6. Is the exception a case when you want to avoid this exception to occur in your application in general? If so, what would be your actions as a programmer to avoid it? Index out of Range 1. What is a possible situation that leads to the exception? 2. Who is the charge of throwing the exception: you as a programmer or the runtime system? In theory, should you throw exception of this type? Explain your answer. 3. If you need to throw the exception, what details would you provide as a message to the user(caller)? What parameters would you include in the message? Can the exception be generally caught (and therefore handled)? 5.Is the exception a case when you want to avoid this exception to occur in your application in general? If so, what would be your actions as a programmer to avoid it? Stack overflow 1. What is a possible situation that leads to the exception? 2. Who is the charge of throwing the exception: you as a programmer or the runtime system? In theory, should you throw exception of this type? Explain your answer. 3. If you need to throw the exception, what details would you provide as a message to the user(caller)? What parameters would you include in the message? 4. Can the exception be generally caught (and therefore handled)? 5. If the exceptions occurs, should you generally catch this exception type or is it better to pass such exception to the user (caller)? It is not enough to say yes or no: you must provide an argument to support your answer. 6. Is the exception a case when you want to avoid this exception to occur in your application in general? If so, what would be your actions as a programmer to avoid it? Out of memory of exception 1. What is a possible situation that leads to the exception? 2. Who is the charge of throwing the exception: you as a programmer or the runtime system? In theory, should you throw exception of this type? Explain your answer. 3. If you need to throw the exception, what details would you provide as a message to the user(caller)? What parameters would you include in the message? 4. Can the exception be generally caught (and therefore handled)? 5. If the exceptions occurs, should you generally catch this exception type or is it better to pass such exception to the user (caller)? It is not enough to say yes or no: you must provide an argument to support your answer. 6. Is the exception a case when you want to avoid this exception to occur in your application in general? If so, what would be your actions as a programmer to avoid it? Invalid cast exception 1. What is a possible situation that leads to the exception? 2. Who is the charge of throwing the exception: you as a programmer or the runtime system? In theory, should you throw exception of this type? Explain your answer. 3. If you need to throw the exception, what details would you provide as a message to the user(caller)? What parameters would you include in the message? 4. Can the exception be generally caught (and therefore handled)? 5. If the exceptions occurs, should you generally catch this exception type or is it better to pass such exception to the user (caller)? It is not enough to say yes or no: you must provide an argument to support your answer. 6. Is the exception a case when you want to avoid this exception to occur in your application in general? If so, what would be your actions as a programmer to avoid it? . Divide by zero exception 1. What is a possible situation that leads to the exception? . 2. Who is the charge of throwing the exception: you as a programmer or the runtime system? In theory, should you throw exception of this type? Explain your answer. 3. If you need to throw the exception, what details would you provide as a message to the user(caller)? What parameters would you include in the message? 4. Can the exception be generally caught (and therefore handled)? 5. If the exceptions occurs, should you generally catch this exception type or is it better to pass such exception to the user (caller)? It is not enough to say yes or no: you must provide an argument to support your answer. 6. Is the exception a case when you want to avoid this exception to occur in your application in general? If so, what would be your actions as a programmer to avoid it? Argument Exception 1. What is a possible situation that leads to the exception? 2. Who is the charge of throwing the exception: you as a programmer or the runtime system? In theory, should you throw exception of this type? Explain your answer. 3. If you need to throw the exception, what details would you provide as a message to the user(caller)? What parameters would you include in the message? 4. Can the exception be generally caught (and therefore handled)? 5. If the exceptions occurs, should you generally catch this exception type or is it better to pass such exception to the user (caller)? It is not enough to say yes or no: you must provide an argument to support your answer. 6. Is the exception a case when you want to avoid this exception to occur in your application in general? If so, what would be your actions as a programmer to avoid it? Argument Out Of Range Exception 1. What is a possible situation that leads to the exception? 2. Who is the charge of throwing the exception: you as a programmer or the runtime system? In theory, should you throw exception of this type? Explain your answer. 3. If you need to throw the exception, what details would you provide as a message to the user(caller)? What parameters would you include in the message? 4. Can the exception be generally caught (and therefore handled)? 5. If the exceptions occurs, should you generally catch this exception type or is it better to pass such exception to the user (caller)? It is not enough to say yes or no: you must provide an argument to support your answer. 6. Is the exception a case when you want to avoid this exception to occur in your application in general? If so, what would be your actions as a programmer to avoid it? System Exception 1. What is a possible situation that leads to the exception? 2. Who is the charge of throwing the exception: you as a programmer or the runtime system? In theory, should you throw exception of this type? Explain your answer. 3. If you need to throw the exception, what details would you provide as a message to the user(caller)? What parameters would you include in the message? 4. Can the exception be generally caught (and therefore handled)? 5. If the exceptions occurs, should you generally catch this exception type or is it better to pass such exception to the user (caller)? It is not enough to say yes or no: you must provide an argument to support your answer. 6. Is the exception a case when you want to avoid this exception to occur in your application in general? If so, what would be your actions as a programmer to avoid it? [Show More]

Last updated: 3 years ago

Preview 1 out of 6 pages

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)
Preview image of SIT 232 Object-Oriented Development Null Reference Exception. Questions and Answers. Score 100% document

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Reviews( 0 )

$8.00

Buy Now

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Instant download

Can't find what you want? Try our AI powered Search

78
0

Document information


Connected school, study & course


About the document


Uploaded On

Aug 21, 2022

Number of pages

6

Written in

All

Seller


Profile illustration for QuizMaster
QuizMaster

Member since 6 years

1196 Documents Sold

Reviews Received
185
56
29
11
17
Additional information

This document has been written for:

Uploaded

Aug 21, 2022

Downloads

 0

Views

 78

Document Keyword Tags


$8.00
What is Scholarfriends

Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·