Answer:
in computer booting is the process of starting a computer it can be initiated By hardware such as button press or by a software command after it is switched on a computer central processing unit ( CPU)
Answer:
D
Explanation:
A is declaring a variable
B is getting input from the user and storing it in variable age
C is outputting the word "age" to the screen
D is outputting the word "age" to the screen and then outputting the value of the age variable immediately after which is correct.
Answer:
The Data Entry is Restricted to Specific Fields, Reducing Errors
Explanation:
No. Using the address will get you either the default site, or the first site declared. Web servers can host VirtualHosts, and rely on the site name to know which VirtualHost to serve. TMI, it's called name based virtual host, as opposed to the machine having many addresses then address based virtual hosts can be created.
Answer:
C++ CODE:
Explanation:
#include <bits/stdc++.h>
using namespace std;
int countSubstringWithEqualEnds(string s)
{
int result = 0;
int n = s.length();
// Iterating through all substrings in
// way so that we can find first and last
// character easily
for (int i=0; i<n; i++)
for (int j=i+1; j<n; j++)
if (s[i] == s[j]) {
if(s[i] == 'A' || s[i] == 'T'){
result++;
for(int k=i;k<=j;k++){
cout << s[k];
}
cout << endl;
}
}
// result++;
return result;
}
// Driver function
int main()
{
string s;
cin >> s;
cout << "Total DFA matched strings::"<< countSubstringWithEqualEnds(s);
return 0;
}
***********************************************************************************************
OUTPUT: