Computers and Technology

1. mark the following statements as true or false. a. division by zero is an exception while opening an input file that does not exist is not an exception. b. suppose you use the assert function to check if certain conditions are met. if the conditions are not met, then the assert function terminates the program. c. one way to handle an exception is to print an error message and exit the program. d. all exceptions need to be reported to avoid compilation errors. e. every try block must have a catch block. f. the order in which catch blocks are listed is not important. g. if an exception is thrown in a try block, the remaining statements in that try block are executed after executing a catch block. h. in c , an exception is a value. i. the class invalid range deals with the string subscript out of range error. j. in c , any class can be considered an exception class. k. the exception class must contain at least one member. l. an exception can be caught either in the function where it occurred, or in any of the functions that led to the invocation of the method. m. when the function call stack is unwound, the function in which the exception was not caught terminates, but the memory for its local variables remains allocated.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 17:00, ruddymorales1123
What allows you to create a wireless connection among your smart devices
Answers: 2
image
Computers and Technology, 23.06.2019 23:30, jamalchris9353
Worth 50 points answer them bc i am not sure if i am wrong
Answers: 1
image
Computers and Technology, 24.06.2019 07:00, AnaiyaKirksey8
You are most likely to automatically encode information about
Answers: 1
image
Computers and Technology, 25.06.2019 06:00, Andy769
Shaniya has misspelled a scientific name in her biology report. she needs to correct it, but she has no access to a computer. she plans to use the word app on her phone without an office 365 subscription. can shaniya correct her mistake? why or why not? yes, she can navigate the window and do simple editing. yes, she can use this application for free and navigate the window. no, her document is “read-only,” so she cannot navigate the window. no, her application has limited features and she cannot access the documen
Answers: 1
Do you know the correct answer?
1. mark the following statements as true or false. a. division by zero is an exception while opening...

Questions in other subjects: