Whenever an exception occurs, Ruby looks for an ____ capable of handling it.

A. error trap
B. exception trap
C. exception handler
D. error handler


Answer: C

Computer Science & Information Technology

You might also like to view...

Which of the following requirements is part of the “Implement strong access control measures” PCI DSS core principle?

A) Restrict access to cardholder data by business need-to know. B) Develop and maintain secure systems and applications. C) Protect all systems against malware and regularly update antivirus software. D) Encrypt transmission of cardholder data across open, public networks. Answer: A

Computer Science & Information Technology

Explain the concept of type consistency of a path expression.

What will be an ideal response?

Computer Science & Information Technology

Critical Thinking QuestionsCase 1-1As you prepare to bring one of the interns in your software development company up to speed on the project on which you are working, you decide to create some illustrations of your programming to make certain key concepts clear to the intern.All of the following are examples of actions within event-driven programs EXCEPT ____. a. An account balance is shown when a button is clicked.c. The computer reboots spontaneously as the result of a head crash.b. A message appears on the screen in response to text entered by the user.d. A text box is reset when a Reset button is clicked.

What will be an ideal response?

Computer Science & Information Technology

Which dynamic trunking mode should be configured if the intention is to have it actively attempt to form a trunk with a connected switch?

A) Dynamic B) Active C) Auto D) Desirable

Computer Science & Information Technology