Without a/an Operating system. a computer is useless
Answer:
E)nXML
Explanation:
XML is a short for Extensible Markup Language. It is a markup language like the Hypertext markup language (HTML) and are both used in the development of web applications. However while the HTML describes the content of the Web page that is the graphics, images and videos and how they are displayed, the XML handles the description of data and information formats, their storage and the transportation and sharing over the internet.
Answer:
Explanation:
The constant function is useful in algorithm analysis, because it characterizes the number of steps needed to do a basic operation on a computer, like adding two numbers, assigning a value to some variable, or comparing two numbers. Executing one instruction a fixed number of times also needs constant time only.
Answer:
Second Generation: transistors
Third Generation: integrated circuits
First Generation: vacuum tubes
Explanation:
Generations of computers are categorized based on the technologies that were used in them.
Given innovations or technologies are:
<u>transistors
:</u>
Transistors were introduced in the second generation in place of vacuum tubes.
<u>integrated circuits
:</u>
Integrated circuits were introduced in the third generation. An IC consists of multiple transistors.
<u>vacuum tubes:</u>
The very first generation of computers used vacuum tubes to do the calculations. the only drawback was that the tubes used to heat up very soon.
Hence,
Second Generation: transistors
Third Generation: integrated circuits
First Generation: vacuum tubes
Explanation:
#include<iostream>
#include<string.h>
using namespace std;
char *removestring(char str[80])
{
int i,j,len;
len = strlen(str);
for( i = 0; i < len; i++)
{
if (str[i] == ' ')
{
for (j = i; j < len; j++)
str[j] = str[j+1];
len--;
}
}
return str;
}
int main ()
{
char str[80];
cout << "Enter a string : ";
cin.getline(str, 80);
strcpy(removestring(str), str);
cout << "Resultant string : " << str;
return 0;
}
In this program the input is obtained as an character array using getline(). Then it is passed to the user-defined function, then each character is analyzed and if space is found, then it is not copied.
C++ does not allow to return character array. So Character pointer is returned and the content is copied to the character array using "strcpy()". This is a built in function to copy pointer to array.