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 19:30, bstine6678
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 1
image
Computers and Technology, 23.06.2019 11:00, shawn20034
This chapter lists many ways in which becoming computer literate is beneficial. think about what your life will be like once you’re started in your career. what areas of computing will be most important for you to understand? how would an understanding of computer hardware and software you in working from home, working with groups in other countries and contributing your talents.
Answers: 1
image
Computers and Technology, 24.06.2019 13:00, angelynb1497
Your mom wants to purchase a laptop computer. she said she wants her new computer to be able to play her dvds so she can listen to music and wants to know what type of optical drives will play her disk. which type of drive should she look for?
Answers: 1
image
Computers and Technology, 24.06.2019 23:00, lovelifekristy
Aselect query joins tables together by their a. table names. b. primary keys. c. first entries. d. field names.
Answers: 2
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:

Konu
Mathematics, 01.05.2021 14:00
Konu
Advanced Placement (AP), 01.05.2021 14:00