Answer:
Option (e)
Explanation:
Option (e) is the answer. It indicates the exception thrown and displays it. It also indicates the place where the exception was thrown ( at what line of the code the exception was thrown )
Option (a) is false as the program which was terminated because of an exception which was not handled doesn't starts automatically.
Option (b) is false as it doesn't opens a dialogue box about running the program another time or anything. It just terminates because of the unhandled exception.
Option (c) is false as it doesn't saves all the output to a disk file called the "runStackTrace.txt".
Option (d) is false as it doesn't open a dialogue box. The program terminates because of the unhandled exception.
The following is not an interconnector :
A wireless keyboard jack
Explanation:
- An interconnector is a structure which enables energy to flow between networks.
- An electrical or optical connection or cable that connects two separate devices.
- Since a wireless device does not have a cable connecting the two, they are not an interconnector.
- The cable that connects your monitor or hard drive to the computer system is called an interconnect.
- Switches can be used to connect together a number of end-user devices such as workstations, or to interconnect multiple network segments.
- A standard computer system will contain multiple interconnects.
Answer:
# include<iostream>
#include<conio.h>
using namespace std;
main()
{
char choice;
cout<<"Enter your Choice"
cin>>choice;
switch (choice)
{
case 'y':
cout<<"Your request is being processed";
break;
case 'n':
cout<<"Thank you anyway for your consideration";
break;
case 'h':
cout<<"Sorry, no help is currently available";
default:
cout<<"Incorrect Choice";
break;
}
getch();
}
Explanation:
In this program, a character type variable named as choice is selected for the input. This choice variable can be y, n or h as per requirement of the program. Switch statement is chose for the selection of output statement with respect to its mentioned input. This program shows the output statement for above mentioned characters. In case of any other character the program returns Incorrect choice and ends.