Answer the following statements true (T) or false (F)
1) Exceptions always are handled in the method that initially detects the exception.
2) User-defined exception classes should extend class SystemException.
3) Accessing an out-of-bounds array index causes the CLR to throw an exception.
4) A finally block is optional after a try block that does not have any corresponding
catch blocks.
5) A finally block is guaranteed to execute.
1) False. Exceptions can be handled by other methods on the method-call stack.
2 False. User-defined exception classes should typically extend class Exception.
3) True.
4) False. A try block that does not have any catch blocks requires a finally block.
5) False. The finally block executes only if program control enters the corresponding
try block
You might also like to view...
Describe three common errors that cause a program to work incorrectly.
What will be an ideal response?
You are to set up Open Shortest Path First (OSPF) routing between all four routers in this network. All routers are to be assigned to area 0. The LAN addresses and subnet assignments for each network are provided in Table 1. You are required to create individual IP assignments for all devices in your network. Additionally, you are to configure the network according to the following specifications. Test your network carefully as you progress and verify that each task has been successfully completed.
Step 1. Prepare a list of IP addresses for each networking device in your network.
Step 2. You are to set the passwords for the console 0, vty 0 4, and enable secret to ciscopress
for each router.
Step 3. You are required to configure a Telnet connection to all routers.
Step 4. The VLAN1 IP address for SW1 should be set to 10.10.10.1.
Step 5. The default gateway address for SW1 should be set 10.10.10.250.
Step 6. The gateway of last resort on all routers should be set to R4’s Fa0/1 IP address.
Step 7. Create OSPF routing for the routers on the network. Use a process ID of 100 and use
area 0 for the backbone.
Step 8. Configure an access list that prevents any pings or Telnet connections to PC1 from any
host in the 10.10.30.0 or 10.10.40.0 network going to the 10.10.10.0 network.
Step 9. Be sure to save your configuration. You will be asked to demonstrate your network to
receive your
Tables must be manually formatted in a VSTO document.
Answer the following statement true (T) or false (F)
Critical Thinking Questions Case 3-1 ? Roberta is troubleshooting the new website that she has created with Dreamweaver. Some of the browsers that Roberta uses to view her website seem to have messed up the spacing of her navigation elements. What should Roberta do to fix this? a.Reinstall the browser.c.Add a zero margin to the various items.b.Stop using fluid grid layouts.d.Set opacity to 0.01 on the overlaid elements.
What will be an ideal response?