Some example's of coding affecting real life:
- Robots used in factories. can work in extreme conditions.
- Automatic Heater or Air Conditioner.
- Expert Systems used in for Medical Use.
Answer:
<h2>
Analytical Engine</h2>
Explanation:
Analytical Engine, generally considered the first computer, designed and partly built by the English inventor Charles Babbage in the 19th century (he worked on it until his death in 1871).
Answer:
// here is code in C++.
#include <bits/stdc++.h>
using namespace std;
// recursive function to find sum from 1 to n
int recur_Sum(int n)
{ // base condition
if (n <= 1)
return n;
// recursive call
return n + recur_Sum(n - 1);
}
// main function
int main()
{
// variables
int n;
cout<<"Enter a number:";
// read the number
cin>>n;
// print the sum
cout<<"Sum of first "<<n<<" integer from 1 to "<<n<<" is:"<<recur_Sum(n);
return 0;
}
Explanation:
Read a number from user and assign it to variable "n".Call function recur_Sum() with parameter "n".This function will recursively call itself and find the Sum of first n numbers from 1 to n.Then function will return the sum.
Output:
Enter a number:10
Sum of first 10 integer from 1 to 10 is:55
Answer:
The answer to this question is given below in this explanation section.
Explanation:
"Why the computer is called diligent
Versatile machine"
Computer is called versatile machine because it is used in almost all the fields for various purposes.Because it can perform the task repeatedly without loosing its speed and accuracy for a long time.They are versatile because they can be used for all sorts of task.They can also do many of the same tasks in different ways.Computer is the electronic device which perform the logical and mathematical calculation.Computer is known as the versatile machine because it is very fast in every field and its part of life without it was cannot imagine life.
It can do the work faster and in every field the computer is used for making their work faster.
It can perform the work fast so it is called versatile machine.
Advantages of versatile machine:
- Computer are very fast due to which thousand of job can be performed within the short period of time.
- Complex mathematical problems and logical operations can be solved by using this computer.
- As computer is versatile device,multiple task like communication,graphics,documentation can be done.
Disadvantages of versatile machine:
- Computers are machine hence they have no brain so they work according to the program instruction set inside it.
- It is an electronic deice and it uses electronic sources to work,So it is very risk to store data and information on the computer independently because some electric and electronic damages may damage the data.So we have to make regular backup of the data.