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.
Answer:
replace()
Explanation:
The history object in javascript corresponds to browsing history.
It has the following methods for navigating through the history list:
back(): Go back in the history list
forward(): Go forward in the history list
go() : Navigate to the currently pointed url in the history list. It takes a parameter which can either be a numeric index or a string which is matched with the history list content.
replace() is not a method in the history object.
Answer: Collision is defined as the event that takes place when the clash appear due to the information persisting the same hash value get in contact. This mechanism occurring in the hash table is called collision and is dependent on the type of application.
Collision becomes difficult to be avoided in a large set of the hash table as the data set is difficult to be found while in small hash table it is still detectable but cannot be avoided completely.
The predecessor for the Internet is ARPANET . ARPANET was developed under the direction of the U.S. Advanced Research Projects Agency (ARPA) and first published in 1967.It was <span>designed to facilitate communication between ARPA computer terminals .</span>This network was the first fully operational packet-switching network.
Answer:
a tag is a way of representing an HTML element in the program, while an attribute is a way of describing the characteristics of an HTML element.
Explanation: